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 aheader


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


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