Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128443 - pretrace-0.4 fails to compile with --as-needed (patch included)
Summary: pretrace-0.4 fails to compile with --as-needed (patch included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Tavis Ormandy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-04-01 14:57 UTC by Mike Auty (RETIRED)
Modified: 2006-05-16 12:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pretrace-0.4-as-needed.patch (pretrace-0.4-as-needed.patch,511 bytes, patch)
2006-04-01 14:58 UTC, Mike Auty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2006-04-01 14:57:55 UTC
pretrace-0.4 fails to compile correctly with LDFLAGS="-Wl,--as-needed" because the library is included before the object file that uses it (so as-needed strips it out).

One patch to follow.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2006-04-01 14:58:55 UTC
Created attachment 83661 [details, diff]
pretrace-0.4-as-needed.patch

Patch for --as-needed failure in pretrace-0.4
Comment 2 rob holland (RETIRED) gentoo-dev 2006-04-28 18:45:37 UTC
fixed upstream in svn. re-assining to tavis to fix the ebuild. thanks for the report/patch :)
Comment 3 Tavis Ormandy (RETIRED) gentoo-dev 2006-05-16 12:32:36 UTC
fixed in cvs, thanks!