[Issue 23317] New: runnable/cdvecfill.sh and compilable/cdcmp.d fail two test on binutils-2.39 due to objdump whitespace change
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 31 07:22:42 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23317
Issue ID: 23317
Summary: runnable/cdvecfill.sh and compilable/cdcmp.d fail two
test on binutils-2.39 due to objdump whitespace change
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: slyfox at inbox.ru
Noticed new tests failure when updated nixpkgs from `binutils-2.38` to `2.39`:
https://github.com/NixOS/nixpkgs/pull/185297#issuecomment-1229881420
There `dmd-2.097.2` started failing 2 tests
https://hydra.nixos.org/log/fsda7n661p7nmb0xivb9sw2wgidhp5v0-dmd-2.097.2.drv:
FAILED targets:
- runnable/cdvecfill.sh
- compilable/cdcmp.d
I think it happens because `objdump` in `binutils-2.39` stopped emitting
trailing whitespace after `ret` instruction:
dmd/test $ diff -u ./test_results/compilable/cdcmp_0.o.dump.sanitized
./compilable/extra-files/cdcmp.out
Disassembly of section .text.d_dso_init:
@@ -1069,5 +1069,5 @@
1c: 6a 01 push 0x1
1e: 48 8b fc mov rdi,rsp
21: e8 00 00 00 00 call 26 <.text.d_dso_init+0x26>
- 26: c9 leave
- 27: c3 ret<space><space><space><space>
+ 26: c9 leave
+ 27: c3 ret
--
More information about the Digitalmars-d-bugs
mailing list