https://sourceware.org/bugzilla/show_bug.cgi?id=25327
Bug ID: 25327 Summary: FAIL: Run pr20276 Product: binutils Version: 2.34 (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 With gcc-10: 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 -flto -O2 -c /home/dave/gnu/binutils /src/ld/testsuite/ld-plugin/dummy.c -o tmpdir/dummy.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 -flto -O2 -c /home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/dummy.c -o tmpdir/dummy.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/test/hppa -unknown-linux-gnu/lib -L=/home/dave/opt/test/lib -L=/usr/local/lib -L=/lib -L=/ usr/lib -o tmpdir/pr20276 -L/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr20276a.o tmpdir/pr20276b.o tmpdir/dummy.o Executing on host: sh -c {gcc -B/home/dave/gnu/binutils/objdir/ld/tmpdir/ld/ -L=/home/dave/opt/test/hppa-unknown-linux-gnu/lib -L=/home/dave/opt/test/lib -L=/usr/local/lib -L=/lib -L=/usr/lib -o tmpdir/pr20276 -L/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr20276a.o tmpdir/pr20276b.o tmpdir/dummy.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...] /home/dave/gnu/binutils/objdir/ld/.libs/lt-ld-new: tmpdir/pr20276b.o (symbol from plugin): in function `global_var': (.text+0x0): multiple definition of `global_var'; tmpdir/pr20276a.o:/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/pr20276a.c:3: first defined here collect2: error: ld returned 1 exit status /home/dave/gnu/binutils/objdir/ld/.libs/lt-ld-new: tmpdir/pr20276b.o (symbol from plugin): in function `global_var': (.text+0x0): multiple definition of `global_var'; tmpdir/pr20276a.o:/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/pr20276a.c:3: first defined here collect2: error: ld returned 1 exit status FAIL: Run pr20276 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 -flto -O2 -c /home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/dummy.c -o tmpdir/dummy.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 -flto -O2 -c /home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/dummy.c -o tmpdir/dummy.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/test/hppa-unknown-linux-gnu/lib -L=/home/dave/opt/test/lib -L=/usr/local/lib -L=/lib -L=/usr/lib -o tmpdir/pr20267a -L/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr20267a.o tmpdir/libpr20267a.a tmpdir/dummy.o Executing on host: sh -c {gcc -B/home/dave/gnu/binutils/objdir/ld/tmpdir/ld/ -L=/home/dave/opt/test/hppa-unknown-linux-gnu/lib -L=/home/dave/opt/test/lib -L=/usr/local/lib -L=/lib -L=/usr/lib -o tmpdir/pr20267a -L/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr20267a.o tmpdir/libpr20267a.a tmpdir/dummy.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...] Running: tmpdir/pr20267a > tmpdir/pr20267a.out child killed: SIGABRT FAIL: Run pr20267a 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 -flto -O2 -c /home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/dummy.c -o tmpdir/dummy.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 -flto -O2 -c /home/dave/gnu/binutils/src/ld/testsuite/ld-plugin/dummy.c -o tmpdir/dummy.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/test/hppa-unknown-linux-gnu/lib -L=/home/dave/opt/test/lib -L=/usr/local/lib -L=/lib -L=/usr/lib -o tmpdir/pr20267b -L/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr20267a.o tmpdir/libpr20267b.a tmpdir/dummy.o Executing on host: sh -c {gcc -B/home/dave/gnu/binutils/objdir/ld/tmpdir/ld/ -L=/home/dave/opt/test/hppa-unknown-linux-gnu/lib -L=/home/dave/opt/test/lib -L=/usr/local/lib -L=/lib -L=/usr/lib -o tmpdir/pr20267b -L/home/dave/gnu/binutils/src/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr20267a.o tmpdir/libpr20267b.a tmpdir/dummy.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...] Running: tmpdir/pr20267b > tmpdir/pr20267b.out child killed: SIGABRT FAIL: Run pr20267b -- You are receiving this mail because: You are on the CC list for the bug.