Bruce Lee's Notes

Systems, programming, and engineering practice

The Compiler Moved. Its Lookup-Table Module Didn’t Get the Address

Use real functionality and missing-resource tests to validate relocation.

Series contents · Engineering and Delivery · 阅读中文版 The tool works in the development directory. Unpack its installation bundle somewhere else and convolution still works; several simple operators w......

The Library Is in the Package. Why Can’t the Program Find It?

Connect real library files, SONAMEs, linker names, and runtime search paths.

Series contents · Engineering and Delivery · 阅读中文版 “Just copy the missing shared library into the package.” Ten minutes later, loading still fails. The directory definitely contains libcompute.so.4......

One Version of the Headers, Another Version of the Generator

Headers, libraries, generators, and caches jointly determine toolchain identity.

Series contents · Engineering and Delivery · 阅读中文版 “I fixed the LLVM path. Why does the generated code still fail to compile?” The configuration log reports the right dependency directory. The comp......

“I Only Rebuilt It.” Why Did the Installation Directory Disappear?

Define the responsibilities and failure states of environment setup, builds, and installation.

Series contents · Engineering and Delivery · 阅读中文版 A colleague wants to verify a two-line change. They run the build script, and compilation fails halfway through. No disaster: use the previously i......

Debug Works, but Release “Optimizes Away” a Write

A required write hidden in an assertion disappears when checks are disabled.

Series contents · Engineering and Delivery · 阅读中文版 “The model compiles, but only the release build cannot find the newly generated constant.” That sentence can send an investigation down an expensi......