Bug#394396: FTBFS: gcj-dbtool segfaults on arm

Wookey wookey at aleph1.co.uk
Sat Oct 21 01:56:50 CEST 2006


Package: ecj-bootstrap
Version: 3.2.1-3
Tags: patch

gcj-dbtool segfaults on arm (and hppa). (See #388505, GCC PR29206)

Until this is solved the hppa workaround needs to be extended to
include arm:

This patch is not yet tested, but is sufficiently trivial that it
should just work. 

patch
--- rules~      2006-10-21 00:30:50.000000000 +0100
+++ rules       2006-10-21 00:46:03.796400208 +0100
@@ -96,7 +96,7 @@
        find build/dist -name '*.jar.*.jar' | xargs -r rm -f
 ifeq ($(with_native),yes)
        : # ecj.jar.so
-  ifneq (,$(filter $(DEB_HOST_ARCH), hppa))
+  ifneq (,$(filter $(DEB_HOST_ARCH), hppa arm))
        $(GCJ) \
            -O2 -g -Wl,-Bsymbolic,-O1 -shared -fPIC -fjni -findirect-dispatch \
            -o build/dist/ecj.jar.so build/dist/ecj.jar
						 

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/                 play: http://wookware.org/




More information about the pkg-java-maintainers mailing list