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: Shaun Jackman <sjackman at gmail dot com>
- To: PaweÅ Sikora <pluto at agmk dot net>
- Cc: libc-help <libc-help at sourceware dot org>
- Date: Fri, 25 Jul 2014 18:05:20 -0700
- 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> <2987980 dot ndG4oqvTYy at localhost dot localdomain>
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
On 24 July 2014 23:24, PaweÅ Sikora <pluto@agmk.net> wrote:
>
> 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.
Hi, Pawel. The odd thing is, GCC is the only component that I
*haven't* upgraded. I'm using the stock GCC 4.4.7 20120313 (Red Hat
4.4.7-1) that comes with CentOS 5.10. I did however upgrade binutils
to 2.24, because glibc requires binutils at least 2.20. Should I
compile binutils with these options?
Cheers,
Shaun