Created attachment 838079 [details] build.log Tested on all devboxes ({arm,ppc}{,64},sparc,hppa), on updated stable containers which are ran using systemd-nspawn. I'm sorry that I'm unable to extract the relevant information from the test log, but it is attached to this bug. If you don't care about those failures, please say so, and I will just stable it. It compiles fine and works for all other stuff in container.
Hi Arthur, could you please check in the build dir of one of the failed runs for the following files tls-relax-gdesc-le-now.out bti-plt-5.d.out or bti-plt-5.out and attach them? TIA
(In reply to Andreas K. Hüttel from comment #1) > Hi Arthur, could you please check in the build dir of one of the failed runs > for the following files > > tls-relax-gdesc-le-now.out > bti-plt-5.d.out or bti-plt-5.out > > and attach them? TIA nevermind, I managed to reproduce it
/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -o tmpdir/tls-relax-gdesc-le.o /var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ ld-aarch64/tls-relax-gdesc-le.s Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -o tmpdir/tls-relax-gdesc-le.o /var/tmp/portage/sys-devel/binutils-2.39-r4/work/b inutils-2.39/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] ./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -shared -z now -o tmpdir/dump tmpdir/tls-relax-gdesc-l e.o Executing on host: sh -c {./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -shared -z now -o tmpdir/dum p tmpdir/tls-relax-gdesc-le.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] /var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/readelf -dr tmpdir/dump > tmpdir/dump.out Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/readelf -dr tmpdir/dump > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 300) spawn [open ...] regexp_diff match failure regexp "^ 0x.+ \(BIND_NOW\) \s+$" line " 0x000000000000001e (FLAGS) BIND_NOW" FAIL: ld-aarch64/tls-relax-gdesc-le-now
/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -mabi=lp64 -defsym __property_bti__=1 -o tmpdir/property-bti-pac1.o /var/tmp/portage/sys-devel/binutils-2.39- r4/work/binutils-2.39/ld/testsuite/ld-aarch64/property-bti-pac1.s Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../gas/as-new -mabi=lp64 -defsym __property_bti__=1 -o tmpdir/property-bti-pac1.o /var/tmp/portag e/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64/property-bti-pac1.s 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] ./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -e _start -L./tmpdir -lbti-plt-so -o tmpdir/dump tmpdi r/property-bti-pac1.o Executing on host: sh -c {./ld-new --hash-style=sysv -z norelro -L/var/tmp/portage/sys-devel/binutils-2.39-r4/work/binutils-2.39/ld/testsuite/ld-aarch64 -e _start -L./tmpdir -lbti-p lt-so -o tmpdir/dump tmpdir/property-bti-pac1.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] /var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/objdump -dr -j .plt tmpdir/dump > tmpdir/dump.out Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.39-r4/work/build/ld/../binutils/objdump -dr -j .plt tmpdir/dump > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout = 3 00) spawn [open ...] regexp_diff match failure regexp "^.*: f9421611 ldr x17, \[x16, #1064\]$" line " 40028c: f941fe11 ldr x17, [x16, #1016]" regexp_diff match failure regexp "^.*: 9110a210 add x16, x16, #0x428$" line " 400290: 910fe210 add x16, x16, #0x3f8" regexp_diff match failure regexp "^.*: f9421a11 ldr x17, \[x16, #1072\]$" line " 4002a8: f9420211 ldr x17, [x16, #1024]" regexp_diff match failure regexp "^.*: 9110c210 add x16, x16, #0x430$" line " 4002ac: 91100210 add x16, x16, #0x400" FAIL: BTI PLT with only GNU PROP
> regexp_diff match failure > regexp "^ 0x.+ \(BIND_NOW\) \s+$" > line " 0x000000000000001e (FLAGS) BIND_NOW" > FAIL: ld-aarch64/tls-relax-gdesc-le-now This should be harmless (but why it causes a test failure is a mystery to me). Basically marking something with DT_BIND_NOW (which the regexp checks for) is an older way, and nowadays binaries are marked with DF_BIND_NOW (which is the value that fails the regexp).
Running /var/tmp/portage/sys-devel/binutils-2.38-r2/work/binutils-2.38/ld/testsuite/ld-aarch64/aarch64-elf.exp ... FAIL: ld-aarch64/tls-relax-gdesc-le-now FAIL: BTI PLT with only GNU PROP Running /var/tmp/portage/sys-devel/binutils-2.38-r2/work/binutils-2.38/ld/testsuite/ld-alpha/alpha.exp ... ^ Note: this now also fails in current stable, so it's not a regression. Does not block 2.39 stabilization.
Fixed in 2.40.