Jump to ID:
Core Development Tools

Project Home

Documents

Source Code

Discussions

Wiki

Project Info
Forum Topic - Mudflap related crash in static variable initialisation: Page 1 of 2 (2 Items)
   
 
 
Mudflap related crash in static variable initialisation  
I've just started trying to use mudflap on a QorIQ P2020 target (PPCBE-SPE) but it crashes, apparently while 
initialising IOStreams/locale.

This is using the supplied 'hello world' C++ project.

From the stack trace, I'd also guess that it might be down to not linking the right library(s) but this is just the 
standard supplied project in debug build with -mudflap and -lmudflap added to the compiler and linker options.

This is using the latest 6.5 release of Momentics (gcc 4.4.2).

Any idea what's wrong / missing?

Thread [1] (Suspended: Signal 'SIGABRT' received. Description: Aborted.)	
	15 SignalKill()  0xfe33f948	
	14 raise()  0xfe32ef74	
	13 abort()  0xfe32d05c	
	12 std::do_abort()  0xfe4cc434	
	11 std::terminate()  0xfe4cc3ec	
	10 __cxxabiv1::__unexpected()  0xfe4c4220	
	9 __cxa_call_unexpected()  0xfe4c35d8	
	8 std::locale::locale()  0xfe4dd5dc	
	7 std::ios_base::Init::Init()  0xfe4cf014	
	6 global constructors keyed to wiostrea.cpp()  0xfe4e16ec	
	5 __do_global_ctors_aux()  0xfe4fea18	
	4 _init()  0xfe4c15a8	
	3 init()  0xfe3422b8	
	2 ldd()  0xfe348c68	
	1 _start_()  0xfe340a28