public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ngmlinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/23662] New: Binaries generated by arm-linux-gcj segfault on execution on arm target
Date: Wed, 31 Aug 2005 20:59:00 -0000	[thread overview]
Message-ID: <20050831205412.23662.ngmlinux@gmail.com> (raw)

A similar bug was reported against 3.1 (# 5487).  A new bug is being opened as
that bug had been misreported as fixed against 3.1 and has since been closed.

I've been able to reproduce the same exact issue in arm-linux-gcc-4.0.1 as
reported in Bug # 5487 against gcc-3.1 which I build from source by the
following process:
===code============================================================
../configure --target=arm-linux --with-gnu-as --with-gnu-ld
--enable-multilib --enable-languages=c,c++,java --disable-nls --nfp
--with-cpu-xscale --with-softfloat-support=internal
make
make install
===================================================================

I then compiled a HelloWorld.java App using the newly created gcj as follows:
===code============================================================
/usr/local/bin/arm-linux-gcj -static HelloWorld.java
--main=HelloWorldApp -g -o HelloWorld.exe
===================================================================

Compilation seemed to go fine without errors.  HelloWorld.exe appears to be a
correctly formated binary according to "file":
===code============================================================
HelloWorld.exe: ELF 32-bit LSB executable, Advanced RISC Machines ARM, version
1, statically linked, not stripped
===================================================================

The binary was then downloaded to a PXA-255 based system running armcore-2.6.7
linux.  Upon execution the executable reports the segmentation fault:
===code============================================================
[root@ARMCore test]$ ./HelloWorld.exe
Segmentation fault
===================================================================

-- 
           Summary: Binaries generated by arm-linux-gcj segfault on
                    execution on arm target
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ngmlinux at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
  GCC host triplet: x86, x86_64
GCC target triplet: arm


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23662


             reply	other threads:[~2005-08-31 20:54 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-31 20:59 ngmlinux at gmail dot com [this message]
2005-08-31 21:03 ` [Bug java/23662] " ngmlinux at gmail dot com
2005-08-31 21:04 ` [Bug boehm-gc/23662] " pinskia at gcc dot gnu dot org
2005-08-31 21:10 ` pinskia at gcc dot gnu dot org
2005-08-31 21:21 ` pinskia at gcc dot gnu dot org
2005-09-01  0:57 ` ngmlinux at gmail dot com
2005-09-01  1:02 ` ngmlinux at gmail dot com
2005-09-01  1:04 ` ngmlinux at gmail dot com
2005-09-01  1:08 ` pinskia at gcc dot gnu dot org
2005-09-01  1:40 ` ngmlinux at gmail dot com
2005-09-01  9:36 ` rmathew at gcc dot gnu dot org
2005-09-01 19:46 ` ngmlinux at gmail dot com
2005-09-02  9:42 ` rmathew at gcc dot gnu dot org
2005-09-02 17:16 ` tromey at gcc dot gnu dot org
2005-09-04  0:14 ` ngmlinux at gmail dot com
2005-09-04  2:35 ` ngmlinux at gmail dot com
2005-09-04  3:25 ` ngmlinux at gmail dot com
2005-09-04  4:07   ` Andrew Pinski
2005-09-04  3:52 ` ngmlinux at gmail dot com
2005-09-04  4:07 ` pinskia at physics dot uc dot edu
2005-09-04  4:20 ` ngmlinux at gmail dot com
2005-09-04  4:22 ` pinskia at gcc dot gnu dot org
2005-09-04  5:03 ` ngmlinux at gmail dot com
2005-09-06 14:21 ` cvs-commit at gcc dot gnu dot org
2005-09-06 14:22 ` cvs-commit at gcc dot gnu dot org
2005-09-06 14:23 ` tromey at gcc dot gnu dot org
2005-09-07 14:07 ` pinskia 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=20050831205412.23662.ngmlinux@gmail.com \
    --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: link
Be 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).