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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/600278

Title:
  fails to build on armel in maverick

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/600278/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to