NetBSD Problem Report #53471

From martin@aprisoft.de  Wed Jul 25 11:18:38 2018
Return-Path: <martin@aprisoft.de>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6AE0D7A186
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 25 Jul 2018 11:18:38 +0000 (UTC)
Message-Id: <20180725111826.552CE5CC856@emmas.aprisoft.de>
Date: Wed, 25 Jul 2018 13:18:26 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: non-reproducible debug information
X-Send-Pr-Version: 3.95

>Number:         53471
>Category:       toolchain
>Synopsis:       non-reproducible debug information
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 25 11:20:00 +0000 2018
>Last-Modified:  Mon May 09 23:26:35 +0000 2022
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.22
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 8.99.22 NetBSD 8.99.22 (GENERIC) #231: Mon Jul 16 10:05:40 CEST 2018 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

I tried to reproduce the official amd64 8.0 build locally.
This worked quite well, but one file has different debug
information:

--- local/usr/libdata/debug/usr/X11R7/lib/modules/drivers/vmware_drv.so.13.debug
+++ releng/usr/libdata/debug/usr/X11R7/lib/modules/drivers/vmware_drv.so.13.debug
    readelf --wide --debug-dump=info {}
 @@ -7040,15 +7040,15 @@
   <3><3bfd>: Abbrev Number: 0
   <2><3bfe>: Abbrev Number: 0
   <1><3bff>: Abbrev Number: 32 (DW_TAG_array_type)
      <3c00>   DW_AT_type        : <0x1e2>
      <3c04>   DW_AT_sibling     : <0x3c0f>
   <2><3c08>: Abbrev Number: 33 (DW_TAG_subrange_type)
      <3c09>   DW_AT_type        : <0x13a>
 -    <3c0d>   DW_AT_upper_bound : 55
 +    <3c0d>   DW_AT_upper_bound : 65
   <2><3c0e>: Abbrev Number: 0
   <1><3c0f>: Abbrev Number: 70 (DW_TAG_variable)
      <3c10>   DW_AT_name        : (indirect string, offset: 0x1e31): VMWAREBuildStr
      <3c14>   DW_AT_decl_file   : 1
      <3c15>   DW_AT_decl_line   : 91
      <3c16>   DW_AT_type        : <0x3c1a>
   <1><3c1a>: Abbrev Number: 15 (DW_TAG_const_type)


This kinda sounds like a binutils bug to me.

>How-To-Repeat:
Checkout netbsd-8-0-RELEASE, try to build an amd64 release
with MKREPRO=yes and compare results to the official
binaries.

The actual command I used was:

/work/src-8/build.sh -m amd64 -B 201807172014Z -D /work/hosts-80r -T /work/tools-80r -R /work/rel-80r -M /work/obj-80r -U -X /work/xsrc-8 -P -x -N0 -V TMPDIR=/var/shm/btmp -V MAKECONF=/tmp/make.conf -V MKDEBUG=yes -j12 release iso-image install-image

(and MAKECONF was an empty file)

>Fix:
n/A

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.