Clang No Longer Transfers --build-id to the Linker by Default
Error Information
1 | ERROR: No build ID note found in xxx.so |
Problem
To avoid extra linker overhead, Clang no longer transfers --build-id to the linker by default.
Solution
Add -Wl,--build-id during compilation of the target source code to temporally transfer --build-id.
Parent topic: Link Problems