Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128443

Summary: pretrace-0.4 fails to compile with --as-needed (patch included)
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Tavis Ormandy (RETIRED) <taviso>
Severity: minor CC: flameeyes, taviso
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: pretrace-0.4-as-needed.patch

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]

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!