public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Balint Cristian <rezso@rdsor.ro>
To: Carlos O'Donell <carlos@baldric.uwo.ca>
Cc: binutils@sources.redhat.com
Subject: Re: hppa cvs glibc [one more problem -->binutils ?]
Date: Mon, 15 Nov 2004 21:44:00 -0000	[thread overview]
Message-ID: <200411152343.49124.rezso@rdsor.ro> (raw)
In-Reply-To: <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 :)

           reply	other threads:[~2004-11-15 21:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20041109174939.GI12331@baldric.uwo.ca>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411152343.49124.rezso@rdsor.ro \
    --to=rezso@rdsor.ro \
    --cc=binutils@sources.redhat.com \
    --cc=carlos@baldric.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).