This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This problem came up on the libtool list, while trying to track down a regression test failure on with cygwin-libtool-2.2.10. It's actually not a "regression" per se, because the same test failed also on cygwin-libtool-2.2.7a. However, it really shouldn't fail, AFAICT. Anyway, the STC is attached, but the backtrace is: (gdb) run Starting program: /c/Users/cwilson/lt/main.exe [New Thread 10492.0x21ec] [New Thread 10492.0x2504] exceptions_in_module caught inside module: exception in module caught: exception from module Program received signal SIGSEGV, Segmentation fault. 0x67282348 in ?? () (gdb) bt #0 0x67282348 in ?? () #1 0x6c486825 in cygstdc++-6!__cxa_demangle () from /usr/bin/cygstdc++-6.dll #2 0x67f0581d in cyggcc_s-1!_Unwind_DeleteException () from /usr/bin/cyggcc_s-1.dll #3 0x6c4e89d0 in cygstdc++-6!__cxa_end_catch () from /usr/bin/cygstdc++-6.dll #4 0x004013b6 in _fu5___ZSt4cerr () at main.cpp:41 #5 0x004013f9 in main () at main.cpp:55 So, something appears to be dying where it shouldn't really, because I don't think there's anything wrong with this code. CXX=g++-4 CXXFLAGS="-O0 -g" LDFLAGS= $CXX $CXXFLAGS -c main.cpp -o main.o $CXX $CXXFLAGS -c module.cpp -o module.o $CXX $CXXFLAGS $LDFLAGS -shared module.o -o module.dll $CXX $CXXFLAGS $LDFLAGS -o main main.o -Wl,--export-all-symbols PATH="`pwd`:$PATH" main Any ideas? -- Chuck
Attachment:
libtool-segfault-stc.tar.bz2
Description: Binary data
-- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |