* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
@ 2004-12-08 16:21 ` pinskia at gcc dot gnu dot org
2004-12-12 21:35 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-08 16:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 16:20 -------
libtool looks like it is messing up.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
2004-12-08 16:21 ` [Bug libstdc++/18889] " pinskia at gcc dot gnu dot org
@ 2004-12-12 21:35 ` pinskia at gcc dot gnu dot org
2004-12-14 16:24 ` mike at tedder dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-12 21:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-12 21:35 -------
Can you attach the config.log that is in libstdc++ directory?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
2004-12-08 16:21 ` [Bug libstdc++/18889] " pinskia at gcc dot gnu dot org
2004-12-12 21:35 ` pinskia at gcc dot gnu dot org
@ 2004-12-14 16:24 ` mike at tedder dot com
2004-12-14 16:24 ` mike at tedder dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: mike at tedder dot com @ 2004-12-14 16:24 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
` (2 preceding siblings ...)
2004-12-14 16:24 ` mike at tedder dot com
@ 2004-12-14 16:24 ` mike at tedder dot com
2004-12-14 16:32 ` mike at tedder dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: mike at tedder dot com @ 2004-12-14 16:24 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
` (3 preceding siblings ...)
2004-12-14 16:24 ` mike at tedder dot com
@ 2004-12-14 16:32 ` mike at tedder dot com
2005-01-06 5:32 ` bkoz at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: mike at tedder dot com @ 2004-12-14 16:32 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
` (4 preceding siblings ...)
2004-12-14 16:32 ` mike at tedder dot com
@ 2005-01-06 5:32 ` bkoz at gcc dot gnu dot org
2005-01-06 6:18 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2005-01-06 5:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bkoz at gcc dot gnu dot org 2005-01-06 05:32 -------
Have you noticed the successful build reports? They are here:
http://gcc.gnu.org/gcc-3.4/buildstat.html
So, this is possible. You just need to figure out how your setup differs from
the successful reports.
I don't see what version of binutils you are using. You might want to specify,
or try something like:
%ld --version
GNU ld version 2.15.92.0.2 20040927
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
` (5 preceding siblings ...)
2005-01-06 5:32 ` bkoz at gcc dot gnu dot org
@ 2005-01-06 6:18 ` pinskia at gcc dot gnu dot org
2005-01-06 13:37 ` mike at tedder dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-06 6:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-06 06:18 -------
Can you try a newer binutils than 2.13.90.0.10, since that is known to have bugs?
And since this is known to work for other people?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
` (6 preceding siblings ...)
2005-01-06 6:18 ` pinskia at gcc dot gnu dot org
@ 2005-01-06 13:37 ` mike at tedder dot com
2005-08-06 15:19 ` pinskia at gcc dot gnu dot org
2005-08-06 18:16 ` mike at tedder dot com
9 siblings, 0 replies; 12+ messages in thread
From: mike at tedder dot com @ 2005-01-06 13:37 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
` (7 preceding siblings ...)
2005-01-06 13:37 ` mike at tedder dot com
@ 2005-08-06 15:19 ` pinskia at gcc dot gnu dot org
2005-08-06 18:16 ` mike at tedder dot com
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-06 15:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-06 15:19 -------
This works for everyone else, I have no idea what your problem is here.
Maybe you are over writting the libtool in GCC which is just wrong, you should be able to just mkdir
objdir;cd objdir;$(srcdir)/configure && make bootstrap && make install and it will just work.
Since this works for me and others I am closing as works for me.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18889
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/18889] Unable to build libstdc++-v3
2004-12-08 16:17 [Bug libstdc++/18889] New: Unable to build libstdc++-v3 mike at tedder dot com
` (8 preceding siblings ...)
2005-08-06 15:19 ` pinskia at gcc dot gnu dot org
@ 2005-08-06 18:16 ` mike at tedder dot com
9 siblings, 0 replies; 12+ messages in thread
From: mike at tedder dot com @ 2005-08-06 18:16 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread