[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with gcc-4.0.1 libstdc++ and mvme5500



Phillip Sorensen wrote:

I have been trying to get cexp-1.5/RTEMS-GeSys_2.1.beta running on the MVME5500 with rtems-4.6.99.2.

How recent is your CVS checkout? I had similar problems and found that the linker
script was broken. A few days ago, I committed some changes that let mvme5500 use the
script from the 'shared' area which seems to be working.


HTH
-- Till

I seem to have run into an issue with the libstdc++ library created by gcc-4.0.1. When I compile RTEMS-GeSys to link in libstdc++ I get an exception 3 on RTEMS startup. The same thing happens if I try running the iostream sample. If I build the same source with the tools for RTEMS-4.6.x, everything seems fine. Both RTEMS-GeSys and iostream run with out the error.

The problem appears to be in a function called _Z41__static_initialization_and_destruction_0ii. Using the excludes in RTEMS-GeSys to exclude parts of libstdc++, it seems that the problem is caused if the bitmap_allocator.o and/or codecvt.o object files are linked.

I found PR712 which refers to similar problems with gcc-3.3.5. Are there any know issues with using gcc 3.x compilers and rtems-4.7 code?

Phil Sorensen
CHESS