https://sourceware.org/bugzilla/show_bug.cgi?id=23463
Bug ID: 23463 Summary: FAIL: PR ld/12982 Product: binutils Version: 2.32 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu gcc -B/home/dave/gnu/binutils/objdir/ld/tmpdir/ld/ -I/home/dave/gnu/binutils/sr c/ld/testsuite/ld-plugin -g -O2 -c -g -O2 -O2 -flto -c /home/dave/gnu/binutils /src/ld/testsuite/ld-plugin/pr12982.c -o tmpdir/pr12982.o Executing on host: sh -c {gcc -B/home/dave/gnu/binutils/objdir/ld/tmpdir/ld/ -I /home/dave/gnu/binutils/src/ld/testsuite/ld-plugin -g -O2 -c -g -O2 -O2 -flto -c /home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/pr12982.c -o tmpdir/pr1298 2.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...] gcc -B/home/dave/gnu/binutils/objdir/ld/tmpdir/ld/ -L=/home/dave/opt/gnu/hppa- unknown-linux-gnu/lib -L=/home/dave/opt/gnu/lib -L=/usr/local/lib -L=/lib -L=/us r/lib -o tmpdir/pr12982.exe -L/home/dave/gnu/binutils/src/ld/testsuite/ld-plug in -O2 -flto -fuse-linker-plugin tmpdir/pr12982.o Executing on host: sh -c {gcc -B/home/dave/gnu/binutils/objdir/ld/tmpdir/ld/ - L=/home/dave/opt/gnu/hppa-unknown-linux-gnu/lib -L=/home/dave/opt/gnu/lib -L=/us r/local/lib -L=/lib -L=/usr/lib -o tmpdir/pr12982.exe -L/home/dave/gnu/binutil s/src/ld/testsuite/ld-plugin -O2 -flto -fuse-linker-plugin tmpdir/pr12982.o 2>&1 } /dev/null ld.tmp (timeout = 300) spawn [open ...] /home/dave/gnu/binutils/objdir/ld/../binutils/readelf -l --wide tmpdir/pr12982.e xe > dump.out fail if no difference FAIL: PR ld/12982 dave@mx3210:~/gnu/binutils/objdir/ld/tmpdir$ readelf -l pr12982.exe Elf file type is EXEC (Executable file) Entry point 0x10338 There are 7 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x00010034 0x00010034 0x000e0 0x000e0 R 0x4 INTERP 0x000114 0x00010114 0x00010114 0x0000d 0x0000d R 0x1 [Requesting program interpreter: /lib/ld.so.1] LOAD 0x000000 0x00010000 0x00010000 0x00958 0x00958 R E 0x1000 LOAD 0x001000 0x00011000 0x00011000 0x00168 0x00178 RWE 0x1000 DYNAMIC 0x001020 0x00011020 0x00011020 0x000c8 0x000c8 RW 0x4 NOTE 0x000124 0x00010124 0x00010124 0x00044 0x00044 R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x10 The test should be xfailed on hppa as it still needs an executable stack for syscall restarts and signal returns. The test probably started to fail when I disabled generation of GNU stack notes in gcc. These notes caused problems with glibc (libc/23174). MIPS probably has same problem. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils