Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

Rolf Campbell Endlisnis@mailc.net
Sat Sep 13 19:00:00 GMT 2003


Charles Wilson wrote:

> Rolf Campbell wrote:
> 
>> Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
>> can't link in libraries compiled with an older version of cygwin g++.
>>
>> /c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
>> reference to `___gxx_personality_v0'
>> /c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
>> undefined reference to `__Unwind_Resume'
>>
>> I get about 200 of those.
>>
>> Oh, and my cygcheck took 3.4seconds.
> 
> What happens if you use 'fabi-version=1' ?  '-fabi-version=0' ?
> 
> Also, what does the following command show:
> 
> g++ -E -dM - < /dev/null | awk '/GXX_ABI/ {print $3}'
> 
> gcc-3.2-3 gives "102"
> 
> Chuck

Ok, it's not really an ABI change.  It's just that the newer g++ doesn't 
provide/require the "___gxx_personality_v0" or "__Unwind_Resume" 
symbols.  So, any library produced with 3.2-3 will not link into an app 
compiled with 3.3.1-1.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list