NetBSD-Bugs archive

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

Re: toolchain/53355: MKREPRO fallout with MKDEBUG



The following reply was made to PR toolchain/53355; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: toolchain/53355: MKREPRO fallout with MKDEBUG
Date: Sun, 10 Jun 2018 16:02:53 +0200

 There are differences, exammple:
 
  readelf --wide --debug-dump=info {}
 @@ -2,247 +2,247 @@
   
     Compilation Unit @ offset 0x0:
      Length:        0x100b (32-bit)
      Version:       4
      Abbrev Offset: 0x0
      Pointer Size:  8
    <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
  -    <c>   DW_AT_producer    : (indirect string, offset: 0x222): GNU C99 5.5.0 -fno-canonical-system-headers -mtune=nocona -march=x86-64 -g -O2 -std=gnu99 -fPIE -fdebug-prefix-map=$DESTDIR= -fdebug-prefix-map=$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=$X11SRCDIR=/usr/xsrc -fdebug-regex-map=/usr/src/(.*)/obj$=/usr/obj/\1 -fdebug-regex-map=/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2 -fdebug-regex-map=/usr/src/(.*)/obj\..*=/usr/obj/\1 -fdebug-regex-map=/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2
  +    <c>   DW_AT_producer    : (indirect string, offset: 0x202): GNU C99 5.5.0 -fno-canonical-system-headers -mtune=nocona -march=x86-64 -g -O2 -std=gnu99 -fPIE -fdebug-prefix-map=$DESTDIR= -fdebug-prefix-map=$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=$X11SRCDIR=/usr/xsrc -fdebug-regex-map=/usr/src/(.*)/obj$=/usr/obj/\1 -fdebug-regex-map=/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2 -fdebug-regex-map=/usr/src/(.*)/obj\..*=/usr/obj/\1 -fdebug-regex-map=/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2
       <10>   DW_AT_language    : 12    (ANSI C99)
  -    <11>   DW_AT_name        : (indirect string, offset: 0x1c7): /usr/src/bin/cat/cat.c
  -    <15>   DW_AT_comp_dir    : (indirect string, offset: 0x11f): /work/obj-8r/work/src-8/bin/cat
  +    <11>   DW_AT_name        : (indirect string, offset: 0x1a7): /usr/src/bin/cat/cat.c
  +    <15>   DW_AT_comp_dir    : (indirect string, offset: 0x57b): /home/builds/ab/netbsd-8/amd64/201806080020Z-obj/home/source/ab/netbsd-8/src/bin/cat
       <19>   DW_AT_ranges      : 0x1d0
       <1d>   DW_AT_low_pc      : 0x0
       <25>   DW_AT_stmt_list   : 0x0
 
 
 Note that this is on netbsd-8, did this work in -current before?
 
 Martin
 


Home | Main Index | Thread Index | Old Index