This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes.  It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
Format: 1.8
Date: Tue, 16 Nov 2010 13:54:56 +0000
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source
Version: 1.15.8.5ubuntu2
Distribution: natty
Urgency: low
Maintainer: Ubuntu Developers <[email protected]>
Changed-By: James Hunt <[email protected]>
Description: 
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Launchpad-Bugs-Fixed: 674146
Changes: 
 dpkg (1.15.8.5ubuntu2) natty; urgency=low
 .
   * debian/rules: Disabled compiler optimizations on arch "armel" (LP: #674146)
     This is a temporary work-around until we can identify the cause of the
     stack corruption and subsequent SIGSEGV.
Checksums-Sha1: 
 458cae4f07d642d2f9c96278eaa0e979f00de623 2011 dpkg_1.15.8.5ubuntu2.dsc
 8d72d60bb7d4eed44ff275015a1f8ffc4fa9b5cb 5191747 dpkg_1.15.8.5ubuntu2.tar.bz2
Checksums-Sha256: 
 77d6aae39e2a0a1b256d3b202e01395b3525b00fefed92c155e5bb0e2ee738d6 2011 
dpkg_1.15.8.5ubuntu2.dsc
 493beb4972e4cfe1ad9668bc11a17941b5651fadbe539ec52694273128e102d6 5191747 
dpkg_1.15.8.5ubuntu2.tar.bz2
Files: 
 c8443315c0068a667638d249bea2fb11 2011 admin required dpkg_1.15.8.5ubuntu2.dsc
 2506172d549ec098c276f25343961cd9 5191747 admin required 
dpkg_1.15.8.5ubuntu2.tar.bz2
Original-Maintainer: Dpkg Developers <[email protected]>
diff -pruN 1.15.8.5ubuntu1/debian/changelog 1.15.8.5ubuntu2/debian/changelog
--- 1.15.8.5ubuntu1/debian/changelog    2010-10-11 16:09:13.000000000 +0100
+++ 1.15.8.5ubuntu2/debian/changelog    2010-11-17 16:14:06.000000000 +0000
@@ -1,3 +1,11 @@
+dpkg (1.15.8.5ubuntu2) natty; urgency=low
+
+  * debian/rules: Disabled compiler optimizations on arch "armel" (LP: #674146)
+    This is a temporary work-around until we can identify the cause of the
+    stack corruption and subsequent SIGSEGV.
+
+ -- James Hunt <[email protected]>  Tue, 16 Nov 2010 13:54:56 +0000
+
 dpkg (1.15.8.5ubuntu1) natty; urgency=low
 
   * Resynchronise with Debian.  Remaining changes:
diff -pruN 1.15.8.5ubuntu1/debian/rules 1.15.8.5ubuntu2/debian/rules
--- 1.15.8.5ubuntu1/debian/rules        2010-10-11 16:09:13.000000000 +0100
+++ 1.15.8.5ubuntu2/debian/rules        2010-11-17 16:14:06.000000000 +0000
@@ -7,13 +7,27 @@ WFLAGS := -Wall -Wextra -Wno-unused-para
 CFLAGS = -g $(WFLAGS)
 CXXFLAGS = -g $(WFLAGS)
 
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
 # Disable optimisations if ‘noopt’ found in $DEB_BUILD_OPTIONS
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
        CXXFLAGS += -O0
 else
-       CFLAGS += -O2
-       CXXFLAGS += -O2
+  # work around for lp:#674146 (where gcc-4.5 generates invalid "-O2" code)
+  ifeq (armel,$(DEB_HOST_ARCH))
+    $(warning WARNING: * * * * * * * * * * * * * * * * * * * * * * * * * * *)
+    $(warning WARNING: )
+    $(warning WARNING: Disabling compiler optimizations on arch 
$(DEB_HOST_ARCH).)
+    $(warning WARNING: (see bug lp:#674146 for details))
+    $(warning WARNING: )
+    $(warning WARNING: * * * * * * * * * * * * * * * * * * * * * * * * * * *)
+    CFLAGS += -O0
+    CXXFLAGS += -O0
+  else
+    CFLAGS += -O2
+    CXXFLAGS += -O2
+  endif
 endif
 
 # These are used for cross-compiling and for saving the configure script

Reply via email to