This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
v850-vxworks _impure_ptr trouble
- To: gcc-help at gcc dot gnu dot org
- Subject: v850-vxworks _impure_ptr trouble
- From: John Fremlin <john dot fremlin at 3SOFT dot de>
- Date: 16 Jul 2001 09:40:05 +0200
I am trying to build a C++ x compiler from i686 linux for
v850-wrs-vxworks with the gcc 3.0 release tarball. Unfortunately it
gets stuck compiling libiberty for the target. Does anybody have this
target working?
/tmp/john/Build/gcc/gcc/xgcc -B/tmp/john/Build/gcc/gcc/ -B/tmp/john/vxworks-for-linux/v850-vxworks/bin/ -B/tmp/john/vxworks-for-linux/v850-vxworks/lib/ -isystem /tmp/john/vxworks-for-linux/v850-vxworks/include -c -DHAVE_CONFIG_H -DCPU=V850E -D_TYPE_wchar_t= -I. -I../../../../Src/gcc-3.0/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../../Src/gcc-3.0/libiberty/cp-demangle.c
/tmp/ccCxOicF.s: Assembler messages:
/tmp/ccCxOicF.s:9541: Error: undefined symbol _ in operation
/tmp/ccCxOicF.s:9541: Error: undefined symbol _impure_ptr in operation
/tmp/ccCxOicF.s:9594: Error: undefined symbol _ in operation
/tmp/ccCxOicF.s:9594: Error: undefined symbol _impure_ptr in operation
/tmp/ccCxOicF.s:9764: Error: undefined symbol _ in operation
/tmp/ccCxOicF.s:9764: Error: undefined symbol _impure_ptr in operation
/tmp/ccCxOicF.s:9779: Error: undefined symbol _ in operation
/tmp/ccCxOicF.s:9779: Error: undefined symbol _impure_ptr in operation
make[1]: *** [cp-demangle.o] Error 1
make[1]: Leaving directory `/tmp/john/Build/gcc/v850-vxworks/libiberty'
make: *** [all-target-libiberty] Error 2
An example of the bad assembly is here
cmp r11,r10
bne .L1115
(line 9541) ld.w sdaoff(_&_impure_ptr)[gp],r10
ld.w 12[r10],r6
movhi hi(.LC206),r0,r10
movea lo(.LC206),r10,r7
jarl _fprintf,r31
jarl _abort,r31
My as is according to xgcc
GNU assembler version 2.11.2 (v850-vxworks) using BFD version 2.11.2
--
http://ape.n3.net