Summary: | dev-libs/gdome2 ignores LDFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Sachau <tommy> |
Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | esigra, treecleaner |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 415735, 415737, 415741, 415743 | ||
Bug Blocks: | 331933 | ||
Attachments: | build.log |
Description
Thomas Sachau
2012-05-13 09:40:06 UTC
Created attachment 311605 [details]
build.log
I cannot reproduce and don't get the LDFLAGS QA warning, maybe this is a multilib overlay problem :-/ You dont get the LDFLAGS QA warning, because the link line does contain "-Wl,--hash-style=gnu". Additionally it contains "-Wl,--as-needed", so unless you set some additional/different LDFLAGS, you wont see the issue, since our default LDFLAGS content is used in their linker arguments. Try adding e.g. -m64 (for 64bit) or -m32 (for 32bit) to your LDFLAGS and watch that line, it should not show those additional flags. In that case a patch is needed because I have checked some other distributions packages and looks like none of them include a fix for ldflags :( Looks like we could treeclean this old stuff without much effort I cant' reproduce it on -r4 /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -ftracer -frecord-gcc-switches -Wl,-O1 -Wl,--hash-style=gnu,--enable-new-dtags -Wl,--as-needed -o test-importnode test-importnode.o ../libgdome/libgdome.la -lxml2 -lz -lm -ldl -lglib-2.0 /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -ftracer -frecord-gcc-switches -Wl,-O1 -Wl,--hash-style=gnu,--enable-new-dtags -Wl,--as-needed -o bench bench.o ../libgdome/libgdome.la -lxml2 -lz -lm -ldl -lglib-2.0 x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -ftracer -frecord-gcc-switches -Wl,-O1 -Wl,--hash-style=gnu -Wl,--enable-new-dtags -o .libs/test-treegc test-treegc.o -Wl,--as-needed ../libgdome/.libs/libgdome.so -lxml2 -lz -lm -ldl -lglib-2.0 -Wl,--rpath -Wl,/usr/lib64 ... My LDFLAGS seems to be respected and I see no QA warnings. Closing as WORKSFORME |