This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/54820] [4.8 Regression] ada: cannot find -lstdc++ since 4.8.0 20121002
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Oct 2012 07:23:05 +0000
- Subject: [Bug bootstrap/54820] [4.8 Regression] ada: cannot find -lstdc++ since 4.8.0 20121002
- Auto-submitted: auto-generated
- References: <bug-54820-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54820
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu.se
--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-09 07:23:05 UTC ---
(In reply to comment #1)
> What has changed is that now -static-libstdc++ is used, in addition to
> -static-libgcc, to fix other builds failures since the switch to g++ by
> default.
>
> So I guess this would mean that you do NOT have a static libstdc++ with your
> base
> C++ compiler?
I got the same error on arm-linux-gnueabi; the system compiler had installed
the shared but not the static libstdc++ libraries.
On that machine, the entire user-space is built without any static libstdc++
libraries, so it's quite annoying (and unexpected) to have to install them for
Ada bootstrap. Couldn't Ada use the g++/libstdc++ bits from the compiler being
built?