From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18391 invoked by alias); 9 Mar 2010 09:22:58 -0000 Received: (qmail 18371 invoked by uid 48); 9 Mar 2010 09:22:58 -0000 Date: Tue, 09 Mar 2010 09:22:00 -0000 Subject: [Bug java/43302] New: [Regression] gcc creates "dummy" resources in object files X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "michele at focuseek dot com" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2010-q1/txt/msg00137.txt.bz2 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