Bug 340331 - ladspa build fails due to missing --build-id flag to ld
ladspa build fails due to missing --build-id flag to ld
Product: Fedora
Classification: Fedora
Component: ladspa (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Vander Stichele
Fedora Extras Quality Assurance
Depends On:
Blocks: fedora-ia64
  Show dependency treegraph
Reported: 2007-10-19 15:11 EDT by Doug Chapman
Modified: 2008-02-22 00:36 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-22 00:36:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to add --build-id flag (520 bytes, patch)
2007-10-19 15:11 EDT, Doug Chapman
no flags Details | Diff

  None (edit)
Description Doug Chapman 2007-10-19 15:11:35 EDT
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):

How reproducible:

Steps to Reproduce:
On a build system with Fedora 8 T3 or later
1. build the ladspa rpm using rpmbuild
Actual results:

Expected results:

Additional info:
Comment 1 Doug Chapman 2007-10-19 15:11:35 EDT
Created attachment 232961 [details]
patch to add --build-id flag
Comment 2 Roland McGrath 2007-10-19 16:18:59 EDT
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.
Comment 3 Doug Chapman 2008-02-22 00:36:13 EST
now building in rawhide, closing.

Note You need to log in before you can comment on or make changes to this bug.