This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 2/3] Define libgcc soname in make scripts and not in a header


On Wed, Apr 11, 2012 at 11:51 PM, Siddhesh Poyarekar
<siddhesh@redhat.com> wrote:
> 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.

Given the right options passed to the compiler to compile the test
program, yes, I would agree.

I don't know why we rejected Andreas' patch in 2009.

Cheers,
Carlos.


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