[Bug libstdc++/18889] Unable to build libstdc++-v3
--- Comment #11 from mike at tedder dot com 2007-02-12 10:45 --- Whatever this bug was in 3.4.3, does not occur or has been fixed in gcc-3.4.6 or gcc-4.1.1. Both of these compile bootstrap without any problems. For the record (and just to make sure it wasn't anything specific with my setup), after successfully building with 3.4.6, trying to make bootstrap on 3.4.3 again results in the above compilation error when trying to build libstdc++-v3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
[Bug libstdc++/18889] Unable to build libstdc++-v3
--- Additional Comments From mike at tedder dot com 2005-08-06 18:16 --- I wouldn't have opened this bug if the standard configure && make bootstrap && make install had worked in the first place. It might have helped more if you had asked me more questions about my system and/or configuration instead of just saying "it works for me". My suggestion of updating the libtool included with gcc was only that -- a suggestion. While it may be "wrong", it did fix the linker errors, so I simply let everyone know what I had found out. I have plans to upgrade to gcc-4.0.1 in the near future. If I still have the same problem, I will be opening a new bug report. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
[Bug libstdc++/18889] Unable to build libstdc++-v3
--- Additional Comments From mike at tedder dot com 2005-01-06 13:37 --- Sorry for the late reply. Yes, I've noticed that gcc-3.4.0 and 3.4.1 has been successfully built for powerpc, which is why I figured I might have done something wrong. I upgraded to binutils-2.14 and glibc-2.3.3. Still, libstdc++-v3 would not successfully build. I looked through the link process, and found what .o files were causing the multiple definition errors, and determined that libtool was calling gcc incorrectly (as Andrew mentioned). As a test, I then downloaded and built libtool-1.5.10 locally, and when libstdc++-v3 failed to link, I overwrote the libtool script included with gcc (looks to be "1.4a-GCC3.0") with the one installed in /usr/bin, and ran make again. Aside from getting a "libtool: ignoring unknown tag CXX" error, libstdc++-v3 linked fine. I can compile, link, and run C++ programs which use the stdc library without problems. After continuing the build process, libjava also ran into exactly the same problem. Replacing libtool and running make again made the build process complete successfully. So... it looks like the version of libtool included with gcc just needs a small version up, perhaps? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
[Bug libstdc++/18889] Unable to build libstdc++-v3
--- Additional Comments From mike at tedder dot com 2004-12-14 16:23 --- Created an attachment (id=7740) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7740&action=view) requested config.log from failed compile taken from "/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/libstdc++-v3" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
[Bug libstdc++/18889] Unable to build libstdc++-v3
--- Additional Comments From mike at tedder dot com 2004-12-14 16:31 --- I attached the config.log file you requested. I wasn't sure if you were interested in the one also located in nof/, so I attached them both. If it matters at all, I'm using binutils-2.13.90.0.10 (built with gcc-3.4.3) and glibc-2.2.3. Let me know if I can be of any more help. I'm still trying to trace it down on my end here. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
[Bug libstdc++/18889] Unable to build libstdc++-v3
--- Additional Comments From mike at tedder dot com 2004-12-14 16:24 --- Created an attachment (id=7741) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7741&action=view) requested config.log from failed compile (in nof) taken from "/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/nof/libstdc++-v3" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
[Bug libstdc++/18889] New: Unable to build libstdc++-v3
c++-v3/src' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/ nof/libstdc++-v3' make[5]: *** [all] Error 2 make[5]: Leaving directory `/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/ nof/libstdc++-v3' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/ libstdc++-v3' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/ libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/gcc-3.4.3-objdir/powerpc-unknown-linux-gnu/ libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/usr/src/gcc-3.4.3-objdir' make: *** [bootstrap] Error 2 bash-3.00:/usr/src/gcc-3.4.3-objdir$ configure (in this particular case) was run with: ../gcc-3.4.3/configure --with-cpu=603 --enable-languages=c,c++ --disable- checking --disable-altivec I previously tried configure with no options and got the same result. Previous versions of GCC (3.3.3 and 3.4.0) both resulted in this same problem -- however I did not need a c++ compiler at the time, so I simply specified 'c' for enable- languages and left it at that. I've tried searching around for anything related to this and haven't had any luck -- am I the only one? :/ Thanks to anyone who can help out. -- Summary: Unable to build libstdc++-v3 Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mike at tedder dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-unknown-linux-gnu GCC host triplet: powerpc-unknown-linux-gnu GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889