Help - Search - Members - Calendar
Full Version: gcc-cross-sa1100 compiler problem
OESF Portables Forum > General Forums > General Discussion
Tyris
Hi guys,

I've been trying to cross compile Speakfreely7.6a to run on my 6000.
Unfortunately I've run into what seems to be a compiler bug:

CODE
/opt/Embedix/tools/bin/arm-linux-gcc -Wall  -DAUDIO_BLOCKING -DLINUX -DNEEDED_LINEAR -DLINUX_DSP_SMALL_BUFFER -DHAVE_DEV_RANDOM -O3 -DHEXDUMP -c -O -DSASR -DNDEBUG   -DAUTO_SPARC_HACK  -I./inc src/code.c

/home/user/tmp/ccKHIiAS.s: Assembler messages:

/home/user/tmp/ccKHIiAS.s:87: Error: Cannot represent OFFSET_IMM8 relocation in this object file format


This happens when compiling the GSM package. Im going to try it w/o GSM, but from my past experience shows that really hurts sound quality.

I searched around to see exactly what "OFFSET_IMM8" means, and it seems to be a true compiler bug for 2.95.2, and there was no apparent fix in 2.95.3

Has anyone else encountered this? and is there a fix/work around available?

-T
lardman
You could try reducing -O3 to something less (like -O2, -O1?)

Probably won't work, but worth a go.


Si
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.