MIPS linker error for C++

mikeci at acm.org mikeci at acm.org
Fri Aug 22 17:32:00 UTC 2003


Hi!

Here is the error, and it occures only for C++.

gcc is 3.2.3


mips-rtems-gcc (GCC) 3.2.3 (OAR Corporation
gcc-3.2.3-20030507a/newlib-1.11.0-20030605-4)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


binutils 2.13.2.1 latest available from rtems.com. I am using modified
P4000 BSP, with mips32 model, little endian. Here is the exact error:

/opt/rtems/lib/gcc-lib/mips-rtems/3.2.3/soft-float/el/libstdc++.a(tinfo2.o):
In function
`__cxxabiv1::__pointer_type_info::__pointer_catch(__cxxabiv1::__pbase_type_info
const*, void**, unsigned) const':
/home/rtems/src/packages/BUILD/mips-rtems-gcc-newlib/build/mips-rtems/soft-float/el/libstdc++-v3/libsupc++/../../../../../../gcc-3.2.3/libstdc++-v3/libsupc++/tinfo2.cc:155:
relocation truncated to fit: R_MIPS_GPREL16 typeinfo for void
collect2: ld returned 1 exit status

Regards


Ivica









More information about the users mailing list