Package: wterm Version: 6.2.9-6.2 Followup-For: Bug #329286 Hello,
wterm is currently compiled using the -O3 switch. I've tested compiling wterm with -O2 on m68k and it worked. (Thanks to Ingo Juergensmann for providing me a test account) Because -O2 is the recommended optimisation level according to Debian Policy anyway, the attached patch takes the easy way and builds on all architectures using -O2, rather than setting the optimization level down for m68k only. However: http://www.grep.be/blog/2005/09/19/#two_characters "might" probably make this patch redundant in the future -- well, at least for this bugreport. It claims to fix some GCC 4.0 segmentation faults related to -O3 optimization. René -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-k7 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages wterm depends on: ii base-passwd 3.5.10 Debian base system master password ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libice6 6.8.2.dfsg.1-7 Inter-Client Exchange library ii libsm6 6.8.2.dfsg.1-7 X Window System Session Management ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii libxpm4 6.8.2.dfsg.1-7 X pixmap library ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m wterm recommends no packages.
diff -u wterm-6.2.9/debian/rules wterm-6.2.9/debian/rules --- wterm-6.2.9/debian/rules +++ wterm-6.2.9/debian/rules @@ -20,7 +20,7 @@ --x-includes=/usr/$(xvers)/include \ --enable-xgetdefault \ --with-term=rxvt - $(MAKE) CFLAGS='-O3 -g -Wall' all + $(MAKE) CFLAGS='-O2 -g -Wall' all mv src/wterm src/wterm-std touch build-std @@ -34,7 +34,7 @@ --enable-xgetdefault \ --with-term=rxvt \ --enable-kanji - $(MAKE) CFLAGS='-O3 -g -Wall' all + $(MAKE) CFLAGS='-O2 -g -Wall' all mv src/wterm src/kwterm ./configure --prefix=/usr \ --mandir='$${prefix}/share/man' \ @@ -44,7 +44,7 @@ --enable-xgetdefault \ --with-term=rxvt \ --enable-big5 - $(MAKE) CFLAGS='-O3 -g -Wall' all + $(MAKE) CFLAGS='-O2 -g -Wall' all mv src/wterm src/cwterm ./configure --prefix=/usr \ --mandir='$${prefix}/share/man' \ @@ -54,7 +54,7 @@ --enable-xgetdefault \ --with-term=rxvt \ --enable-greek - $(MAKE) CFLAGS='-O3 -g -Wall' all + $(MAKE) CFLAGS='-O2 -g -Wall' all mv src/wterm src/gwterm touch build-ml