This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 31 Jan 2007 00:42:47 -0000
- Subject: [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
- References: <bug-30606-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2007-01-31 00:42 -------
Subject: Re: [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does
not name a type
> /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file gnu/javax/swing
> /text/html/.libs/parser.o - shared library must be position independent. Use +z
> or +Z to recompile.
>
> The wierd part of this is the above object was clearly compiled with
> -fPIC but the object contains numerous non-PIC relocations in .data.
One thing that I can see that's wrong is that .IMPORT directives
are missing for various symbols. For example, the file calls
_ZN4java4lang6ObjectC1Ev but there's no no .IMPORT directive to
properly type the symbol.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606