Subject: TBB is not bit-reproducible
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Thu, 26 Sep 2019 16:52:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Here’s what I see:

--8<---------------cut here---------------start------------->8---
$ diff -ru /gnu/store/0zj8i5c6cbk9k1rj4kj4ql8bwwzci0nq-tbb-2019_U8{,-check}
Ciferecaj dosieroj /gnu/store/0zj8i5c6cbk9k1rj4kj4ql8bwwzci0nq-tbb-2019_U8/lib/libtbbmalloc.so.2 kaj /gnu/store/0zj8i5c6cbk9k1rj4kj4ql8bwwzci0nq-tbb-2019_U8-check/lib/libtbbmalloc.so.2 estas malsamaj
Ciferecaj dosieroj /gnu/store/0zj8i5c6cbk9k1rj4kj4ql8bwwzci0nq-tbb-2019_U8/lib/libtbb.so.2 kaj /gnu/store/0zj8i5c6cbk9k1rj4kj4ql8bwwzci0nq-tbb-2019_U8-check/lib/libtbb.so.2 estas malsamaj
--8<---------------cut here---------------end--------------->8---

Looks like a timestamp + uname issue, as shown by diffoscope:

--8<---------------cut here---------------start------------->8---
├── libtbb.so.2
│ ├── /gnu/store/mx2bgrpxkbdjsmhlxp9a30hbzcilk4cn-binutils-2.32/bin/readelf --wide --decompress --hex-dump=.rodata {}
│ │ @@ -582,30 +582,30 @@
│ │    0x0002f430 90d9feff a0d8feff d8d7feff 00d7feff ................
│ │    0x0002f440 20d6feff a0d5feff 68d5feff d0d4feff  .......h.......
│ │    0x0002f450 10d4feff 00000000 00000000 00000000 ................
│ │    0x0002f460 00544242 3a205645 5253494f 4e090932 .TBB: VERSION..2
│ │    0x0002f470 3031392e 300a5442 423a2049 4e544552 019.0.TBB: INTER
│ │    0x0002f480 46414345 20564552 53494f4e 09313130 FACE VERSION.110
│ │    0x0002f490 30380a54 42423a20 4255494c 445f4441 08.TBB: BUILD_DA
│ │ -  0x0002f4a0 54450909 54756520 4a756e20 31312030 TE..Tue Jun 11 0
│ │ -  0x0002f4b0 393a3232 3a353220 55544320 32303139 9:22:52 UTC 2019
│ │ +  0x0002f4a0 54450909 54687520 53657020 32362031 TE..Thu Sep 26 1
│ │ +  0x0002f4b0 343a3236 3a313620 55544320 32303139 4:26:16 UTC 2019
│ │    0x0002f4c0 0a544242 3a204255 494c445f 484f5354 .TBB: BUILD_HOST
│ │    0x0002f4d0 09092028 7838365f 3634290a 5442423a .. (x86_64).TBB:
│ │    0x0002f4e0 20425549 4c445f4f 5309090a 5442423a  BUILD_OS...TBB:
│ │    0x0002f4f0 20425549 4c445f4b 45524e45 4c094c69  BUILD_KERNEL.Li
│ │ -  0x0002f500 6e757820 342e3230 2e352d67 6e752023 nux 4.20.5-gnu #
│ │ +  0x0002f500 6e757820 352e322e 31352d67 6e752023 nux 5.2.15-gnu #
│ │    0x0002f510 3120534d 5020310a 5442423a 20425549 1 SMP 1.TBB: BUI
│ │    0x0002f520 4c445f47 43430909 672b2b20 28474343 LD_GCC..g++ (GCC
│ │    0x0002f530 2920352e 352e300a 5442423a 20425549 ) 5.5.0.TBB: BUI
│ │    0x0002f540 4c445f4c 49424309 322e3238 0a544242 LD_LIBC.2.28.TBB
│ │    0x0002f550 3a204255 494c445f 4c440909 0a544242 : BUILD_LD...TBB
│ │    0x0002f560 3a204255 494c445f 54415247 45540969 : BUILD_TARGET.i
│ │    0x0002f570 6e74656c 3634206f 6e206363 352e352e ntel64 on cc5.5.
│ │    0x0002f580 305f6c69 6263322e 32385f6b 65726e65 0_libc2.28_kerne
│ │ -  0x0002f590 6c342e32 302e350a 5442423a 20425549 l4.20.5.TBB: BUI
│ │ +  0x0002f590 6c352e32 2e31350a 5442423a 20425549 l5.2.15.TBB: BUI
│ │    0x0002f5a0 4c445f43 4f4d4d41 4e440967 2b2b202d LD_COMMAND.g++ -
│ │    0x0002f5b0 44444f5f 4954545f 4e4f5449 4659202d DDO_ITT_NOTIFY -
--8<---------------cut here---------------end--------------->8---

