i386-rtems-gcc - cannot find ld

Thomas Bocek draft at icu.unizh.ch
Mon Jun 25 16:18:35 UTC 2001


On Monday 25 June 2001 14:24, Joel Sherrill wrote:
> Thomas Bocek wrote:
> > Hi all
> >
> > > is i386-rtems-as or i386-rtems-ld in your PATH?  You have to use the
> > > binutils for the target.
> >
> > thanks a lot, the deb and rpm packages seems to be broken, i had to
> > download the source. version 4.5.0 (corrupt file).
>
> Whatr exactly did you do and what happened?  No one else has reported
> this.

I have a debian system (the latest testing version), and typed the following 
command:

minimore:/home/draft# dpkg -i i386-rtems-binutils_2.9.5.0.24-1_i386.deb

the result was:

(Reading database ... 40627 files and directories currently installed.)
Unpacking i386-rtems-binutils (from 
i386-rtems-binutils_2.9.5.0.24-1_i386.deb) ...
dpkg: error processing i386-rtems-binutils_2.9.5.0.24-1_i386.deb (--install):
 corrupted filesystem tarfile - corrupted package archive: Success
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 i386-rtems-binutils_2.9.5.0.24-1_i386.deb

the rtems-gcc deb packages worked without any problem.

> > I could manage to compile the test
> > .c file. and here is my 2nd problem: after a make all in my directory
> > this message was on my screen:
> >
> > /opt/rtems/lib/gcc-lib/i386-rtems/2.95.2/ld:../../../../../../i386ex/lib/
> >linkcmds:115: parse error
> > collect2: ld returned 1 exit status
> >
> > hmm whats wrong?
>
> What does line 115 look like?  My copy -- checked out of
> CVS has a 5 where an = should be on line 115.  Weird.

here is a my line 115:

113:        LONG(0)
114:        __DTOR_END__ = .;
115:        _rodata_start 5 . ;
116:        *(.rodata)
117:        *(.gnu.linkonce.r*)

here is the full error message:

Making all in hello
make[5]: Entering directory 
`/home/draft/kernel/i386-rtems/c/i386ex/tests/samples/hello'
/opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../../i386ex/lib/ -specs 
bsp_specs -qrtems -g -Wall -ansi -fasm          -L 
../../../../../../i386ex/lib  -O4  -o o-optimize/hello.coff  
o-optimize/init.o ../../../../../../i386ex/lib/no-dpmem.rel 
../../../../../../i386ex/lib/no-event.rel 
../../../../../../i386ex/lib/no-msg.rel 
../../../../../../i386ex/lib/no-mp.rel 
../../../../../../i386ex/lib/no-part.rel 
../../../../../../i386ex/lib/no-signal.rel 
../../../../../../i386ex/lib/no-timer.rel 
../../../../../../i386ex/lib/no-rtmon.rel
/opt/rtems/lib/gcc-lib/i386-rtems/2.95.2/ld:../../../../../../i386ex/lib/linkcmds:115: 
parse error
collect2: ld returned 1 exit status
make[5]: *** [o-optimize/hello.exe] Error 1


Regards Thomas



More information about the users mailing list