From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18723 invoked by alias); 20 Jan 2010 05:02:32 -0000 Received: (qmail 18393 invoked by uid 48); 20 Jan 2010 05:02:31 -0000 Date: Wed, 20 Jan 2010 05:02:00 -0000 Message-ID: <20100120050231.18392.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/42811] [4.5 regression] java.lang.ExceptionInInitializerError in ecj1 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "jojelino at gmail dot com" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2010-q1/txt/msg00052.txt.bz2 ------- Comment #1 from jojelino at gmail dot com 2010-01-20 05:02 ------- linking executables with -Wl,--whole-archive libgcj-noncore.la libgcj.la -Wl,--no-whole-archive solves this problem. excepts that it creates fatty import symbol table approx. (28 megabyte). is there any workaround instead of this naive method? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42811