[Top][All Lists]

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

[Mingw-cross-env-list] gcc: why disable sjlj and libgomp ?

From: Alois Schlögl
Subject: [Mingw-cross-env-list] gcc: why disable sjlj and libgomp ?
Date: Thu, 05 May 2011 12:25:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110307 Iceowl/1.0b1 Icedove/3.0.11


I've problems compiling biosig with the recent version of gcc (specifically, tinyxml is used for reading some xml files), causing these error messages:

win32/libbiosig.a(tinyxml.obj):tinyxml.cpp:(.text+0x4797): undefined reference to `___gxx_personality_sj0' win32/libbiosig.a(tinyxml.obj):tinyxml.cpp:(.text+0x47b0): undefined reference to `__Unwind_SjLj_Register' win32/libbiosig.a(tinyxml.obj):tinyxml.cpp:(.text+0x4860): undefined reference to `__Unwind_SjLj_Unregister' win32/libbiosig.a(tinyxml.obj):tinyxml.cpp:(.text+0x48a4): undefined reference to `__Unwind_SjLj_Resume'

The problem goes away when
       --disable-sjlj-exceptions \
is removed from gcc.mk, and mingw-cross-env is rebuilt. I know that the change was introduced here
with the comment "disable SJLJ exceptions explicitly, as those cause trouble".

So, I'm wondering what kind of troubles these were, and what kind of workaround you would suggest?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]