Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241946 - x11-misc/habak: --as-needed "fix" is just breaking the build further
Summary: x11-misc/habak: --as-needed "fix" is just breaking the build further
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2008-10-14 12:34 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-11-13 23:28 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-14 12:34:31 UTC
The current --as-needed "fix" in the ebuild is making the build of habak worse, since you're moving LDFLAGS from just after the compiler to the end, so that they are _ignored_ for all the object files and libraries (LDFLAGS are positional: they only work for the inputs coming _after_ them).

If you look at the --as-needed fixing guide there's the proper order of parameters in a linking call to the compiler. In the mean time I'd suggest to remove that "fix" and let the package fail rather than hiding a bug.

Comment 1 Łukasz Damentko (RETIRED) gentoo-dev 2008-10-30 16:12:45 UTC
Reassigning to maintainer-needed since lucass has left Gentoo, bug #50581"
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-13 23:28:21 UTC
Closing this since I reopened the other one and reverted the so-called fix.