This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/3] Define libgcc soname in make scripts and not in aheader
On Wed, 11 Apr 2012 23:40:08 -0400, Carlos wrote:
> > I would actually like to revisit the idea of *finding* the soname
> > from the built system since I can't see how it will really break
> > anything.
>
> I'm not against automatic detection of libgcc-so-name, but we need to
> do so in a way that supports the ports, is properly isolated from the
> native system (you may not be building against it), supports
> overriding with config.cache, is cross-compile friendly, and works for
> glibc-ports.
I would definitely prefer this if there aren't any snags that I haven't
thought about. Andreas' patch back in 2009 should be sufficient for
this. It builds a test program that links to libgcc_s and then fishes
out the soname using objdump on the test binary. That should work
across ports.
--
Siddhesh