[Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler

2009-02-09 Thread jzb2 at aexorsyst dot com
--- Comment #12 from jzb2 at aexorsyst dot com 2009-02-09 20:25 --- So it appears that the root cause of this issue is the long standing libtool DESTDIR problem. I've reworked the original patch above into to following, which works with my ./configure options: Index: gcc_native-4.2.2

[Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler

2009-02-02 Thread jzb2 at aexorsyst dot com
--- Comment #10 from jzb2 at aexorsyst dot com 2009-02-02 09:31 --- I can confirm this is a real problem. I have hit this exact same bug on gcc-4.2.2. However, one difference in my setup is that I _do_ have libstdc++.so available as part of my cross toolchain, with the result

[Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler

2009-02-02 Thread jzb2 at aexorsyst dot com
--- Comment #11 from jzb2 at aexorsyst dot com 2009-02-02 16:26 --- Well, I answered my own question, sort of... In my /usr/bin/libtool, in the CXX tag section, I have postdeps=-lstdc++ -lm -lgcc_s -lc -lgcc_s so voila, that's where it comes from, probably. So this issue can now