This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/26437] java build fails with relocation R_X86_64_32 error
- From: "quanah at stanford dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 24 Feb 2006 23:09:26 -0000
- Subject: [Bug java/26437] java build fails with relocation R_X86_64_32 error
- References: <bug-26437-10100@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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