[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems with use of new compiler cris-1.11
Since I had problems with use of large values of doubles,
I shifted from cris-1.7 to cris-1.11. But on cris-1.11,
I am having lot of link-time problems. There were two
which I could not solve yet.
1. What does the following error mean?
/home/l2f/cris-1.11/lib/gcc-lib/cris/2.96/rld-cris: <exe-name>: relocateable link from elf32-little to a.out-cris not supported
/home/l2f/cris-1.11/lib/gcc-lib/cris/2.96/rld-cris: final link failed: Invalid operation
Some missing flag during compile/link time? I was just linking
a few .o files, no libraries.
2. pktbuf.o(.bss+0x0): multiple definition of `BufferPool type_info node'
main.o(.bss+0x24): first defined here
Multiple definitions of '<class> type_info node' for
many of my c++ classes. This was the same code which
used to link well with gcc-2.7.2(cris-1.7). So I guess
it has something to do with ANSI C++. Does anyone know
possibile reason for such an error? When are these
type_info objects instantiated? As far as I read from
Stroustrup book, this happens due to a dynamic_cast
operator. I am not using it anywhere. I tried to reproduce
this error into a smaller source code with a simpler class
hierarchies, but was not successful.
I have hardly ever worked with gcc-2.96, but the same source code
worked correctly on Redhat linux 2.2 with gcc 2.91.66(egcs-1.1.2)
Prabhat Avasare IMEC (DESICS) email: email@example.com
Kapeldreef 75 Tel: +32-16-281525
B3001 Leuven Fax: +32-16-281515