public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Florin Boariu <florin@bnv-bamberg.de>
To: crossgcc@sources.redhat.com
Subject: eprintf hates me
Date: Fri, 08 Dec 2000 18:04:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.21.0012090220290.4744-100000@wolverine> (raw)

Hi!

On my i586-pc-linux-gnu I set up a cross-compiling environment for a
powerpc-g3-linux-gnu, which seems to work (I can compile a kernel and boot
it w/o any problems). But I'm having big difficulties in compiling a
native compiler (gcc-2.95.2) on my i586 to run on the g3. The following
error gives me headaches (I posted only the tail -- the whole 2> is about
200k, all about __eprintf):

where.o: In function `ffewhere_line_filelinenum':
/usr/src/sources/lppc/compile/gcc-obj/gcc/f/../../../gcc-2.95.2/gcc/f/where.c:219: relocation truncated to fit: R_PPC_REL24 __eprintf
where.o: In function `ffewhere_line_kill':
/usr/src/sources/lppc/compile/gcc-obj/gcc/f/../../../gcc-2.95.2/gcc/f/where.c:235: relocation truncated to fit: R_PPC_REL24 __eprintf
where.o: In function `ffewhere_line_use':
/usr/src/sources/lppc/compile/gcc-obj/gcc/f/../../../gcc-2.95.2/gcc/f/where.c:333: relocation truncated to fit: R_PPC_REL24 __eprintf
collect2: ld returned 1 exit status
make[2]: *** [../f771] Error 1
make[1]: *** [f771] Error 2
make: *** [all-gcc] Error 2

The configuration was done by:

gcc-obj $ ../gcc-2.95.2/configure --host=powerpc-g3-linux-gnu --build=i586-pc-linux-gnu --target=powerpc-g3-linux-gnu --enable-static-link --with-newlib

I also tried to --enable-languagues="c" since the error seems to appear
when compiling the f77 compiler (or am I wrong?), but then gcc doesn't get
built either... very strange.

I need the --enable-static-link option because the target system does not
have a libc yet.

Does anybody have any idea about what I'm doing wrong?

best regards,
florin.


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

             reply	other threads:[~2000-12-08 18:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-08 18:04 Florin Boariu [this message]
2000-12-11  8:17 ` jfaith
2000-12-11  9:29   ` Florin Boariu
2000-12-11 11:29   ` Andris Pavenis

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=Pine.LNX.4.21.0012090220290.4744-100000@wolverine \
    --to=florin@bnv-bamberg.de \
    --cc=crossgcc@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).