tags 390199 patch
thanks
Attached is a patch which updates ptex-bin to build jmpost (actually, all of
web2c and subdirs) with -O0 only on hppa. Given the way the makefiles are
structured, this was considerably easier than trying to build just the one
object file with -O0; I think hppa will be able to cope with the lack of
optimization for the time being.
I'm going to go ahead and upload this to incoming as an NMU.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
diff -u ptex-bin-3.1.10~beta3+0.04b/debian/rules
ptex-bin-3.1.10~beta3+0.04b/debian/rules
--- ptex-bin-3.1.10~beta3+0.04b/debian/rules
+++ ptex-bin-3.1.10~beta3+0.04b/debian/rules
@@ -33,6 +33,15 @@
####################
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
+CFLAGS := -g
+ifeq (hppa-linux-gnu,$(DEB_HOST_GNU_TYPE))
+CFLAGS += -O0
+else
+CFLAGS += -O2
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -70,6 +79,7 @@
--enable-shared)
# For web2c
(cd $(TETEX_SRC_DIR)/texk/web2c && \
+ CFLAGS="$(CFLAGS)" \
./configure --prefix=/usr --without-dialog --without-texinfo \
--with-system-ncurses --with-x --with-system-zlib \
--with-system-pnglib --disable-multiplatform \
diff -u ptex-bin-3.1.10~beta3+0.04b/debian/changelog
ptex-bin-3.1.10~beta3+0.04b/debian/changelog
--- ptex-bin-3.1.10~beta3+0.04b/debian/changelog
+++ ptex-bin-3.1.10~beta3+0.04b/debian/changelog
@@ -1,3 +1,12 @@
+ptex-bin (3.1.10~beta3+0.04b-2.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for RC bugfix.
+ * Build with -O0 on hppa to work around a gcc ICE
+ jmpost-0.04b/pdvitomp.c. Closes: #390199.
+
+ -- Steve Langasek <[EMAIL PROTECTED]> Fri, 10 Nov 2006 21:59:02 -0800
+
ptex-bin (3.1.10~beta3+0.04b-2) unstable; urgency=high
* Fixed Depends: texlive-math-base -> texlive-math-extra, so now it can
really be installed with TeXLive - closes: #394481