PATCH: PR libstdc++/25797: [4.2 Regression] almost all libstdc++ tests fail
H. J. Lu
hjl@lucon.org
Thu Jan 19 19:40:00 GMT 2006
On Thu, Jan 19, 2006 at 12:57:48PM -0600, Benjamin Kosnik wrote:
>
> HJ can you send me the relevant parts of config.log with and without
> your patch (for afflicted systems.)
>
> Here's what I see:
>
> configure:8221: checking for ld that supports -Wl,--gc-sections
> configure:8246: /mnt/hd/bld/gcc/./gcc/xgcc -B/mnt/hd/bld/gcc/./gcc/ -B/mnt/hd/bld/H-x86-gcc/i686-pc-linux-gnu/bin/ -B/mnt/hd/bld/H-x86-gcc/i686-pc-linux-gnu/lib/ -isystem /mnt/hd/bld/H-x86-gcc/i686-pc-linux-gnu/include -isystem /mnt/hd/bld/H-x86-gcc/i686-pc-linux-gnu/sys-include -o conftest -x c++ -Werror -Wl,--gc-sections conftest.c >&5
> configure:8252: $? = 0
> configure:8256: test -z
> || test ! -s conftest.err
> configure:8259: $? = 0
> configure:8262: test -s conftest
> configure:8265: $? = 0
> configure:8279: result: yes
With my change, I got the following on ia64:
configure:8221: checking for ld that supports -Wl,--gc-sections
configure:8246: /export/build/gnu/gcc/build-ia64-linux/./gcc/xgcc
-B/export/build/gnu/gcc/build-ia64-linux/./gcc/
-B/usr/gcc-4.2/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.2/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.2/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.2/ia64-unknown-linux-gnu/sys-include -o conftest -x c++
-Werror -Wl,--gc-sections conftest.c >&5
/usr/local/bin/ld: Warning: gc-sections option ignored
configure:8252: $? = 0 configure:8256: test -z
|| test ! -s conftest.err
configure:8259: $? = 0
configure:8262: test -s conftest
configure:8265: $? = 0
configure:8290: result: no
Without my change, it is similar. But the last one is
configure:8290: result: yes
H.J.
More information about the Libstdc++
mailing list