NetBSD Problem Report #50841

From wiz@yt.nih.at  Tue Feb 23 15:27:42 2016
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8A03F7ABEE
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Feb 2016 15:27:42 +0000 (UTC)
Message-Id: <20160223152730.F06312AC227@yt.nih.at>
Date: Tue, 23 Feb 2016 16:27:30 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: MKREPRO: debug builds not reproducible
X-Send-Pr-Version: 3.95

>Number:         50841
>Category:       toolchain
>Synopsis:       MKREPRO: debug builds not reproducible
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 23 15:30:00 +0000 2016
>Closed-Date:    Thu Mar 03 15:37:51 +0000 2016
>Last-Modified:  Thu Mar 03 15:37:51 +0000 2016
>Originator:     Thomas Klausner
>Release:        NetBSD 7.99.26
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
Building twice with different source and obj dirs and MKREPRO set gives
slightly different files.

One example:
# diffoscope amd64.gcc.20160223/bin/ls amd64.gcc.20160223v2/bin/ls |less
--- amd64.gcc.20160223/bin/ls
+++ amd64.gcc.20160223v2/bin/ls
|-- objdump --disassemble --full-contents {}
| @@ -1422,15 +1422,15 @@
|   05b0 d2c4aeb0 786a07d9 6d1f91f7 24990c92  ....xj..m...$...
|   05c0 c59586c8 c22b551a ae0c3a38 86db6a6f  .....+U...:8..jo
|   05d0 46d8bdb2 826dafe9 9748d765 c5f8c2ad  F....m...H.e....
|   05e0 9735a71f ae525d39 993def72 c77fc31c  .5...R]9.=.r....
|   05f0 9ff4e549 49efc9ae dc36462b dbfb1749  ...II....6F+...I
|   0600 bf4618                               .F.
|  Contents of section .gnu_debuglink:
| - 0000 6c732e64 65627567 00000000 4a1a935e  ls.debug....J..^
| + 0000 6c732e64 65627567 00000000 30af7a9d  ls.debug....0.z.
|
|  Disassembly of section .init:
|
|  0000000000401140 <_init>:
|    401140:    48 83 ec 08             sub    $0x8,%rsp
|    401144:    e8 cc 04 00 00          callq  401615 <___start+0x16f>
|    401149:    48 83 c4 08             add    $0x8,%rsp
|
>How-To-Repeat:
See above.
>Fix:
please.

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: toolchain/50841: MKREPRO: debug builds not reproducible
Date: Thu, 3 Mar 2016 15:12:13 +0100

 I've just re-tried with the latest source tree and couldn't reproduce
 it.

 Any ideas what could have fixed this?
  Thomas

From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@netbsd.org, gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org, Thomas Klausner <wiz@NetBSD.org>
Subject: Re: toolchain/50841: MKREPRO: debug builds not reproducible
Date: Thu, 3 Mar 2016 10:26:43 -0500

 i could not reproduce it here...

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 03 Mar 2016 15:37:51 +0000
State-Changed-Why:
Let's close this for now, since noone can reproduce it.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.