This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redboot compilation problem.


> > Make goes fine until it gets to the redboot/current section of the 
>makefile,
> > then spews the following errors :
> >
> > i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
> > -L/ecos-c/cygwin/tmp/redboot/lib -Ttarget.ld
> > -o /ecos-c/cygwin/tmp/redboot/bin/redboot.elf
> > /ecos-c/cygwin/tmp/redboot/lib/version.o
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o: In function `_loadsector':
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x92): relocation 
>truncated
> > to fit: R_386_16 text
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o: In function `_endload':
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x217): relocation 
>truncated
> > to fit: R_386_16 text
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x21d): relocation 
>truncated
> > to fit: R_386_16 text
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x228): relocation 
>truncated
> > to fit: R_386_16 text
> > collect2: ld returned 1 exit status
> > make[1]: *** [/ecos-c/cygwin/tmp/redboot/bin/redboot.elf] Error 1
> > make[1]: Leaving directory `/my_ecos/packages/redboot/current'
> > make: *** [build] Error 2
>
>Looks like a GAS issue. Try downgrading your binutils just in case.

No dice, I'm afraid.  I downloaded the 2.10.1 binutils, configured/made 
them, then re-configured and re-made gcc.  The redboot build fails in the 
same location.

I also tried to revert back to gcc 2.95.2 (from 3.0.3) and applied all of 
the patches and things verbatim from the Redhat site, it seemed to fail to 
make, but its responding properly to a -v command and is in the path. go 
figure.  Could be a partial install.

I think I may have some sort of package manipulation problem going on, as I 
just did a :
#ecosconfig --prefix=/tmp/ecos_lib new pc
#ecosconfig --prefix=/tmp/ecos_lib tree
#make

which worked and when I came back and did

#ecosconfig --prefix=/tmp/red new pc
#ecosconfig --prefix=/tmp/red import 
hal/i386/pc/current/misc/redboot_FLOPPY.ecm
#ecosconfig --prefix=/tmp/red tree
#make

I got a whole mess of different errors.  I have a feeling that I'm doing 
something wrong with my ecosconfig directories/packages/databases.
I'll RTFM and try some different stuff tomorrow.

Thanks anyway for the advice.

-Erik Reikes

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]