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
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
--- 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
--
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