OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> gcc-cross-sa1100 compiler problem
Tyris
post Jun 13 2004, 10:49 PM
Post #1





Group: Members
Posts: 38
Joined: 24-April 04
From: Portland, Oregon
Member No.: 2,993



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
Go to the top of the page
 
+Quote Post
lardman
post Jun 14 2004, 02:04 AM
Post #2





Group: Members
Posts: 4,512
Joined: 25-October 03
From: Bath, UK
Member No.: 464



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

Probably won't work, but worth a go.


Si
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd April 2019 - 04:58 PM