https://sourceware.org/bugzilla/show_bug.cgi?id=30734
Bug ID: 30734 Summary: ld: 'relocatable with script' test fails on hppa Product: binutils Version: 2.41 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: sam at gentoo dot org Target Milestone: --- $ ld/ld-new --version | head -1 GNU ld (GNU Binutils) 2.41.50.20230808 $ grep -rsin ^FAIL ./*/*.sum ./ld/ld.sum:502:FAIL: relocatable with script ./ld/ld.sum:512:FAIL: SHF_GNU_RETAIN 7a ./ld/ld.sum:1145:FAIL: ELF weak (alias) ``` Executing on host: sh -c {./ld-new -z norelro -L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf -r -T relocatable.t -o tmpdir/dump tmpdir/simple.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] /home/sam/git/binutils-gdb/ld/../binutils/readelf -S --wide tmpdir/dump > tmpdir/dump.out Executing on host: sh -c {/home/sam/git/binutils-gdb/ld/../binutils/readelf -S --wide tmpdir/dump > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 300) spawn [open ...] extra regexps in /home/sam/git/binutils-gdb/ld/testsuite/ld-elf/relocatable.d starting with "^ \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t]+0+800000[ \t0-9a-f]+AX.*$" EOF from tmpdir/dump.out FAIL: relocatable with script ``` ``` ~/git/binutils-gdb/ld $ ./ld-new -z norelro -L/home/sam/git/binutils-gdb/ld/testsuite/ld-elf -r -T relocatable.t -o tmpdir/dump tmpdir/simple.o ~/git/binutils-gdb/ld $ /home/sam/git/binutils-gdb/ld/../binutils/readelf -S --wide tmpdir/dump > tmpdir/dump.out ~/git/binutils-gdb/ld $ cat tmpdir/dump.out There are 6 section headers, starting at offset 0xc4: Section Headers: [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ 1] .text PROGBITS 00000000 000034 000004 00 AX 0 0 1 [ 2] .data PROGBITS 00900000 000038 000004 00 WA 0 0 1 [ 3] .symtab SYMTAB 00000000 00003c 000050 10 4 5 4 [ 4] .strtab STRTAB 00000000 00008c 000010 00 0 0 1 [ 5] .shstrtab STRTAB 00000000 00009c 000027 00 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings), I (info), L (link order), O (extra OS processing required), G (group), T (TLS), C (compressed), x (unknown), o (OS specific), E (exclude), R (retain), D (mbind), p (processor specific) ``` -- You are receiving this mail because: You are on the CC list for the bug.