public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Thorsten Kukuk <kukuk@suse.de>,
	GNU libc hacker <libc-hacker@sources.redhat.com>
Subject: Re: problems with sparc32 build
Date: Fri, 31 Jan 2003 08:15:00 -0000	[thread overview]
Message-ID: <u8fzr94tvq.fsf@gromit.moeb> (raw)
In-Reply-To: <20030130104538.R17910@sunsite.ms.mff.cuni.cz> (Jakub Jelinek's message of "Thu, 30 Jan 2003 10:45:38 +0100")

Jakub Jelinek <jakub@redhat.com> writes:

> That obviously needs to be changed to -fcall-used-g6 when the roles of the
> 2 registers swapped.

Thanks, that helped.  Now it's failing in a different place but this
looks like a binutils bug:

CPP='gcc -m32 -E -x c-header'  /usr/src/packages/BUILD/glibc-2.3/cc/elf/ld-linux.so.2 --library-path /usr/src/packages/BUILD/glibc-2.3/cc:/usr/src/packages/BUILD/glibc-2.3/cc/math:/usr/src/packages/BUILD/glibc-2.3/cc/elf:/usr/src/packages/BUILD/glibc-2.3/cc/dlfcn:/usr/src/packages/BUILD/glibc-2.3/cc/nss:/usr/src/packages/BUILD/glibc-2.3/cc/nis:/usr/src/packages/BUILD/glibc-2.3/cc/rt:/usr/src/packages/BUILD/glibc-2.3/cc/resolv:/usr/src/packages/BUILD
/glibc-2.3/cc/crypt:/usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads /usr/src/packages/BUILD/glibc-2.3/cc/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /usr/src/packages/BUILD/glibc-2.3/cc/sunrpc/xbootparam_prot.T
/usr/src/packages/BUILD/glibc-2.3/cc/sunrpc/rpcgen: error while loading shared libraries: /usr/src/packages/BUILD/glibc-2.3/cc/libc.so.6: unexpected reloc type 0x08

$ readelf -r libc.so.6 |grep R_SPARC_WDISP22
Relocation section '.rela.dyn' at offset 0x11ec4 contains 3498 entries:
 Offset     Info    Type            Sym.Value  Sym. Name + Addend
[...]
000c0208  00000a08 R_SPARC_WDISP22   0001c5c0   .text + c0180

Might be a bug in binutils's hidden support (this is version
2.13.90.0.18),

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

  reply	other threads:[~2003-01-31  8:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29 19:56 Andreas Jaeger
2003-01-29 21:25 ` Jakub Jelinek
2003-01-29 22:05   ` Thorsten Kukuk
2003-01-30  9:45     ` Jakub Jelinek
2003-01-31  8:15       ` Andreas Jaeger [this message]
2003-02-01 11:27         ` Jakub Jelinek
2003-02-02 23:46           ` [PATCH] " Jakub Jelinek
2003-02-04  8:41             ` Ulrich Drepper

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=u8fzr94tvq.fsf@gromit.moeb \
    --to=aj@suse.de \
    --cc=jakub@redhat.com \
    --cc=kukuk@suse.de \
    --cc=libc-hacker@sources.redhat.com \
    /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).