X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4ACBD813.3070900@users.sourceforge.net> Date: Tue, 06 Oct 2009 18:51:47 -0500 From: "Yaakov (Cygwin/X)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: gcc4-g++: ilmbase segfaults Content-Type: multipart/mixed; boundary="------------060904090708010604090407" Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 --------------060904090708010604090407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I've been having some issues with the OpenEXR libraries (as mentioned on the Ports list), and it looks like the problem is in ilmbase. I have attached the .cygport and a build patch; it has no dependencies besides a C++ compiler. Neither Debian nor Gentoo ship any patches for ilmbase, so I'm suspecting a bug in either Cygwin or GCC. After building a debug build and running 'make check' in IexTest: $ ../libtool --mode=execute gdb ./IexTest.exe [...] (gdb) run0 Starting program: /usr/src/ports/graphics/ilmbase/ilmbase-1.0.1-11/build/IexTest/.libs/IexTest [New thread 1976.0x1338] Error: dll starting at 0x77600000 not found. Error: dll starting at 0x759b0000 not found. Error: dll starting at 0x77600000 not found. Error: dll starting at 0x77500000 not found. [New thread 1976.0xef4] See if throw and catch work: 1 Program received signal SIGSEGV, Segmentation fault. 0x6c4e8010 in ?? () (gdb) bt #0 0x6c4e8010 in ?? () #1 0x3d2381f4 in cygstdc++-6!_ZNSs4_Rep9_S_createEjjRKSaIcE () from /usr/bin/cygstdc++-6.dll #2 0x3d237caa in cygstdc++-6!_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag () from /usr/bin/cygstdc++-6.dll #3 0x3d2398b6 in cygstdc++-6!_ZNSsC2EPKcRKSaIcE () from /usr/bin/cygstdc++-6.dll #4 0x6d703628 in BaseExc (this=0xe49f80, s=0x40311d "ArgExc") at Iex/IexBaseExc.cpp:71 #5 0x00402278 in ArgExc (this=0xe49f80, text=0x40311d "ArgExc") at Iex/IexBaseExc.h:142 #6 0x004015c1 in throwArgExc () at IexTest/testBaseExc.cpp:48 #7 0x004016d6 in _fu3___ZSt4cout () at IexTest/testBaseExc.cpp:91 #8 0x00401947 in _fu5___ZSt4cout () at IexTest/testBaseExc.cpp:203 #9 0x00401175 in main (argc=1, argv=0xe39d00) at IexTest/main.cpp:46 Yaakov --------------060904090708010604090407 Content-Type: text/plain; name="ilmbase-1.0.1-11.cygport" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ilmbase-1.0.1-11.cygport" DESCRIPTION="OpenEXR utility libraries" HOMEPAGE="http://www.openexr.com/" SRC_URI="http://download.savannah.nongnu.org/releases/openexr/${P}.tar.gz" PATCH_URI="1.0.1-exeext.patch" PKG_NAMES="${PN} lib${PN}6 lib${PN}-devel" libilmbase6_CONTENTS="usr/bin/*-6.dll usr/share/doc/" libilmbase_devel_CONTENTS='usr/include/ usr/lib/' DIFF_EXCLUDES="IlmBaseConfig.h" NO_AUTOHEADER=1 --------------060904090708010604090407 Content-Type: text/plain; name="1.0.1-exeext.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="1.0.1-exeext.patch" --- origsrc/ilmbase-1.0.1/Half/Makefile.am 2006-12-08 15:59:36.000000000 -0600 +++ src/ilmbase-1.0.1/Half/Makefile.am 2007-10-28 21:43:29.687500000 -0500 @@ -21,10 +21,10 @@ toFloat_SOURCES = toFloat.cpp -eLut.h: eLut +eLut.h: eLut$(EXEEXT) ./eLut > eLut.h -toFloat.h: toFloat +toFloat.h: toFloat$(EXEEXT) ./toFloat > toFloat.h BUILT_SOURCES = eLut.h toFloat.h --------------060904090708010604090407 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --------------060904090708010604090407--