RFC: Generate lib-names.h and stubs.h from ABI-LIST

Joseph S. Myers joseph@codesourcery.com
Thu May 24 22:54:00 GMT 2012


On Thu, 24 May 2012, H.J. Lu wrote:

> > Put them all in sysdeps/x86/shlib-versions, where sysdeps/x86 is a new
> > directory shared by all three ABIs (we know we want such directories
> > anyway to get them all using the same installed headers).
> >
> 
> sysdeps/x86_64/64/shlib-versions has
> 
> x86_64-.*-linux.*	DEFAULT			GLIBC_2.2.5
> x86_64-.*-linux.*	ld=ld-linux-x86-64.so.2	GLIBC_2.2.5
> 
> sysdeps/x86_64/x32/shlib-versions has
> 
> x86_64-.*-linux.*	DEFAULT			GLIBC_2.16
> x86_64-.*-linux.*	ld=ld-linux-x32.so.2	GLIBC_2.16
> x86_64-.*-.*		ABI			x32-@OS@
> 
> Which one to use for x86-64 and x32 builds?

See what I suggested in 
<http://sourceware.org/ml/libc-alpha/2012-05/msg01022.html>: keying 
shlib-versions contents off the name of a variant rather than a triplet, 
since once they are in sysdeps directories they'll no longer need the 
triplet name as it stands at present.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list