[Bug libstdc++/18889] Unable to build libstdc++-v3
mike at tedder dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 6 13:37:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list