This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
V850 cross compiler produces erronous assembler code
- To: "'bug-gcc at gnu dot org'" <bug-gcc at gnu dot org>
- Subject: V850 cross compiler produces erronous assembler code
- From: "Knopp Ingo (UC-ST/EHW1)" <Ingo dot Knopp at de dot bosch dot com>
- Date: Tue, 24 Jul 2001 13:27:52 +0200
Hello,
I tried to build a (NEC) V850-elf cross compiler on cygnus gcc 2.95.3-5
(cygwin special)
from the gcc-3.0 source code. When building newlib-1.9.0 i get an error
compiling
assert.c
Using the preprocessed code it looks like this
$ /tools/H-i686-pc-cygwin/v850-elf/bin/gcc.exe -g -c assert.i
/cygdrive/c/TEMP/ccuxWgEi.s: Assembler messages:
/cygdrive/c/TEMP/ccuxWgEi.s:140: Error: undefined symbol _ in operation
/cygdrive/c/TEMP/ccuxWgEi.s:140: Error: undefined symbol _impure_ptr in
operation
this is the generated assembler code line
.LM2:
ld.w sdaoff(_&_impure_ptr)[gp],r10
.stabn 68,0,56,.LM3-___assert
the preprocessed code and the assembler code are attached.
Is there a workaround possible?
Thank you for your help
Yours sincerely
Knopp
<<assert.i>> <<assert.s>>
assert.i
assert.s