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 / 2813
2812  |  2814
Subject: 
Re: compile error (was link error with binutils 2.13)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 2 Sep 2002 14:25:16 GMT
Viewed: 
2356 times
  
On Mon, 2002-09-02 at 23:20, Michael Obenland wrote:
Hi,

upgrade gcc to 3.2 and binutils to 2.13.

I'm running 3.1 and binutils 2.12.1. Did you have a 3.2 rpm-package?

no, compiled my own.  i've now switched to 3.1.1 (just because it is my
main compiler and i thought there might be some incompatibilities there)

make: *** [helloworld.ds1] Segmentation fault (core dumped)
make: *** Deleting file `helloworld.ds1'

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

Had the same problem with binutils 2.12.1-1. After a downgrade back to
2.12.1 all went smooth.

I downgraded to 2.12.1 and it got further, thanks for the hint.  Still
fails, but at a later stage, with the following error:

/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
/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
/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.ds2 -Ttext 0xb210
/usr/src/robot/legos-0.2.6/util/makelx helloworld.ds1 helloworld.ds2
helloworld.lx
malformed symbolsrec file at line 2
make: *** [helloworld.lx] Error 255
rm helloworld.ds1 helloworld.ds2

alejandro



Message has 1 Reply:
  binutils 2.12 is the last one to work Re: was compile error (was link error with binutils 2.13)
 
i did a binary search on binutils versions, compiling and installing each one to see which one was the last one to work, and the transition from 2.12 to 2.12.1 is the killer. The symbolsrec format seems to change between 2.12 and 2.12.1, so the (...) (22 years ago, 2-Sep-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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