ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/04/18/15:20:52

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Wed, 18 Apr 2001 15:21:05 -0400 (EDT)
From: Jeff Sturm <jsturm AT one-point DOT com>
X-Sender: jsturm AT one-point DOT bright DOT net
To: Anthony Green <green AT redhat DOT com>
cc: "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com>,
"'Robert Collins'" <robert DOT collins AT itdomain DOT com DOT au>, java AT gcc DOT gnu DOT org,
cygwin-apps AT sources DOT redhat DOT com
Subject: RE: gcj && libjava for cygwin
In-Reply-To: <NEBBKJDPKLNNENPPIHCPGEGKLAAA.green@redhat.com>
Message-ID: <Pine.LNX.4.10.10104181511570.14265-100000@one-point.bright.net>
MIME-Version: 1.0


On Wed, 18 Apr 2001, David Billinghurst wrote:
> What I don't understand where _Jv_Sjlj_Throw and JNI_OnLoad are defined.

The former is generated by the compiler, which defaults to sjlj exceptions
on cygwin since DWARF2 is not supported for that target.

To get libgcj in sync, configure with --enable-sjlj-exceptions.  That
could be done in configure.host (however I thought _Jv_Sjlj_Throw was
going away due to rth's work on EH personalities... are you working on the
branch, or mainline?)

On Wed, 18 Apr 2001, Anthony Green wrote:
> JNI_OnLoad is a weak symbol -- see natFirstThread.cc.  Shared libraries of
> JNI code define it. Do weak symbols not work on cygwin?

They don't.  What is the proper workaround?  Define a JNI_OnLoad stub in a
static archive?

Jeff


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019