* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
@ 2007-01-29 0:31 ` pinskia at gcc dot gnu dot org
2007-01-29 19:03 ` tromey at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-29 0:31 UTC (permalink / raw)
To: java-prs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Summary|natVMURLConnection.cc:21: |[4.3 Regression]
|error: 'magic_t' does not |natVMURLConnection.cc:21:
|name a type |error: 'magic_t' does not
|t name a type |name a type
| |t name a type
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
2007-01-29 0:31 ` [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not " pinskia at gcc dot gnu dot org
@ 2007-01-29 19:03 ` tromey at gcc dot gnu dot org
2007-01-29 19:07 ` tromey at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-29 19:03 UTC (permalink / raw)
To: java-prs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-01-29 19:03:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
2007-01-29 0:31 ` [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not " pinskia at gcc dot gnu dot org
2007-01-29 19:03 ` tromey at gcc dot gnu dot org
@ 2007-01-29 19:07 ` tromey at gcc dot gnu dot org
2007-01-29 19:08 ` tromey at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-29 19:07 UTC (permalink / raw)
To: java-prs
------- Comment #1 from tromey at gcc dot gnu dot org 2007-01-29 19:07 -------
Created an attachment (id=12977)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12977&action=view)
proposed patch
Please try this patch. Now we look for magic_t and, if not found,
we disable the code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-01-29 19:07 ` tromey at gcc dot gnu dot org
@ 2007-01-29 19:08 ` tromey at gcc dot gnu dot org
2007-01-30 23:50 ` dave at hiauly1 dot hia dot nrc dot ca
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-29 19:08 UTC (permalink / raw)
To: java-prs
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-01-29 19:08 ` tromey at gcc dot gnu dot org
@ 2007-01-30 23:50 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-31 0:42 ` dave at hiauly1 dot hia dot nrc dot ca
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-01-30 23:50 UTC (permalink / raw)
To: java-prs
------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2007-01-30 23:50 -------
Subject: Re: [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does
not name a type
> Please try this patch. Now we look for magic_t and, if not found,
> we disable the code.
The patch is probably ok. However, I've hit another problem linking
libgcj.sl.9.0:
/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.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-01-30 23:50 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-01-31 0:42 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-31 17:01 ` tromey at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-01-31 0:42 UTC (permalink / raw)
To: java-prs
------- 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-01-31 0:42 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-01-31 17:01 ` tromey at gcc dot gnu dot org
2007-01-31 17:11 ` tromey at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-31 17:01 UTC (permalink / raw)
To: java-prs
------- Comment #4 from tromey at gcc dot gnu dot org 2007-01-31 17:01 -------
This is just a random guess, but do you have this patch (gcc/java):
2007-01-29 Andrew Haley <aph@redhat.com>
* class.c (add_method_1): Mark fndecl as external unless we are
compiling it into this object file.
This may affect the latest problem here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (6 preceding siblings ...)
2007-01-31 17:01 ` tromey at gcc dot gnu dot org
@ 2007-01-31 17:11 ` tromey at gcc dot gnu dot org
2007-02-01 15:51 ` dave at hiauly1 dot hia dot nrc dot ca
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-31 17:11 UTC (permalink / raw)
To: java-prs
------- Comment #5 from tromey at gcc dot gnu dot org 2007-01-31 17:11 -------
Subject: Bug 30606
Author: tromey
Date: Wed Jan 31 17:11:11 2007
New Revision: 121425
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121425
Log:
PR libgcj/30606:
* configure, include/config.h.in: Rebuilt.
* configure.ac: Check for magic_t in magic.h.
* java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/configure
trunk/libjava/configure.ac
trunk/libjava/include/config.h.in
trunk/libjava/java/net/natVMURLConnection.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (7 preceding siblings ...)
2007-01-31 17:11 ` tromey at gcc dot gnu dot org
@ 2007-02-01 15:51 ` dave at hiauly1 dot hia dot nrc dot ca
2007-02-02 23:23 ` daney at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-02-01 15:51 UTC (permalink / raw)
To: java-prs
------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2007-02-01 15:51 -------
Subject: Re: [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does
not name a type
> This is just a random guess, but do you have this patch (gcc/java):
>
> 2007-01-29 Andrew Haley <aph@redhat.com>
>
> * class.c (add_method_1): Mark fndecl as external unless we are
> compiling it into this object file.
>
> This may affect the latest problem here.
With the above patch, the problem still exists but it's moved to a
different file:
/usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file
gnu/javax/swing
/text/html/parser/.libs/HTML_401F.o - shared library must be position
independen
t. Use +z or +Z to recompile.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (8 preceding siblings ...)
2007-02-01 15:51 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-02-02 23:23 ` daney at gcc dot gnu dot org
2007-02-04 16:00 ` dave at hiauly1 dot hia dot nrc dot ca
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: daney at gcc dot gnu dot org @ 2007-02-02 23:23 UTC (permalink / raw)
To: java-prs
------- Comment #7 from daney at gcc dot gnu dot org 2007-02-02 23:23 -------
(In reply to comment #6)
> Subject: Re: [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does
> not name a type
>
> > This is just a random guess, but do you have this patch (gcc/java):
> >
> > 2007-01-29 Andrew Haley <aph@redhat.com>
> >
> > * class.c (add_method_1): Mark fndecl as external unless we are
> > compiling it into this object file.
> >
> > This may affect the latest problem here.
>
> With the above patch, the problem still exists but it's moved to a
> different file:
>
> /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file
> gnu/javax/swing
> /text/html/parser/.libs/HTML_401F.o - shared library must be position
> independen
> t. Use +z or +Z to recompile.
>
Please try with revision 121506 or later. That may fix this problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (9 preceding siblings ...)
2007-02-02 23:23 ` daney at gcc dot gnu dot org
@ 2007-02-04 16:00 ` dave at hiauly1 dot hia dot nrc dot ca
2007-02-11 14:49 ` dave at hiauly1 dot hia dot nrc dot ca
2007-02-13 16:18 ` [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a typet " danglin at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-02-04 16:00 UTC (permalink / raw)
To: java-prs
------- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca 2007-02-04 16:00 -------
Subject: Re: [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does
not name a type
> > With the above patch, the problem still exists but it's moved to a
> > different file:
> >
> > /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file
> > gnu/javax/swing
> > /text/html/parser/.libs/HTML_401F.o - shared library must be position
> > independen
> > t. Use +z or +Z to recompile.
> >
>
> Please try with revision 121506 or later. That may fix this problem.
Sadly, it didn't fix the problem.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (10 preceding siblings ...)
2007-02-04 16:00 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-02-11 14:49 ` dave at hiauly1 dot hia dot nrc dot ca
2007-02-13 16:18 ` [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a typet " danglin at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-02-11 14:49 UTC (permalink / raw)
To: java-prs
------- Comment #9 from dave at hiauly1 dot hia dot nrc dot ca 2007-02-11 14:49 -------
Subject: Re: [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does
not name a type
> > > With the above patch, the problem still exists but it's moved to a
> > > different file:
> > >
> > > /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file
> > > gnu/javax/swing
> > > /text/html/parser/.libs/HTML_401F.o - shared library must be position
> > > independen
> > > t. Use +z or +Z to recompile.
> > >
> >
> > Please try with revision 121506 or later. That may fix this problem.
The above problem is a target bug (incorrect code is being generated
for long indirect and millicode calls). The library now contains some
modules that need long calls. Working on a patch to fix this.
David Daney's patch fixed the original problem.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type
2007-01-26 23:22 [Bug libgcj/30606] New: natVMURLConnection.cc:21: error: 'magic_t' does not name a typet name a type danglin at gcc dot gnu dot org
` (11 preceding siblings ...)
2007-02-11 14:49 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-02-13 16:18 ` danglin at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-02-13 16:18 UTC (permalink / raw)
To: java-prs
------- Comment #10 from danglin at gcc dot gnu dot org 2007-02-13 16:17 -------
The R_CODE_ONE_SYMBOL error was caused by my inadvertantly using
an experimental (buggy) version of gas. Closing PR as fixed.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
Summary|[4.3 Regression] |[4.3 Regression]
|natVMURLConnection.cc:21: |natVMURLConnection.cc:21:
|error: 'magic_t' does not |error: 'magic_t' does not
|name a type |name a typet name a type
|t name a type |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606
^ permalink raw reply [flat|nested] 14+ messages in thread