tags 498053 +patch
forcemerge 498053 492538
thanks
disabling optimisation seems to fix this, attatched is a patch to do so
for arm only.
diff -ur vtk-5.0.4/debian/rules vtk-5.0.4.new/debian/rules
--- vtk-5.0.4/debian/rules 2008-10-08 20:26:39.000000000 +0100
+++ vtk-5.0.4.new/debian/rules 2008-10-06 22:20:33.000000000 +0100
@@ -28,13 +28,23 @@
export TCLLIBPATH=$(CURDIR)/Build/Wrapping/Tcl/
export CFLAGS=-g -Wall
+DEB_BUILD_ARCH ?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-CFLAGS += -O0
-CXXFLAGS += -O0
+ CFLAGS += -O0
+ CXXFLAGS += -O0
else
-CFLAGS += -O2
-CXXFLAGS += -O2
+ #optimisation seems to cause a segfault on
+ #arm old abi so disable it
+ ifeq ($(DEB_BUILD_ARCH),arm)
+ CFLAGS += -O0
+ CXXFLAGS += -O0
+ else
+ CFLAGS += -O2
+ CXXFLAGS += -O2
+ endif
endif
+
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif