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

Bug 226929

Summary: sys-libs/timezone-data: append-ldflags is used to pass libraries
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 226863    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 18:26:22 UTC
I've made append-ldflags throw a warning when libraries are passed through it
to link them in.

The reason is that LDFLAGS should _not_ be used for libraries, as it has to be
positioned before the list of objects to link together, while libraries should
go after.

This mistake in commandline is what causes as-needed to either fail or not
apply at all (if LDFLAGS are put at the end).

Please fix your package not to pass libraries through LDFLAGS.
Comment 1 SpanKY gentoo-dev 2008-06-22 10:39:34 UTC
the bsd guys made the mess, they can fix it (Bug 154181)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-10-14 09:51:34 UTC
I just fixed this now anyway.