From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 443 invoked by alias); 24 Feb 2006 23:09:29 -0000 Received: (qmail 315 invoked by uid 48); 24 Feb 2006 23:09:26 -0000 Date: Fri, 24 Feb 2006 23:24:00 -0000 Message-ID: <20060224230926.314.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/26437] java build fails with relocation R_X86_64_32 error In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "quanah at stanford dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg02888.txt.bz2 List-Id: ------- Comment #2 from quanah at stanford dot edu 2006-02-24 23:09 ------- This seems to be because libsax_gcj_la-sax.o is not being built with -fPIC, like it apparently needs to be: quanah@tribes2:/afs/ir/src/pubsw/languages/gcc-build/amd64_linux26/x86_64-unknown-linux-gnu/libjava/external/sax$ more libsax_gcj_la-sax.lo # libsax_gcj_la-sax.lo - a libtool object file # Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes) # # Please DO NOT delete this file! # It is necessary for linking the library. # Name of the PIC object. pic_object=none # Name of the non-PIC object. non_pic_object='libsax_gcj_la-sax.o' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26437