public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/26073]  New: [4.2 regression] libjava fails to compile
@ 2006-02-02  9:40 rearnsha at gcc dot gnu dot org
  2006-02-02 12:40 ` [Bug libgcj/26073] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2006-02-02  9:40 UTC (permalink / raw)
  To: java-prs

libjava fails to build in a cross compiler (using newlib):

/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/java/lang/Class.h: In member
function 'java::lang::Class* java::lang::Class::getComponentType()':
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/java/lang/Class.h:371: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc: At global scope:
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:775: error: variable or
field '_Jv_ThrowNoClassDefFoundErrorTrampoline' declared void
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:775: error: 'ffi_cif' was
not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:775: error: expected
primary-expression before ',' token
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:776: error: expected
primary-expression before 'void'
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:777: error: expected
primary-expression before 'void'
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:778: error: expected
primary-expression before 'void'
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:778: error: initializer
expression list treated as compound expression
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:779: error: expected ','
or ';' before '{' token
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc: In static member
function 'static void _Jv_Linker::link_symbol_table(java::lang::Class*)':
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1127: error:
'ffi_closure' was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1127: error: 'closure'
was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1128: error: expected
primary-expression before ')' token
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1128: error: expected `;'
before '_Jv_Malloc'
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1129: error: 'ffi_cif'
was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1129: error: 'cif' was
not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1129: error: expected
primary-expression before ')' token
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1129: error: expected `;'
before '_Jv_Malloc'
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1133: error: 'ffi_type'
was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1133: error: 'arg_types'
was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1133: error: expected
primary-expression before ')' token
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1133: error: expected `;'
before '_Jv_Malloc'
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1134: error:
'ffi_type_void' was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1138: error:
'FFI_DEFAULT_ABI' was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1139: error:
'ffi_prep_cif' was not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1139: error: 'FFI_OK' was
not declared in this scope
/home/rearnsha/gnusrc/gcc-cross/trunk/libjava/link.cc:1143: error:
'ffi_prep_closure' was not declared in this scope
gnumake[5]: *** [link.lo] Error 1


-- 
           Summary: [4.2 regression] libjava fails to compile
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: blocker
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rearnsha at gcc dot gnu dot org
GCC target triplet: arm-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
@ 2006-02-02 12:40 ` pinskia at gcc dot gnu dot org
  2006-02-02 12:56 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-02 12:40 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |libgcj
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
  2006-02-02 12:40 ` [Bug libgcj/26073] " pinskia at gcc dot gnu dot org
@ 2006-02-02 12:56 ` pinskia at gcc dot gnu dot org
  2006-02-02 19:28 ` thebohemian at gmx dot net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-02 12:56 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-02 12:56:09
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
  2006-02-02 12:40 ` [Bug libgcj/26073] " pinskia at gcc dot gnu dot org
  2006-02-02 12:56 ` pinskia at gcc dot gnu dot org
@ 2006-02-02 19:28 ` thebohemian at gmx dot net
  2006-02-03 13:47 ` rschuster at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: thebohemian at gmx dot net @ 2006-02-02 19:28 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from thebohemian at gmx dot net  2006-02-02 19:28 -------
Posted a patch to fix the issue:
http://gcc.gnu.org/ml/java-patches/2006-q1/msg00139.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-02-02 19:28 ` thebohemian at gmx dot net
@ 2006-02-03 13:47 ` rschuster at gcc dot gnu dot org
  2006-02-04  2:47 ` tromey at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rschuster at gcc dot gnu dot org @ 2006-02-03 13:47 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from rschuster at gcc dot gnu dot org  2006-02-03 13:47 -------
Subject: Bug 26073

Author: rschuster
Date: Fri Feb  3 13:47:51 2006
New Revision: 110543

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110543
Log:
Fixes PR #26073.

2006-02-03  Robert Schuster  <robertschuster@fsfe.org>

        * include/jvm.h:
        (_Jv_Linker::create_error_method): New method declaration.
        * link.cc:
        (_Jv_Linker::create_error_method): New method.
        (_Jv_Linker::link_symbol_table): Use new method above.


Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/include/jvm.h
    trunk/libjava/link.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-02-03 13:47 ` rschuster at gcc dot gnu dot org
@ 2006-02-04  2:47 ` tromey at gcc dot gnu dot org
  2006-02-15 22:19 ` ro at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-02-04  2:47 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from tromey at gcc dot gnu dot org  2006-02-04 02:47 -------
I believe this is fixed in svn.
Please reopen if it still fails.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-02-04  2:47 ` tromey at gcc dot gnu dot org
@ 2006-02-15 22:19 ` ro at gcc dot gnu dot org
  2006-03-03 18:12 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu dot org @ 2006-02-15 22:19 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from ro at gcc dot gnu dot org  2006-02-15 22:19 -------
Unfortunately, the bug still exists on mips-sgi-irix6.5 as of 20060210: while
USE_LIBFFI is defined as 1, INTERPRETER is not.  Unfortunately,
libjava/include/java-interp.h only includes ffi.h iff INTERPRETER is defined.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org, ro at gcc dot gnu dot
                   |                            |org
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-02-15 22:19 ` ro at gcc dot gnu dot org
@ 2006-03-03 18:12 ` pinskia at gcc dot gnu dot org
  2006-03-07 18:16 ` tromey at gcc dot gnu dot org
  2006-03-07 18:29 ` daney at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-03 18:12 UTC (permalink / raw)
  To: java-prs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-03-03 18:12 ` pinskia at gcc dot gnu dot org
@ 2006-03-07 18:16 ` tromey at gcc dot gnu dot org
  2006-03-07 18:29 ` daney at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-03-07 18:16 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from tromey at gcc dot gnu dot org  2006-03-07 18:16 -------
I think this was just fixed by David Daney:

http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111815


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug libgcj/26073] [4.2 regression] libjava fails to compile
  2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-03-07 18:16 ` tromey at gcc dot gnu dot org
@ 2006-03-07 18:29 ` daney at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: daney at gcc dot gnu dot org @ 2006-03-07 18:29 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from daney at gcc dot gnu dot org  2006-03-07 18:29 -------
Should be fixed by the patch I just committed.


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daney at gcc dot gnu dot org
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26073


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-03-07 18:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-02  9:40 [Bug java/26073] New: [4.2 regression] libjava fails to compile rearnsha at gcc dot gnu dot org
2006-02-02 12:40 ` [Bug libgcj/26073] " pinskia at gcc dot gnu dot org
2006-02-02 12:56 ` pinskia at gcc dot gnu dot org
2006-02-02 19:28 ` thebohemian at gmx dot net
2006-02-03 13:47 ` rschuster at gcc dot gnu dot org
2006-02-04  2:47 ` tromey at gcc dot gnu dot org
2006-02-15 22:19 ` ro at gcc dot gnu dot org
2006-03-03 18:12 ` pinskia at gcc dot gnu dot org
2006-03-07 18:16 ` tromey at gcc dot gnu dot org
2006-03-07 18:29 ` daney at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).