This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR ada/16592: Ada tools don't use the newly built shared libraries


On Mon, Jul 19, 2004 at 11:16:01AM +0200, Arnaud Charlet wrote:
> > This patch exports the shared library directories so that the newly
> > built shared libraries will be used by Ada tools and testsuite.
> 
> This is not OK: the gnat tools are intentionally *not* built against
> shared libraries, so this extra complexity is not needed, and
> I do not understand (nor could reproduce) PR ada/16592: there is
> no shared lib dependency when I do a ldd on gnat tools, as I would
> expect, so I suspect a set up/config issue for this PR instead, or
> something platform specific.
> 
> In any case, more investigation is needed on this PR to understand where
> the dependency on libgcc_s.so is come from.
> 

It is becauses ./ada/rts/raise.o uses unwind functions. With this
patch:

http://gcc.gnu.org/ml/gcc-patches/2004-03/msg02214.html

and a newer binutils, anything which calls unwind functions will
be linked against libgcc_s.so.1. You will see it with linker in Red
Hat Fedora Core 2 or the current Linux bnutils from

http://www.kernel.org/pub/linux/devel/binutils/


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]