Subject:
|
binutils 2.12 is the last one to work Re: was compile error (was link error with binutils 2.13)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Mon, 2 Sep 2002 18:07:11 GMT
|
Viewed:
|
2934 times
|
| |
| |
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 symbol loading in
utils/dll-src/srec.c fails. 2.13 doesn't even get there since it
segfaults. It would be good if this could be added to the HOWTO to
avoid frustration for others.
alejandro
On Tue, 2002-09-03 at 00:25, Alejandro Dubrovsky wrote:
> 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:
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
|
|
|
|