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:
|
2478 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:
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
|
|
|
|