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

Bug 168207

Summary: x11-drivers/ati-drivers-8.34.8 breaks build with --as-needed
Product: Gentoo Linux Reporter: Alex <nesl247>
Component: New packagesAssignee: Marien Zwart (RETIRED) <marienz>
Severity: trivial CC: ikelos, lu_zero
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: log of the build error
Fixes argument order to allow --as-needed to work

Description Alex 2007-02-24 02:12:43 UTC
Upon attempting to build ati-drivers-8.34.8 with --as-needed LDFLAG, the build fails.

Reproducible: Always
Comment 1 Alex 2007-02-24 02:13:39 UTC
Created attachment 111103 [details]
log of the build error
Comment 2 Alexandra Parker 2007-02-24 22:12:57 UTC
Created attachment 111156 [details, diff]
Fixes argument order to allow --as-needed to work

So much for gcc's manual page; the order of options does seem to matter, at least with this option.
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2007-02-24 22:59:57 UTC
Applied, thanks for the patch!