and:

--8<---------------cut here---------------start------------->8---
├── libtbbmalloc.so.2
│ ├── /gnu/store/mx2bgrpxkbdjsmhlxp9a30hbzcilk4cn-binutils-2.32/bin/readelf --wide --decompress --hex-dump=.data {}
│ │ @@ -429,33 +429,33 @@
│ │    0x0001dc40 00000000 00000000 00000000 00000000 ................
│ │    0x0001dc50 00000000 00000000 00000000 00000000 ................
│ │    0x0001dc60 00544242 6d616c6c 6f633a20 56455253 .TBBmalloc: VERS
│ │    0x0001dc70 494f4e09 09323031 392e300a 5442426d ION..2019.0.TBBm
│ │    0x0001dc80 616c6c6f 633a2049 4e544552 46414345 alloc: INTERFACE
│ │    0x0001dc90 20564552 53494f4e 09313130 30380a54  VERSION.11008.T
│ │    0x0001dca0 42426d61 6c6c6f63 3a204255 494c445f BBmalloc: BUILD_
│ │ -  0x0001dcb0 44415445 09095475 65204a75 6e203131 DATE..Tue Jun 11
│ │ -  0x0001dcc0 2030393a 32323a35 32205554 43203230  09:22:52 UTC 20
│ │ +  0x0001dcb0 44415445 09095468 75205365 70203236 DATE..Thu Sep 26
│ │ +  0x0001dcc0 2031343a 32363a31 36205554 43203230  14:26:16 UTC 20
│ │    0x0001dcd0 31390a54 42426d61 6c6c6f63 3a204255 19.TBBmalloc: BU
│ │    0x0001dce0 494c445f 484f5354 09092028 7838365f ILD_HOST.. (x86_
│ │    0x0001dcf0 3634290a 5442426d 616c6c6f 633a2042 64).TBBmalloc: B
│ │    0x0001dd00 55494c44 5f4f5309 090a5442 426d616c UILD_OS...TBBmal
│ │    0x0001dd10 6c6f633a 20425549 4c445f4b 45524e45 loc: BUILD_KERNE
│ │ -  0x0001dd20 4c094c69 6e757820 342e3230 2e352d67 L.Linux 4.20.5-g
│ │ +  0x0001dd20 4c094c69 6e757820 352e322e 31352d67 L.Linux 5.2.15-g
│ │    0x0001dd30 6e752023 3120534d 5020310a 5442426d nu #1 SMP 1.TBBm
│ │    0x0001dd40 616c6c6f 633a2042 55494c44 5f474343 alloc: BUILD_GCC
│ │    0x0001dd50 0909672b 2b202847 43432920 352e352e ..g++ (GCC) 5.5.
│ │    0x0001dd60 300a5442 426d616c 6c6f633a 20425549 0.TBBmalloc: BUI
│ │    0x0001dd70 4c445f4c 49424309 322e3238 0a544242 LD_LIBC.2.28.TBB
│ │    0x0001dd80 6d616c6c 6f633a20 4255494c 445f4c44 malloc: BUILD_LD
│ │    0x0001dd90 09090a54 42426d61 6c6c6f63 3a204255 ...TBBmalloc: BU
│ │    0x0001dda0 494c445f 54415247 45540969 6e74656c ILD_TARGET.intel
│ │    0x0001ddb0 3634206f 6e206363 352e352e 305f6c69 64 on cc5.5.0_li
│ │ -  0x0001ddc0 6263322e 32385f6b 65726e65 6c342e32 bc2.28_kernel4.2
│ │ -  0x0001ddd0 302e350a 5442426d 616c6c6f 633a2042 0.5.TBBmalloc: B
│ │ +  0x0001ddc0 6263322e 32385f6b 65726e65 6c352e32 bc2.28_kernel5.2
│ │ +  0x0001ddd0 2e31350a 5442426d 616c6c6f 633a2042 .15.TBBmalloc: B
│ │    0x0001dde0 55494c44 5f434f4d 4d414e44 09672b2b UILD_COMMAND.g++
│ │    0x0001ddf0 202d4444 4f5f4954 545f4e4f 54494659  -DDO_ITT_NOTIFY
--8<---------------cut here---------------end--------------->8---

Ludo’.