Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1 Date: Sat, 13 Sep 2003 15:00:07 -0400 Lines: 31 Message-ID: References: <20030913002703 DOT GA17886 AT redhat DOT com> <3F6366F6 DOT 60609 AT cwilson DOT fastmail DOT fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en In-Reply-To: <3F6366F6.60609@cwilson.fastmail.fm> 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/