This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/26073] New: [4.2 regression] libjava fails to compile


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]