This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/25859] gnatmake: error while loading shared libraries: libgcc_s.so.4: cannot open
- From: "charlet at adacore dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2006 15:53:35 -0000
- Subject: [Bug bootstrap/25859] gnatmake: error while loading shared libraries: libgcc_s.so.4: cannot open
- References: <bug-25859-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from charlet at adacore dot com 2006-01-19 15:53 -------
Subject: Re: New: gnatmake: error while loading shared libraries:
libgcc_s.so.4: cannot open
> This doesn't happen on the trunk.
The following from ada/Makefile.in is supposed to take care of that:
GCC_LINK="$(CC) -static-libgcc $(ADA_INCLUDES)"
(and uses of $(GCC_LINK) elsewhere in the tools).
Basically we certainly do *not* want to link with libgcc_s, in particular
to avoid this kind of nightmare.
This was fixed as part of:
2005-02-09 Arnaud Charlet <charlet@adacore.com>
PR ada/16592
* Makefile.in: Link all gnat tools with -static-libgcc, since
-shared-libgcc is now used by default on some systems (e.g. linux with
recent binutils).
I am surprised that there's a regression between 4.1 and trunk here.
Arno
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25859