Bug#467486: kaffe: Builds broken package with gcc-4.3

Thomas Viehmann tv at beamnet.de
Tue Oct 14 18:57:40 UTC 2008


tags 467486 + patch pending
thanks

Luk Claes Wrote:
> Can we expect an upload shortly to fix this bug? It looks like
> building with gcc-4.2 is the safest option?

We can always hope for an upload. In particular, the FileTest.java
test results when compiling with gcc vs. gcc-4.2 seem to match the
description very well.
Test success is strictly increasing here and as noone else seems to
want to take a shot I'm uploading the following NMU.

Kind regards

T.


diff -u kaffe-1.1.8/debian/rules kaffe-1.1.8/debian/rules
--- kaffe-1.1.8/debian/rules
+++ kaffe-1.1.8/debian/rules
@@ -16,7 +16,7 @@
 
 
 # these values can be overwritten in the rules.$(DEB_BUILD_GNU_TYPE) files
-CC		:= gcc
+CC		:= gcc-4.2
 COMPILER_JIKES	:= 
 COMPILER_ECJ	:= 1
 ENABLE_SOUND 	:= yes
diff -u kaffe-1.1.8/debian/control kaffe-1.1.8/debian/control
--- kaffe-1.1.8/debian/control
+++ kaffe-1.1.8/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Ean R. Schuessler <ean at novare.net>, Arnaud Vandyck <avdyk at debian.org>, Adam Heath <doogie at brainfood.com>, Michael Koch <konqueror at gmx.de>, Jeroen van Wolffelaar <jeroen at wolffelaar.nl>
-Build-Depends: debhelper (>= 5), libpng12-dev, libjpeg62-dev, libungif4-dev, zlib1g-dev, libgmp3-dev, xutils, dbs, zip, fastjar, ecj-gcj (>= 3.3) [!alpha !arm !hppa !hurd-i386], gij-4.2 [!alpha !arm !hppa !hurd-i386], libgtk2.0-dev, libart-2.0-dev, libxml2-dev, libxslt1-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libesd0-dev, libcairo2-dev, libxtst-dev, libx11-dev, libxext-dev, libice-dev, libxt-dev, libgconf2-dev
+Build-Depends: debhelper (>= 5), libpng12-dev, libjpeg62-dev, libungif4-dev, zlib1g-dev, libgmp3-dev, xutils, dbs, zip, fastjar, ecj-gcj (>= 3.3) [!alpha !arm !hppa !hurd-i386], gij-4.2 [!alpha !arm !hppa !hurd-i386], libgtk2.0-dev, libart-2.0-dev, libxml2-dev, libxslt1-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libesd0-dev, libcairo2-dev, libxtst-dev, libx11-dev, libxext-dev, libice-dev, libxt-dev, libgconf2-dev, gcc-4.2
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/kaffe
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/kaffe
diff -u kaffe-1.1.8/debian/changelog kaffe-1.1.8/debian/changelog
--- kaffe-1.1.8/debian/changelog
+++ kaffe-1.1.8/debian/changelog
@@ -1,3 +1,12 @@
+kaffe (2:1.1.8-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use gcc-4.2 to avoid gcc using only lowest 8 bits and kaffe
+    compiled code using all bits for truth value testing.
+    Closes: #467486
+
+ -- Thomas Viehmann <tv at beamnet.de>  Tue, 14 Oct 2008 17:54:35 +0200
+
 kaffe (2:1.1.8-5) unstable; urgency=low
 
   * Build-Depends on default-jdk-builddep. Closes: #477868





More information about the pkg-java-maintainers mailing list