openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #06636
[Bug 600278] Re: fails to build on armel in maverick
Launchpad has imported 5 comments from the remote bug at
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=514.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2010-06-25T11:31:31+00:00 Matthias Klose wrote:
icedtea6 20100624:
Linking launcher...
make[9]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk.build/hotspot/outputdir/linux_arm_shark/product'
All done.
make[8]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk.build/hotspot/outputdir/linux_arm_shark/product'
cd linux_arm_shark/product && ./test_gamma
java full version "1.6.0_20-b20"
UNREACHABLE executed!
Stack dump:
0. Running pass 'ARM Machine Code Emitter' on function '@"sun.nio.cs.US_ASCII$Encoder::encodeArrayLoop"'
Aborted
make[7]: *** [productshark] Error 134
Reply at: https://bugs.launchpad.net/openjdk/+bug/600278/comments/0
------------------------------------------------------------------------
On 2010-06-29T08:53:39+00:00 Gbenson wrote:
What LLVM is this?
Reply at: https://bugs.launchpad.net/openjdk/+bug/600278/comments/1
------------------------------------------------------------------------
On 2010-06-29T08:54:55+00:00 Matthias Klose wrote:
2.7 release
Reply at: https://bugs.launchpad.net/openjdk/+bug/600278/comments/2
------------------------------------------------------------------------
On 2010-06-29T09:12:56+00:00 Xerxes Rånby wrote:
are you using the ARM or THUMB llvm backend?
If you are using the THUMB backend then you are probably hitting LLVM PR 6223
http://llvm.org/bugs/show_bug.cgi?id=6223
If you are using the ARM backend and have enabled -mattr=+neon then you are probably hitting LLVM PR 6561
http://llvm.org/bugs/show_bug.cgi?id=6561
in both cases you hit the unreachanble because the llvm jit cant jit
thumb/neon instructions.
Reply at: https://bugs.launchpad.net/openjdk/+bug/600278/comments/3
------------------------------------------------------------------------
On 2010-07-19T14:43:42+00:00 Xerxes Rånby wrote:
llvm/lib/System/Unix/Host.inc contain this switch at LLVM compiletime:
// FIXME: We need to pick the right ARM triple (which involves querying the
// chip). However, for now this is most important for LLVM arch selection, so
// we only need to make sure to distinguish ARM and Thumb.
# if defined(__thumb__)
Arch = "thumb";
# else
Arch = "arm";
# endif
This makes llvm use the thumb JIT backend by default when compiling with
a thumb toolchain, unfortunally the thumb jit backend are not
implemented, see http://llvm.org/bugs/show_bug.cgi?id=6223 and thats why
you are hitting this bug.
you can pass -march=arm or -mtriple=arm to the JIT at runtime to force
llvm to use the implemented ARM JIT
Reply at: https://bugs.launchpad.net/openjdk/+bug/600278/comments/10
** Bug watch added: llvm.org/bugs/ #6561
http://llvm.org/bugs/show_bug.cgi?id=6561
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/600278
Title:
fails to build on armel in maverick
Status in OpenJDK:
In Progress
Status in “openjdk-6” package in Ubuntu:
Fix Released
Bug description:
the build of openjdk-6 6b20~pre1-0ubuntu2 fails to build from source in maverick.
below is a snippet from the build log which can be found at:
http://launchpadlibrarian.net/50884418/buildlog_ubuntu-maverick-armel
.openjdk-6_6b20~pre1-0ubuntu2_FAILEDTOBUILD.txt.gz
Linking launcher...
make[9]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk.build/hotspot/outputdir/linux_arm_shark/product'
All done.
make[8]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk.build/hotspot/outputdir/linux_arm_shark/product'
cd linux_arm_shark/product && ./test_gamma
java full version "1.6.0_20-b20"
UNREACHABLE executed!
Stack dump:
0. Running pass 'ARM Machine Code Emitter' on function '@"sun.nio.cs.US_ASCII$Encoder::encodeArrayLoop"'
Aborted
make[7]: *** [productshark] Error 134
make[7]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk.build/hotspot/outputdir'
make[6]: *** [generic_buildshark] Error 2
make[6]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk/hotspot/make'
make[5]: *** [productshark] Error 2
make[5]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk/hotspot/make'
make[4]: *** [hotspot-build] Error 2
make[4]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk'
make[3]: *** [build_product_image] Error 2
make[3]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm/openjdk'
make[2]: *** [stamps/icedtea.stamp] Error 2
make[2]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build/zerovm'
make[1]: *** [stamps/add-zero.stamp] Error 2
make[1]: Leaving directory `/build/buildd/openjdk-6-6b20~pre1/build'
/bin/bash: line 5: kill: (4035) - No such process
make: *** [stamps/build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20100625-0649
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/openjdk-6-6b20~pre1
To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/600278/+subscriptions
References