[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780000: marked as done (gcc-4.9: LTO makes the build unreproducible)



Your message dated Fri, 10 Apr 2015 22:18:36 +0000
with message-id <E1YghG0-0004Y1-HS@franck.debian.org>
and subject line Bug#777753: fixed in apt-cacher-ng 0.8.1-1
has caused the Debian Bug report #777753,
regarding gcc-4.9: LTO makes the build unreproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
777753: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777753
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.9
Version: 4.9.2-10
Severity: minor

With the attached file, or really any program (e.g. src:pax):

1$ gcc -O2 -g -fPIE -fstack-protector-strong -flto=jobserver -c bottles.c 
2$ gcc -O2 -g -fPIE -fstack-protector-strong -flto=jobserver -o x1 bottles.o
3$ gcc -O2 -g -fPIE -fstack-protector-strong -flto=jobserver -o x2 bottles.o
4$ md5sum x1 x2
9d58f432cfe6437fd83a807578400efe  x1
a57d1253be60b9a520c140e9c55e5b47  x2

Removing “-flto=jobserver” from line #1 (!) makes it succeed.
If LTO information is included in the object file, even not
using LTO during link (line #2 and #3) creates diverging output.

While I like the reproducible builds effort in Debian, I kinda
don’t want to eliminate LTO for it… though src:mksh hasn’t been
using LTO for a while, as it regularily breaks in newer versions
of GCC…

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages gcc-4.9 depends on:
ii  binutils        2.25-5
ii  cpp-4.9         4.9.2-10
ii  gcc-4.9-base    4.9.2-10
ii  libc6           2.19-15
ii  libcloog-isl4   0.18.2-1+b2
ii  libgcc-4.9-dev  4.9.2-10
ii  libgmp10        2:6.0.0+dfsg-6
ii  libisl10        0.12.2-2
ii  libmpc3         1.0.3-1
ii  libmpfr4        3.1.2-3
ii  zlib1g          1:1.2.8.dfsg-2+b1

Versions of packages gcc-4.9 recommends:
ii  libc6-dev  2.19-15

Versions of packages gcc-4.9 suggests:
pn  gcc-4.9-doc       <none>
pn  gcc-4.9-locales   <none>
pn  gcc-4.9-multilib  <none>
pn  libasan1-dbg      <none>
pn  libatomic1-dbg    <none>
pn  libcilkrts5-dbg   <none>
pn  libgcc1-dbg       <none>
pn  libgomp1-dbg      <none>
pn  libitm1-dbg       <none>
pn  liblsan0-dbg      <none>
pn  libquadmath0-dbg  <none>
pn  libtsan0-dbg      <none>
pn  libubsan0-dbg     <none>

-- no debconf information
/* $MirOS: contrib/hosted/tg/hellow/bottles.c,v 1.1 2011/04/02 19:49:44 tg Exp $ */

#include <stdio.h>

int
main(void)
{
	int b;

	for (b = 99; b >= 0; b--) {
		switch (b) {
		case 0:
			printf("No more bottles of beer on the wall, no more bottles of beer.\n");
			printf("Go to the store and buy some more, 99 bottles of beer on the wall.\n");
			break;
		case 1:
			printf("1 bottle of beer on the wall, 1 bottle of beer.\n");
			printf("Take one down and pass it around, no more bottles of beer on the wall.\n\n");
			break;
		default:
			printf("%d bottles of beer on the wall, %d bottles of beer.\n", b, b);
			printf("Take one down and pass it around, %d %s of beer on the wall.\n\n",
			    b - 1, ((b - 1) > 1) ? "bottles" : "bottle");
			break;
		}
	}

	return (0);
}

--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 0.8.1-1

We believe that the bug you reported is fixed in the latest version of
apt-cacher-ng, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 777753@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eduard Bloch <blade@debian.org> (supplier of updated apt-cacher-ng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 10 Apr 2015 23:40:20 +0200
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source
Version: 0.8.1-1
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <blade@debian.org>
Changed-By: Eduard Bloch <blade@debian.org>
Description:
 apt-cacher-ng - caching proxy server for software repositories
Closes: 734581 777753 779739 780550 780555 781328 781364 781447 781672 781921 782013 782026
Changes:
 apt-cacher-ng (0.8.1-1) unstable; urgency=low
 .
   * New upstream version
     + transition to libsystemd without -daemon where possible (closes: #779739)
     + LTO disabled by default (closes: #777753)
     + *.o file download as volatile type (LP: #1078224)
     + more Fedora mirrors (Carlos Maddela, closes: #780555)
     + corrects handling of SPfilePatternEx (Carlos Maddela, closes: #780550)
   * Debconf question to enable HTTP tunnels, e.g. for https (closes: #734581)
   * Debconf translation updates: German (Holger Wansing, closes: #781921),
     French (Jean-Baka Domelevo Entfellner, closes: #782026), Italian (Beatrice
     Torracca, closes: #782013), Dutch (Frans Spiesschaert), Polish (Łukasz
     <BartekChom@poczta.onet.pl>), Swedish (Martin Bagge, Anders Jonsson,
     closes: #781672), Czech (Miroslav Kure, closes: #781447), Russian (Yuri
     Kozlov, closes: #781364), Danish (Joe Dalton, closes: #781328)
Checksums-Sha1:
 85e4023eb04a090f2941fe166422e51d8cc61bcb 1982 apt-cacher-ng_0.8.1-1.dsc
 08fa2b4350a1374855b95bad02f1feacea11da9c 506356 apt-cacher-ng_0.8.1.orig.tar.xz
 e802dc568877bb86f702418bab8bcf0d0b3d861c 44756 apt-cacher-ng_0.8.1-1.debian.tar.xz
Checksums-Sha256:
 6ec9880c5d60addf132a0b9bcc2b355b7b8949249795746f3d237b1a7aadf6e8 1982 apt-cacher-ng_0.8.1-1.dsc
 fb628716079c2c5330aff3fcfc878682c42426906a8cc6376f2d77c0fecf50db 506356 apt-cacher-ng_0.8.1.orig.tar.xz
 76ed3c670272dc1712943bf5188f352644ec53dae868a8a61eb48e92e859d09b 44756 apt-cacher-ng_0.8.1-1.debian.tar.xz
Files:
 b7b59875d4b8de0812c1e29df1b69754 1982 net optional apt-cacher-ng_0.8.1-1.dsc
 a6ebd5e43d4aa9fca5d4f7b1015b7515 506356 net optional apt-cacher-ng_0.8.1.orig.tar.xz
 9bf161ef10a7e88abbe0158b64f2262f 44756 net optional apt-cacher-ng_0.8.1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVShJBWl0DlyzX+w8AQimeg/+PPum6+e0C28ubC5qZYH17xbTMUYD8Fcn
cFzKG8AZoHioLHcuwg1LzHOmZdIVJ7ZzOExI/bIUJ37IMfKzayXoGNhZiH5/2w8B
9+xV1GJ+MkIaQ7X+Bhw6OXRUYxNavONeSTnOq0u/G/K9u82yFph7XIEVIzpE0htg
iEReftYIacU9kOg0Udt6OL6vhJwZ10d6ZNhrRkLCuQhorgrioXAIcLoo1p1Ctx1n
VZ4WNFAqtXCi4NQlaB95cd7DDH2d5TDzOmKTHzCGocW0ujTQTWVfFwci2Pllo6L4
E4gK2sb7tsvj8ZmyJgo9G2ouWXeTnZ1ogVAGrlH8EQ7l9WCwrNKYiG2z91xPbaGh
NwXiZxEJXu/3jhAzEUgJjB1l7nnxJYOAErKxjc0n2eE+ILPuMiu+jD/pEHFopFPE
jXK/gwq2zFDNKfMuJ9IDyd+f7t7QB4+QMcF0MYD/NT+p6M62GUmt9ErhZXZBzsch
Q342bkbctso/lULhrU1j2vIS/WB8iW1nu10GfPk2yXFCDjhFht9xmJkGYoh4NA1I
4LNWmM7W9xw20FEaQOFKWkCJoaq1qLSnC4wCjdOgQaxer7M2Dki8tbTQ0cumMInl
XXUU4LXWpUN4UzdzA5TNFevfo+PgeDRTpD7ot70P0QdIGayBKMrWL9nSbIvy/Yij
Ui7kP8Iisf0=
=RWb/
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: