Debugging libgcj on cygwin

Thomas Pfaff tpfaff@gmx.net
Tue Jul 1 12:05:00 GMT 2003


Jeff Sturm wrote:
> On Mon, 30 Jun 2003, Thomas Pfaff wrote:
> 
>>What makes me wonder is that this seems to happen only on cygwin.
> 
> You'd expect to see it anywhere with static linking, but, for whatever
> reason Cygwin seems to be choosing a default file.encoding of ASCII
> instead of the usual 8859_1.  The latter encoder tends to always link in
> static builds.
> 
> This patch from mainline may help:
> 
> 2003-06-12  Andrew Haley  <aph@redhat.com>
> 
>     * prims.cc (catch_segv): Create exception in handler.
>     (catch_fpe): Likewise.
>     (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
>     (_Jv_ThrowSignal): Remove.
> 
>     * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
>     * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
>     to nullp and arithexception.
>     * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
>     * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
>     * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
>     * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
>     * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
> 
> If so, backporting Andrew's patch to 3.3 is one solution.
> 

Yup, this fixes it if as long as i configure with --disable-interpreter. 
Will this patch be included in 3.3.1 ?

Thomas



More information about the Java mailing list