Womble's FP fix above works, but I found that I also needed to use -O1
in the jikes build otherwise it just hung forever when processing
test.java to test.class.
I built it on leisner with the following patch:
--- jikes-1.22/debian/rules 2006-10-20 23:32:46.000000000 +0100
+++ rules 2006-10-20 23:30:05.398652000 +0100
@@ -10,6 +10,17 @@
export CXXFLAGS
endif
+#hangs on arm unless this is done
+ifeq ($(DEB_BUILD_GNU_TYPE),arm-linux-gnu )
+ CXXFLAGS := -O1
+ export CXXFLAGS
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CXXFLAGS += -DJIKES_DEBUG
+ export CXXFLAGS
+endif
+
build: build-stamp
build-stamp:
--END--
then did ./jikes --bootclasspath rt.jar test.java
where rt.jar is taken out of gij-4.1 (from x86) and test.java is
Adam's above test-case
then copied the resulting test.class file over to x86 machine ran
test java
Boltzmann: 1.3806503E-23
As you can see I also took the opportunity to add some code to check
DEB_BUILD_OPTIONS and enabled debug. This seems like a useful
enhancement but is not relevant to this particular bug.
Wookey
--
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]