This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Building glibc 2.19 for OS/ABI UNIX - System V
- From: PaweÅ Sikora <pluto at agmk dot net>
- To: libc-help at sourceware dot org, Shaun Jackman <sjackman at gmail dot com>
- Date: Fri, 25 Jul 2014 08:24:50 +0200
- Subject: Re: Building glibc 2.19 for OS/ABI UNIX - System V
- Authentication-results: sourceware.org; auth=none
- References: <CADX6M3qF-6Wd25Pn2Aa_GjdtGaG6Owp=hieR=TYpnXxSvtSbtA at mail dot gmail dot com>
On Thursday 24 of July 2014 11:54:52 Shaun Jackman wrote:
> Iâm building glibc 2.19 on CentOS 5.10. It built, and that makes me
> happy. It unfortunately doesnât load with the systemâs default loader
> /lib64/ld-2.5.so because the ABI UNIX - Linux is incompatible. How can
> I build glibc 2.19 that has an OS/ABI of UNIX - System V rather than
> UNIX - Linux?
you need to configure gcc in non-standard way to get binaries
compatible with old ld.so.
configure \
--with-linker-hash-style=both
--disable-gnu-unique-object
--disable-initfini-array
with these additional options all should work on ancient rhel/centos.