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
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 6 Apr 2012 15:52:05 +0000 (UTC)
- Subject: Re: [PATCH 2/3] Define libgcc soname in make scripts and not in aheader
- References: <20120406191422.7e4e08c9@spoyarek>
On Fri, 6 Apr 2012, Siddhesh Poyarekar wrote:
> Hi,
>
> Currently the libgcc soname is defined in a header file
> sysdeps/generic/libgcc_s.h. This is not available to any non-code
> components and hence needs to be moved to the make scripts to make it
> more widely available. This patch does just that.
As I recall, when libgcc_s.h was added there was a discussion of another
possible approach, putting this soname in shlib-versions files. Perhaps
you could find that discussion and post references with an analysis of the
arguments made at the time and how the approaches compare? Because that
approach does seem quite a natural one for providing this structured
information.
> This really only requires a build test since I have only moved the
> definition of a macro, so I have done that for x86. I had access to an
In any case, it would seem desirable to test for a port that uses a
nondefault soname here, making sure that a sysdeps definition of this
value using the new mechanism does work properly. There are two such
ports in the ports repository, hppa and m68k.
--
Joseph S. Myers
joseph@codesourcery.com