From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 427 invoked by alias); 18 May 2011 05:26:27 -0000 Received: (qmail 402 invoked by uid 22791); 18 May 2011 05:26:27 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GC,TW_GX,T_HK_NAME_FROM X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 May 2011 05:26:13 +0000 From: "from.gcc_bugzilla at jdlh dot com" To: java-prs@gcc.gnu.org Subject: [Bug java/49036] New: gcj-mp-4.5: Internal error: Abort trap (program ecj1) on Mac OS X 10.5.8 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: from.gcc_bugzilla at jdlh dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 18 May 2011 05:26:00 -0000 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: 2011-q2/txt/msg00029.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49036 Summary: gcj-mp-4.5: Internal error: Abort trap (program ecj1) on Mac OS X 10.5.8 Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: java AssignedTo: unassigned@gcc.gnu.org ReportedBy: from.gcc_bugzilla@jdlh.com Created attachment 24274 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24274 Source file Anchor.java, test case for this bug (GPL). Please be gentle with me, an end user of Mac Ports, swimming upstream to report a build problem to GCC as requested by the error message. I am not from this land, and I do not know your ways. But I've filed bug reports before, so I'll give it a shot. Building Mac Ports project "pdftk" with gcj 4.5.3 fails with an error message, gcj-mp-4.5: Internal error: Abort trap (program ecj1) for several files in the pdftk source tree. The exact version of GCC: gcj 4.5.3 The system type: Mac OS X 10.5.8 The options given when GCC was configured/built: unknown, I don't know how to retrieve this information. Mac Ports built project "gcc45" because it was required by project "pdftk". The complete command line that triggers the bug: % /opt/local/bin/gcj-mp-4.5 -v -save-temps -td tmp -Wall -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/opt/local/share/java/libgcj-4.5.3.jar:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdftk/work/pdftk-1.44-dist/java:." -C com/lowagie/text/Anchor.java The compiler output (error messages, warnings, etc.): Using built-in specs. COLLECT_GCC=/opt/local/bin/gcj-mp-4.5 COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/i386-apple-darwin9/4.5.3/lto-wrapper gcj-mp-4.5: unrecognized option '-td' Target: i386-apple-darwin9 Configured with: ../gcc-4.5.3/configure --prefix=/opt/local --build=i386-apple-darwin9 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable-multilib Thread model: posix gcc version 4.5.3 (GCC) COLLECT_GCC_OPTIONS='-fsaw-java-file' '-mmacosx-version-min=10.5.8' '-v' '-save-temps' '-td' '-Wall' '-fsource=1.3' '-O2' '-fencoding=UTF-8' '-C' '-fbootclasspath=/opt/local/share/java/libgcj-4.5.3.jar:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdftk/work/pdftk-1.44-dist/java/:./:/opt/local/share/gcc-4.5/java/libgcj-4.5.3.jar' '-fsyntax-only' '-femit-class-files' '-S' '-o' 'NONE' '-shared-libgcc' '-mtune=generic' /opt/local/libexec/gcc/i386-apple-darwin9/4.5.3/ecj1 com/lowagie/text/Anchor.java -Wall -fbootclasspath=/opt/local/share/java/libgcj-4.5.3.jar:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdftk/work/pdftk-1.44-dist/java/:./:/opt/local/share/gcc-4.5/java/libgcj-4.5.3.jar -fencoding=UTF-8 -fsource=1.3 -ftarget=1.5 -fzip-dependency Anchor.zip gcj-mp-4.5: Internal error: Abort trap (program ecj1) Please submit a full bug report. See for instructions. The preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command: Unable to comply. I don't know where the gcj compiler stores preprocessed files. The -td directive doesn't appear to put temp files in the specified directory; note that in the command line above I specified "-td tmp", and GCJ included only "-td" and not the directory name "tmp" in its COLLECT_GCC_OPTIONS . I'm attaching the source file from the above command line, com/lowagie/text/Anchor.java, in case that's any help. I'm not familiar with GCJ, so I don't know how to figure out which dependent files its using. This problem is the subject of Mac Ports bug report "Error Installing PDFTK" at https://trac.macports.org/ticket/27154 . Comments there indicate that using GCC 4.2 caused the code to compile successfully. I have not tried any newer versions of GCJ; I'm using the build process and compiler choices which Mac Ports provides. Once I get this bug report submitted, I'll try using Mac Ports to build pdftk with GCJ 4.2.x. If I can supply more information, I'm happy to.