To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1201
1200  |  1202
Subject: 
LinuxPPC gcc errors
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 11 Jul 2000 03:37:28 GMT
Viewed: 
1635 times
  
Ok, I have some error messages here. I'm following the exact instructions
in the HOWTO, except for using gcc 2.95.2 instead of egcs 1.1.2. I recall
trying egcs with similar results.

The make proceeds fine for a while. Then I get this message, and lots of
errors along these lines.

Testing libgcc1.  Ignore linker warning messages.
/root/build-egcs/gcc/xgcc -B/root/build-egcs/gcc/
-B/usr/local/crossgcc/h8300-hitachi-hms//h8300-hitachi-hms/bin/
-I/usr/local/crossgcc/h8300-hitachi-hms//h8300-hitachi-hms/include
-DCROSS_COMPILE -DIN_GCC     -g -O2 -Dinhibit_libc -I./include
libgcc1-test.o -o libgcc1-test \
  -nostartfiles -nostdlib `/root/build-egcs/gcc/xgcc
-B/root/build-egcs/gcc/
-B/usr/local/crossgcc/h8300-hitachi-hms//h8300-hitachi-hms/bin/
-I/usr/local/crossgcc/h8300-hitachi-hms//h8300-hitachi-hms/include
--print-libgcc-file-name`
libgcc1-test.o: In function `main_without__main':
libgcc1-test.c:26: relocation truncated to fit: DISP8 Lle1+ff
libgcc1-test.c(.text+0xaf): relocation truncated to fit: DISP8 Llt1+ff
libgcc1-test.c:27: relocation truncated to fit: DISP8 Lle2+ff
libgcc1-test.c(.text+0xc1): relocation truncated to fit: DISP8 Llt2+ff
libgcc1-test.c:29: relocation truncated to fit: DISP8 Lle3+ff
libgcc1-test.c(.text+0xd7): relocation truncated to fit: DISP8 Llt3+ff

After perhaps five pages of this, occuring mostly in libgcc.a and
fp-bit.c, I get:

collect2: ld returned 1 exit status
make[1]: *** [libgcc1-test] Error 1
make[1]: Leaving directory `/root/build-egcs/gcc'
make: *** [cross] Error 2

And the compile halts.

So what's going on? I don't really have a good understanding of this whole
process.

--
  "Do not go gentle into that good night.
   Rage, rage against the dying of the light."
                    - Dylan Thomas
Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR