https://sourceware.org/bugzilla/show_bug.cgi?id=29291
Bug ID: 29291 Summary: ld-ctf/data-func-conflicted*.d FAIL with -g3 -O0 Product: binutils Version: 2.39 (HEAD) Status: NEW Severity: normal Priority: P2 Component: libctf Assignee: unassigned at sourceware dot org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: amd64--c-solaris2.11, x86_64-pc-linux-gnu When investigating a different CTF issue on Solaris, I built binutils trunk with gcc 12.1.0 -g3 -O0. This caused two CTF tests to FAIL that PASS with the regular -g -O2: FAIL: Conflicted data syms, partially indexed, stripped, with variables FAIL: Conflicted data syms, partially indexed, stripped ld.log shows regexp_diff match failure regexp "^ Variable section: .* \(0x10 bytes\)$" line " Variable section: 0x5c -- 0x73 (0x18 bytes)" regexp_diff match failure regexp "^ Type section: .* \(0x118 bytes\)$" line " Type section: 0x74 -- 0x197 (0x124 bytes)" regexp_diff match failure regexp "^ funcs -> .*$" line " foo -> 0xf: (kind 5) void *(*) () (aligned at 0x8)" regexp_diff match failure regexp "^ other_func -> .*$" line " funcs -> 0xe: (kind 4) void **([16])(*) (const char *restrict, int (*)(*) (const char *)) (size 0x80) (aligned at 0x8) -> 0xc: (kind 3) void **(*) (const char *restrict, int (*)(*) (const char *)) (size 0x8) (aligned at 0x8) -> 0xb: (kind 5) void *(*) (const char *restrict, int (*)(*) (const char *)) (aligned at 0x8)" FAIL: Conflicted data syms, partially indexed, stripped, with variables regexp_diff match failure regexp "^ Type section: .* \(0x118 bytes\)$" line " Type section: 0x5c -- 0x17f (0x124 bytes)" FAIL: Conflicted data syms, partially indexed, stripped Seen on Solaris/amd64 and Linux/x86_64, probably generic. -- You are receiving this mail because: You are on the CC list for the bug.