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 / 2811
2810  |  2812
Subject: 
link error with binutils 2.13
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 2 Sep 2002 12:30:42 GMT
Viewed: 
2275 times
  
hi,  after a long time having a running legos 0.2.5, with gcc 2.95.2 and
binutils 2.9.1, i decided to get legos 0.2.6 and use the opportunity to
upgrade gcc to 3.2 and binutils to 2.13.  Everything went smoothly (even
the firmware seems to load nicely) until trying to make the demo
programs.  ld segfaults as shown below:

/usr/local/crossgcc/h8300-hitachi-hms/bin/h8300-hitachi-hms-gcc -O2
-fno-builtin -fomit-frame-pointer -Wall
-I/usr/src/robot/legos-0.2.6/include
-I/usr/src/robot/legos-0.2.6/include/lnp -I. -I../boot/ -c helloworld.c
-o helloworld.o
In file included from /usr/src/robot/legos-0.2.6/include/conio.h:48,
                 from helloworld.c:1:
../boot/config.h:93:8: warning: multi-line string literals are
deprecated
/usr/local/crossgcc/h8300-hitachi-hms/bin/h8300-hitachi-hms-ld -T
../boot/legOS.lds -relax -L/usr/src/robot/legos-0.2.6/lib helloworld.o
-lc -lmint -lfloat -lc++ -o helloworld.ds1 -Ttext 0xb000
make: *** [helloworld.ds1] Segmentation fault (core dumped)
make: *** Deleting file `helloworld.ds1'

Does anyone else get this, or am i doing something wrong?
alejandro



Message has 1 Reply:
  Re: link error with binutils 2.13
 
Hi, (...) I'm running 3.1 and binutils 2.12.1. Did you have a 3.2 rpm-package? (...) You can get rid of these by making the #error string in config.h smaller. (...) Had the same problem with binutils 2.12.1-1. After a downgrade back to 2.12.1 all (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)

6 Messages 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