From: <no...@so...> - 2002-01-21 17:19:00
|
Bugs item #505370, was opened at 2002-01-18 05:47 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=505370&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: David Holscher (holscher) Assigned to: Danny Smith (dannysmith) Summary: -gcoff fails Initial Comment: Run the following on the file I've submitted (where % jdk% is the path to the 1.3 JDK from Sun): gcc -gcoff -O2 -c -fvtable-thunks -I%jdk%/include -I% jdk%/include/win32 -g itec/util/win32/Win32.cpp -o build/win32.o This fails with the following error: Here is the output of gcc -v: Reading specs from C:/mingw/bin/../lib/gcc- lib/mingw32/2.95.3-6/specs gcc version 2.95.3-6 (mingw special) ---------------------------------------------------------------------- >Comment By: David Holscher (holscher) Date: 2002-01-21 09:18 Message: Logged In: YES user_id=430385 The problem does look identical. I've found that I can reproduce the error by calling NewObject in the JNI api from C++. NewObject happens to take an arbitrary number of arguments, which makes me think that it is the cause of the problem. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2002-01-19 17:52 Message: Logged In: YES user_id=11494 Identical problem reported to binutils mailing list in July: http://sources.redhat.com/ml/binutils/2001-07/msg00516.html. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2002-01-18 20:19 Message: Logged In: YES user_id=11494 This sounds more like a gcc or binutils bug than mingw, but I'll look at it if you provide preprocessed source (I don't have 1.3 JDK headers so I can't reproduce the bug). Add -- save-temps to command line above and upload the Win32.ii file Danny ---------------------------------------------------------------------- Comment By: David Holscher (holscher) Date: 2002-01-18 05:48 Message: Logged In: YES user_id=430385 Forgot to include the error: C:\DOCUME~1\u00dmh6\LOCALS~1\Temp\cc2paaaa.s: Assembler messages: C:\DOCUME~1\u00dmh6\LOCALS~1\Temp\cc2paaaa.s:11672: Fatal error: C_EFCN symbol out of scope ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=505370&group_id=2435 |