This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: hppa cvs glibc [one more problem -->binutils ?]
- From: Balint Cristian <rezso at rdsor dot ro>
- To: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 15 Nov 2004 23:43:47 +0200
- Subject: Re: hppa cvs glibc [one more problem -->binutils ?]
- References: <200411041244.08789.cristian.balint@oradea.rdsnet.ro> <20041109174939.GI12331@baldric.uwo.ca>
On Tuesday 09 November 2004 19:49, Carlos O'Donell wrote:
> Cristian,
>
> > Reading this:
> > http://lists.parisc-linux.org/pipermail/parisc-linux/2003-March/019576.html
> >
> > I realize the never was fixed at last, still got this error:
> > http://lists.parisc-linux.org/pipermail/parisc-linux/2003-March/019572.html
>
> a. What CVS date are you using for glibc?
> b. Which hppa patch are you using?
>
> http://www.parisc-linux.org/~carlos/glibc-work/
Thanks !
20041030 patch worked against 20041027-glibc tarball from CVS with this:
../configure --prefix=/usr/hppa-redhat-linux --target=hppa-redhat-linux --host=hppa-redhat-linux --build=x86_64-linux --enable-shared --disable-threads --
enable-add-ons=linuxthreads --with-tls --enable-kernel=2.4.18 --without-cvs --disable-gd
This builded till the end.
But,
One more problem:
binutils for hppa [latest from CVS], i think binutils build wrong elf entry:
Lets see a elfutils strip test:
----------------------//----------------------------------->
[root@yoda Test]#eu-strip ld-2.3.3.so
eu-strip: while writing `ld-2.3.3.so': invalid section entry size
---------------------//------------------------------------>
This ld-2.3.3.so library is the glibc which one I cross builded for hppa target [by version/patch sugested by you Carlos], while build a crossplatform rpm of glibc for parisc
at final packaging the rpm mechanism use eu-strip [from elfutils tool] to strip apart elf binary and *.debuginfo in two separate file,
but it fail with "eu-strip: while writing `ld-2.3.3.so': invalid section entry size"
I belive that is an binutils bug, as a comparasion when i hitted this bug on sparc machines too a while ago and Jakub Jelinek fixed this isue in binutils.
Any suggestion/advice ?
Please correct me if I am wrong.
I used:
gcc-3.3.4, binutils-[from late October CVS], latest elfutils, and i use x86_64 host machine, but eu-strip is transparent
when it strip down.
As remark i successfuly sripped arm/mips elf binaries on my x86_64 but hppa fail.
~cristian
PS:
excuse my poor english, latin native language here :)