NetBSD-Bugs archive

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

Re: toolchain/48638 (gcc 4.8 does not support MKREPRO)



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

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: christos%NetBSD.org@localhost, martin%NetBSD.org@localhost
Subject: Re: toolchain/48638 (gcc 4.8 does not support MKREPRO)
Date: Tue, 22 Dec 2015 10:36:35 +0100

 On Sat, Dec 19, 2015 at 03:06:27AM +0000, christos%NetBSD.org@localhost wrote:
 > Synopsis: gcc 4.8 does not support MKREPRO
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: christos%NetBSD.org@localhost
 > State-Changed-When: Fri, 18 Dec 2015 22:06:27 -0500
 > State-Changed-Why:
 > seems to work for me.
 
 I don't know if this is the right bug report for this, but currently,
 the source directory and build directories are both included in the
 binaries, and I think it's primarily the compiler that's usually used
 to sanitize this.
 
 As example, here's the diffoscope output for /bin/ls built into
 different target directories. Please note that both the source and
 destination directories are included in the binary!
 
 These should be sanitizied to /usr/src and /usr/obj when using
 MKREPRO.
 
 
 --- /archive/build/mkrepro/build-20151221-3/amd64.gcc.20151221/bin/ls
 +++ /archive/build/mkrepro/build-20151221-4/amd64.gcc.20151222/bin/ls
 â??â??â?? readelf -W --debug-dump {}
 â?? @@ -8171,16 +8171,16 @@
 â??    Opcode 9 has 1 args
 â??    Opcode 10 has 0 args
 â??    Opcode 11 has 0 args
 â??    Opcode 12 has 1 args
 â??  
 â??   The Directory Table:
 â??    /archive/foreign/src/bin/ls
 â?? -  /archive/build/amd64.gcc.20151221/usr/include/sys
 â?? -  /archive/build/amd64.gcc.20151221/usr/include
 â?? +  /archive/build/amd64.gcc.20151222/usr/include/sys
 â?? +  /archive/build/amd64.gcc.20151222/usr/include
 â??  
 â??   The File Name Table:
 â??    Entry	Dir	Time	Size	Name
 â??    1	1	0	0	cmp.c
 â??    2	2	0	0	common_int_types.h
 â??    3	2	0	0	ansi.h
 â??    4	2	0	0	types.h
 â?? @@ -8320,17 +8320,17 @@
 â??    Opcode 9 has 1 args
 â??    Opcode 10 has 0 args
 â??    Opcode 11 has 0 args
 â??    Opcode 12 has 1 args
 â??  
 â??   The Directory Table:
 â??    /archive/foreign/src/bin/ls
 â?? -  /archive/build/amd64.gcc.20151221/usr/include/sys
 â?? -  /archive/build/amd64.gcc.20151221/usr/include
 â?? -  /archive/build/amd64.gcc.20151221/usr/include/machine
 â?? +  /archive/build/amd64.gcc.20151222/usr/include/sys
 â?? +  /archive/build/amd64.gcc.20151222/usr/include
 â?? +  /archive/build/amd64.gcc.20151222/usr/include/machine
 â??  
 â??   The File Name Table:
 â??    Entry	Dir	Time	Size	Name
 â??    1	1	0	0	ls.c
 â??    2	2	0	0	common_int_types.h
 â??    3	2	0	0	ansi.h
 â??    4	2	0	0	types.h
 â?? @@ -8985,17 +8985,17 @@
 â??    Opcode 9 has 1 args
 â??    Opcode 10 has 0 args
 â??    Opcode 11 has 0 args
 â??    Opcode 12 has 1 args
 â??  
 â??   The Directory Table:
 â??    /archive/foreign/src/bin/ls
 â?? -  /archive/build/amd64.gcc.20151221/usr/include
 â?? -  /archive/build/amd64.gcc.20151221/usr/include/sys
 â?? -  /archive/build/amd64.gcc.20151221/usr/include/machine
 â?? +  /archive/build/amd64.gcc.20151222/usr/include
 â?? +  /archive/build/amd64.gcc.20151222/usr/include/sys
 â?? +  /archive/build/amd64.gcc.20151222/usr/include/machine
 â??  
 â??   The File Name Table:
 â??    Entry	Dir	Time	Size	Name
 â??    1	1	0	0	print.c
 â??    2	2	0	0	stdio.h
 â??    3	3	0	0	common_int_types.h
 â??    4	3	0	0	common_int_mwgwtypes.h
 â?? @@ -9793,16 +9793,16 @@
 â??    Opcode 9 has 1 args
 â??    Opcode 10 has 0 args
 â??    Opcode 11 has 0 args
 â??    Opcode 12 has 1 args
 â??  
 â??   The Directory Table:
 â??    /archive/foreign/src/bin/ls
 â?? -  /archive/build/amd64.gcc.20151221/usr/include/sys
 â?? -  /archive/build/amd64.gcc.20151221/usr/include
 â?? +  /archive/build/amd64.gcc.20151222/usr/include/sys
 â?? +  /archive/build/amd64.gcc.20151222/usr/include
 â??  
 â??   The File Name Table:
 â??    Entry	Dir	Time	Size	Name
 â??    1	1	0	0	util.c
 â??    2	2	0	0	common_int_types.h
 â??    3	2	0	0	ansi.h
 â??    4	2	0	0	types.h
 â??â??â?? objdump --disassemble --full-contents {}
 â?? @@ -2647,18 +2647,18 @@
 â??   0a60 133c1900 0000                        .<....          
 â??  Contents of section .debug_line:
 â??   0000 8d010000 0200f000 00000101 fb0e0d00  ................
 â??   0010 01010101 00000001 0000012f 61726368  .........../arch
 â??   0020 6976652f 666f7265 69676e2f 7372632f  ive/foreign/src/
 â??   0030 62696e2f 6c73002f 61726368 6976652f  bin/ls./archive/
 â??   0040 6275696c 642f616d 6436342e 6763632e  build/amd64.gcc.
 â?? - 0050 32303135 31323231 2f757372 2f696e63  20151221/usr/inc
 â?? + 0050 32303135 31323232 2f757372 2f696e63  20151222/usr/inc
 â??   0060 6c756465 2f737973 002f6172 63686976  lude/sys./archiv
 â??   0070 652f6275 696c642f 616d6436 342e6763  e/build/amd64.gc
 â?? - 0080 632e3230 31353132 32312f75 73722f69  c.20151221/usr/i
 â?? + 0080 632e3230 31353132 32322f75 73722f69  c.20151222/usr/i
 â??   0090 6e636c75 64650000 636d702e 63000100  nclude..cmp.c...
 â??   00a0 00636f6d 6d6f6e5f 696e745f 74797065  .common_int_type
 â??   00b0 732e6800 02000061 6e73692e 68000200  s.h....ansi.h...
 â??   00c0 00747970 65732e68 00020000 74696d65  .types.h....time
 â??   00d0 73706563 2e680002 00007374 61742e68  spec.h....stat.h
 â??   00e0 00020000 6674732e 68000300 00737472  ....fts.h....str
 â??   00f0 696e672e 68000300 00000009 02301740  ing.h........0.@
 â?? @@ -2672,21 +2672,21 @@
 â??   0170 66140822 03907f2e 03ef00c8 685b2414  f.."........h[$.
 â??   0180 0822038b 7f2e03f6 00f25b1b 02060001  ."........[.....
 â??   0190 01da0400 000200bd 01000001 01fb0e0d  ................
 â??   01a0 00010101 01000000 01000001 2f617263  ............/arc
 â??   01b0 68697665 2f666f72 6569676e 2f737263  hive/foreign/src
 â??   01c0 2f62696e 2f6c7300 2f617263 68697665  /bin/ls./archive
 â??   01d0 2f627569 6c642f61 6d643634 2e676363  /build/amd64.gcc
 â?? - 01e0 2e323031 35313232 312f7573 722f696e  .20151221/usr/in
 â?? + 01e0 2e323031 35313232 322f7573 722f696e  .20151222/usr/in
 â??   01f0 636c7564 652f7379 73002f61 72636869  clude/sys./archi
 â??   0200 76652f62 75696c64 2f616d64 36342e67  ve/build/amd64.g
 â?? - 0210 63632e32 30313531 3232312f 7573722f  cc.20151221/usr/
 â?? + 0210 63632e32 30313531 3232322f 7573722f  cc.20151222/usr/
 â??   0220 696e636c 75646500 2f617263 68697665  include./archive
 â??   0230 2f627569 6c642f61 6d643634 2e676363  /build/amd64.gcc
 â?? - 0240 2e323031 35313232 312f7573 722f696e  .20151221/usr/in
 â?? + 0240 2e323031 35313232 322f7573 722f696e  .20151222/usr/in
 â??   0250 636c7564 652f6d61 6368696e 6500006c  clude/machine..l
 â??   0260 732e6300 01000063 6f6d6d6f 6e5f696e  s.c....common_in
 â??   0270 745f7479 7065732e 68000200 00616e73  t_types.h....ans
 â??   0280 692e6800 02000074 79706573 2e680002  i.h....types.h..
 â??   0290 00007469 6d657370 65632e68 00020000  ..timespec.h....
 â??   02a0 73746174 2e680002 00007474 79636f6d  stat.h....ttycom
 â??   02b0 2e680002 00006674 732e6800 03000073  .h....fts.h....s
 â?? @@ -2756,21 +2756,21 @@
 â??   06b0 00657874 65726e2e 68000100 00000009  .extern.h.......
 â??   06c0 02884040 00000000 00032f01 14020500  ..@@....../.....
 â??   06d0 01012306 00000200 a5010000 0101fb0e  ..#.............
 â??   06e0 0d000101 01010000 00010000 012f6172  ............./ar
 â??   06f0 63686976 652f666f 72656967 6e2f7372  chive/foreign/sr
 â??   0700 632f6269 6e2f6c73 002f6172 63686976  c/bin/ls./archiv
 â??   0710 652f6275 696c642f 616d6436 342e6763  e/build/amd64.gc
 â?? - 0720 632e3230 31353132 32312f75 73722f69  c.20151221/usr/i
 â?? + 0720 632e3230 31353132 32322f75 73722f69  c.20151222/usr/i
 â??   0730 6e636c75 6465002f 61726368 6976652f  nclude./archive/
 â??   0740 6275696c 642f616d 6436342e 6763632e  build/amd64.gcc.
 â?? - 0750 32303135 31323231 2f757372 2f696e63  20151221/usr/inc
 â?? + 0750 32303135 31323232 2f757372 2f696e63  20151222/usr/inc
 â??   0760 6c756465 2f737973 002f6172 63686976  lude/sys./archiv
 â??   0770 652f6275 696c642f 616d6436 342e6763  e/build/amd64.gc
 â?? - 0780 632e3230 31353132 32312f75 73722f69  c.20151221/usr/i
 â?? + 0780 632e3230 31353132 32322f75 73722f69  c.20151222/usr/i
 â??   0790 6e636c75 64652f6d 61636869 6e650000  nclude/machine..
 â??   07a0 7072696e 742e6300 01000073 7464696f  print.c....stdio
 â??   07b0 2e680002 0000636f 6d6d6f6e 5f696e74  .h....common_int
 â??   07c0 5f747970 65732e68 00030000 636f6d6d  _types.h....comm
 â??   07d0 6f6e5f69 6e745f6d 77677774 79706573  on_int_mwgwtypes
 â??   07e0 2e680003 0000616e 73692e68 00030000  .h....ansi.h....
 â??   07f0 74797065 732e6800 03000074 696d6573  types.h....times
 â?? @@ -2855,18 +2855,18 @@
 â??   0ce0 74890402 038701e4 0401038c 7f9e0402  t...............
 â??   0cf0 03f4009e 02050001 01980100 0002000c  ................
 â??   0d00 01000001 01fb0e0d 00010101 01000000  ................
 â??   0d10 01000001 2f617263 68697665 2f666f72  ..../archive/for
 â??   0d20 6569676e 2f737263 2f62696e 2f6c7300  eign/src/bin/ls.
 â??   0d30 2f617263 68697665 2f627569 6c642f61  /archive/build/a
 â??   0d40 6d643634 2e676363 2e323031 35313232  md64.gcc.2015122
 â?? - 0d50 312f7573 722f696e 636c7564 652f7379  1/usr/include/sy
 â?? + 0d50 322f7573 722f696e 636c7564 652f7379  2/usr/include/sy
 â??   0d60 73002f61 72636869 76652f62 75696c64  s./archive/build
 â??   0d70 2f616d64 36342e67 63632e32 30313531  /amd64.gcc.20151
 â?? - 0d80 3232312f 7573722f 696e636c 75646500  221/usr/include.
 â?? + 0d80 3232322f 7573722f 696e636c 75646500  222/usr/include.
 â??   0d90 00757469 6c2e6300 01000063 6f6d6d6f  .util.c....commo
 â??   0da0 6e5f696e 745f7479 7065732e 68000200  n_int_types.h...
 â??   0db0 00616e73 692e6800 02000074 79706573  .ansi.h....types
 â??   0dc0 2e680002 00007374 64696f2e 68000300  .h....stdio.h...
 â??   0dd0 00737464 6c69622e 68000300 00776368  .stdlib.h....wch
 â??   0de0 61722e68 00030000 6c732e68 00010000  ar.h....ls.h....
 â??   0df0 7669732e 68000300 00657272 2e680003  vis.h....err.h..
 â?µ
 



Home | Main Index | Thread Index | Old Index