From: jelling AT iitb DOT fhg DOT de ("Andreas Jellinghaus (bei rf)") Subject: exception trapped in cygnus exception handler 5 Aug 1997 08:24:32 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <19970805162551.29191.cygnus.gnu-win32@bsipc10.iitb.fhg.de> Reply-To: aj AT dungeon DOT inka DOT de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ENV: (mailgw2.fhg.de) jelling AT bsipc10 DOT iitb DOT fhg DOT de -> gnu-win32 AT cygnus DOT com DOT VIA-SMTP Original-To: gnu-win32 AT cygnus DOT com X-Mailer: Mutt 0.75 Original-Sender: owner-gnu-win32 AT cygnus DOT com i'm using gnu win32 beta 18, and i failed to build a dll : ld : In cygwin_except_handler (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) Exception trapped! anyone a idea, what i can try now ? regards, andreas --- logfie : echo 'int main() { return 0; } ' > fixup.c echo 'asm (".section .idata\n" ".long 0,0,0,0,0,0,0,0"); ' >> fixup.c gcc -c -o fixup.o fixup.c echo EXPORTS > iitb.def nm dll.o \ |grep '^........ [T] _'\ |sed 's/[^_]*_//' >> iitb.def echo "step 1 - ld" step 1 - ld ld \ --dll \ --base-file iitb.base \ --output iitb.dll \ --entry _dll_entry AT 12 \ -L/usr/H-i386-cygwin32/i386-cygwin32/lib/ \ dll.o echo "step 2 - dlltool" step 2 - dlltool dlltool \ --as=as \ --base-file iitb.base \ --def iitb.def \ --dllname iitb.dll \ --output-exp iitb.exp echo "step 3 - ld (mit exp)" step 3 - ld (mit exp) ld \ --dll \ --entry _dll_entry AT 12 \ --output iitb.dll \ -L/usr/H-i386-cygwin32/i386-cygwin32/lib/ \ iitb.exp dll.o fixup.o -lcygwin -lkernel32 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) In cygwin_except_handler (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) Exception trapped! (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) exception C0000005 at 42D792 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) exception: ax 0 bx 2EBC068 cx 2EBCC9C dx 28 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) exception: si 4000 di FFFFFE00 bp 244EE50 sp 244EE40 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) exception is: STATUS_ACCESS_VIOLATION (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) Stack trace: (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 0: sp = 0x244EC74, pc = 0x1000CEC2 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 1: sp = 0x244EC90, pc = 0x77F94072 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 2: sp = 0x244ECB4, pc = 0x77F88A53 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 3: sp = 0x244ED40, pc = 0x77F75E82 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 4: sp = 0x244EE50, pc = 0x42D895 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 5: sp = 0x244EEA4, pc = 0x43094E (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 6: sp = 0x244F2BC, pc = 0x41FA39 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 7: sp = 0x244F314, pc = 0x416DCF (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 8: sp = 0x244F344, pc = 0x1000C102 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 9: sp = 0x244FF94, pc = 0x1000C113 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 10: sp = 0x244FFA0, pc = 0x4408A9 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 11: sp = 0x244FFB0, pc = 0x40103B (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 12: sp = 0x244FFC0, pc = 0x77F1AFC1 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) frame 13: sp = 0x244FFF0, pc = 0x0 (D:\GNUWIN32\H-i386-cygwin32\bin\ld.exe 1083) End of stack trace make: *** [dll] Error 2 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".