public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug java/26073] New: [4.2 regression] libjava fails to compile Date: Thu, 02 Feb 2006 09:40:00 -0000 [thread overview] Message-ID: <bug-26073-374@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2006-02-02 9:40 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-02-02 9:40 rearnsha at gcc dot gnu dot org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26073-374@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).