From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21734 invoked by alias); 20 Jan 2010 05:02:45 -0000 Received: (qmail 18360 invoked by uid 48); 20 Jan 2010 05:02:31 -0000 Date: Wed, 20 Jan 2010 05:02:00 -0000 Message-ID: <20100120050231.18353.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: gcc-bugs@gcc.gnu.org From: "jojelino at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg02371.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