Red Hat Bugzilla – Bug 340331
ladspa build fails due to missing --build-id flag to ld
Last modified: 2008-02-22 00:36:13 EST
Description of problem:
In Fedora 8 all binaries are required to have the build id info. Gcc will
automatically pass the --build-id flag to ld however packages that call ld
directly need to specifically add the --build-id flag. Without this rpmbuild
fails on the find-debuginfo.
It fails with:
*** ERROR: No build ID note found in
Version-Release number of selected component (if applicable):
Steps to Reproduce:
On a build system with Fedora 8 T3 or later
1. build the ladspa rpm using rpmbuild
Created attachment 232961 [details]
patch to add --build-id flag
Wrong fix. Don't use ld directly at all. There are other problems with this,
and missing --build-id is just the new one that makes us the notice the package
behaving badly. This common case was mentioned when I posted to
fedora-devel-list about the whole subject. Use $(CC) -shared instead of $(LD)
-shared, send that change upstream.
now building in rawhide, closing.