This is the mail archive of the
mailing list for the glibc project.
Re: RFC: Generate lib-names.h and stubs.h from ABI-LIST
On Thu, May 24, 2012 at 5:11 PM, Roland McGrath <email@example.com> wrote:
>> 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?
> Potentially you can use %ifdef for this.
> I think something along the lines of Joseph's idea will be the eventual way
> to go. ?But I think it is probably too much disruption and too many details
> still to be figured out to do all that for 2.16.
%ifdef may not work since we need all 3 to generate lib-names.h