public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/43302] New: [Regression] gcc creates "dummy" resources in object files @ 2010-03-09 9:22 michele at focuseek dot com 2010-03-09 9:25 ` [Bug java/43302] " michele at focuseek dot com ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: michele at focuseek dot com @ 2010-03-09 9:22 UTC (permalink / raw) To: java-prs gcj adds a java resource named ".dummy" to most (all?) the object file it produces. That resource doesn't appear anywhere in the sources. This is a problem when I try to link an application made from multiple .o produced by separate gcj invocations: I get the link-time error: multiple definition of `java resource .dummy' Also this is a regression as gcj 4.2.2 didn't add it and thus the linker didn't complain. gcc was built with the following options: ../gcc-4.4.3/configure --prefix="/opt/focuseek-build-fsk" \ --program-suffix=-fsk \ --enable-languages=c,c++,java \ --enable-shared --enable-threads \ --enable-__cxa_atexit \ --enable-libgcj-multifile on a centos 5.4. The md5 for ecj.jar is d7cd6a27c8801e66cbaa964a039ecfdb which, as of today, is what contrib/download_ecj retrieves. I'm aware of bug 42143 but I'm not able to say whether this is the same bug or another one. I will attach a test case as soon as possible. -- Summary: [Regression] gcc creates "dummy" resources in object files Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: michele at focuseek dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43302 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/43302] [Regression] gcc creates "dummy" resources in object files 2010-03-09 9:22 [Bug java/43302] New: [Regression] gcc creates "dummy" resources in object files michele at focuseek dot com @ 2010-03-09 9:25 ` michele at focuseek dot com 2010-03-10 8:30 ` michele at focuseek dot com 2010-05-03 18:37 ` glarkin at FreeBSD dot org 2 siblings, 0 replies; 5+ messages in thread From: michele at focuseek dot com @ 2010-03-09 9:25 UTC (permalink / raw) To: java-prs ------- Comment #1 from michele at focuseek dot com 2010-03-09 09:25 ------- Created an attachment (id=20053) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20053&action=view) A simple test exhibiting the .dummy resources problem As I said this works with gcc 4.2.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43302 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/43302] [Regression] gcc creates "dummy" resources in object files 2010-03-09 9:22 [Bug java/43302] New: [Regression] gcc creates "dummy" resources in object files michele at focuseek dot com 2010-03-09 9:25 ` [Bug java/43302] " michele at focuseek dot com @ 2010-03-10 8:30 ` michele at focuseek dot com 2010-05-03 18:37 ` glarkin at FreeBSD dot org 2 siblings, 0 replies; 5+ messages in thread From: michele at focuseek dot com @ 2010-03-10 8:30 UTC (permalink / raw) To: java-prs ------- Comment #2 from michele at focuseek dot com 2010-03-10 08:30 ------- Experimenting with -save-temps I noticed that the .dummy resource is in the .jar generated by ecj which seems to point to it as the main suspect. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43302 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/43302] [Regression] gcc creates "dummy" resources in object files 2010-03-09 9:22 [Bug java/43302] New: [Regression] gcc creates "dummy" resources in object files michele at focuseek dot com 2010-03-09 9:25 ` [Bug java/43302] " michele at focuseek dot com 2010-03-10 8:30 ` michele at focuseek dot com @ 2010-05-03 18:37 ` glarkin at FreeBSD dot org 2 siblings, 0 replies; 5+ messages in thread From: glarkin at FreeBSD dot org @ 2010-05-03 18:37 UTC (permalink / raw) To: java-prs ------- Comment #3 from glarkin at FreeBSD dot org 2010-05-03 18:37 ------- (In reply to comment #2) > Experimenting with -save-temps I noticed that the .dummy resource is in the > .jar generated by ecj which seems to point to it as the main suspect. > I believe that's correct - please see: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42143#c7 Thank you, Greg Larkin -- glarkin at FreeBSD dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glarkin at FreeBSD dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43302 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-43302-8172@http.gcc.gnu.org/bugzilla/>]
* [Bug java/43302] [Regression] gcc creates "dummy" resources in object files [not found] <bug-43302-8172@http.gcc.gnu.org/bugzilla/> @ 2012-11-09 23:21 ` steven at gcc dot gnu.org 0 siblings, 0 replies; 5+ messages in thread From: steven at gcc dot gnu.org @ 2012-11-09 23:21 UTC (permalink / raw) To: java-prs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43302 Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |steven at gcc dot gnu.org Resolution| |INVALID --- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> 2012-11-09 23:21:02 UTC --- If it comes from ecj, it's not a gcc bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-09 23:21 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-03-09 9:22 [Bug java/43302] New: [Regression] gcc creates "dummy" resources in object files michele at focuseek dot com 2010-03-09 9:25 ` [Bug java/43302] " michele at focuseek dot com 2010-03-10 8:30 ` michele at focuseek dot com 2010-05-03 18:37 ` glarkin at FreeBSD dot org [not found] <bug-43302-8172@http.gcc.gnu.org/bugzilla/> 2012-11-09 23:21 ` steven at gcc dot gnu.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).