我要评分
获取效率
正确性
完整性
易理解

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.