This is the mail archive of the libc-help@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: Building glibc 2.19 for OS/ABI UNIX - System V


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


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