From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 961143875A21; Mon, 25 Jul 2022 12:25:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 961143875A21 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from tarox.wildebeest.org (83-87-18-245.cable.dynamic.v4.ziggo.nl [83.87.18.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id D917D303C3D5; Mon, 25 Jul 2022 14:25:42 +0200 (CEST) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id 8D63B413CBBB; Mon, 25 Jul 2022 14:25:42 +0200 (CEST) Message-ID: <94d446556e470859b878bb27eec5e2a52d063673.camel@klomp.org> Subject: buildbot vs --enable-targets=all From: Mark Wielaard To: binutils@sourceware.org, gdb@sourceware.org Date: Mon, 25 Jul 2022 14:25:42 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2022 12:25:50 -0000 Hi, I enabled --enable-targets=3Dall for all builds on builder.sourceware.org (with --disable-sim for 32bit gdb builds), which exposed some new failing tests. I can disable --enable-targets=3Dall again, but maybe it makes sense to look at the failures and try to fix them. On fedora-s390x and debian-ppc64 one of the gdb selftests fails https://builder.sourceware.org/buildbot/#builders/75/builds/783 https://builder.sourceware.org/buildbot/#builders/76/builds/772 Running selftest arm-record. Process record and replay target doesn't support syscall number -2036195 Process record does not support instruction 0x7f70ee1d at address 0x0. Self test failed: self-test failed at ../../binutils-gdb/gdb/arm- tdep.c:14407 Which is: /* 32-bit Thumb-2 instructions. */ { arm_insn_decode_record arm_record; memset (&arm_record, 0, sizeof (arm_insn_decode_record)); arm_record.gdbarch =3D gdbarch; static const uint16_t insns[] =3D { /* 1d ee 70 7f mrc 15, 0, r7, cr13, cr0, {3} */ 0xee1d, 0x7f70, }; enum bfd_endian endian =3D gdbarch_byte_order_for_code (arm_record.gdba= rch); instruction_reader_thumb reader (endian, insns); int ret =3D decode_insn (reader, &arm_record, THUMB2_RECORD, THUMB2_INSN_SIZE_BYTES); SELF_CHECK (ret =3D=3D 0); SELF_CHECK (arm_record.mem_rec_count =3D=3D 0); SELF_CHECK (arm_record.reg_rec_count =3D=3D 1); SELF_CHECK (arm_record.arm_regs[0] =3D=3D 7); } This seems a big endian issue given the instructions are given as two 16bit numbers. On debian-ppc64 and fedora-ppc64le there are the following ld failures: https://builder.sourceware.org/buildbot/#builders/86/builds/343 https://builder.sourceware.org/buildbot/#builders/78/builds/382 extra lines in dump.out starting with "^ 40: 0000002c 0 TLS GLOBAL DEFAULT 9 ie0$" EOF from /var/lib/buildbot/workers/wildebeest/binutils-debian- ppc64/binutils-gdb/ld/testsuite/ld-powerpc/tlsexe32.r FAIL: TLS32 dynamic exec extra lines in dump.out starting with "^ 40: 0000002c 0 TLS GLOBAL DEFAULT 9 ie0$" EOF from /var/lib/buildbot/workers/wildebeest/binutils-debian- ppc64/binutils-gdb/ld/testsuite/ld-powerpc/tlsexe32no.r FAIL: TLS32 dynamic exec (--no-tls-optimize) extra lines in dump.out starting with "^ 38: 0000002c 0 TLS GLOBAL DEFAULT 8 ie0$" EOF from /var/lib/buildbot/workers/wildebeest/binutils-debian- ppc64/binutils-gdb/ld/testsuite/ld-powerpc/tlsso32.r FAIL: TLS32 shared On debian-armhf there are the following gas failures: https://builder.sourceware.org/buildbot/#builders/80/builds/350 ../as-new -mcpu=3Dcortex-a76ae -o tmpdir/nop-asm.o /var/lib/buildbot/workers/wildebeest/binutils-debian-armhf/binutils- gdb/gas/testsuite/gas/arm/nop-asm.s Executing on host: sh -c {/var/lib/buildbot/workers/wildebeest/binutils-debian-armhf/binutils- build/gas/testsuite/../../binutils/objdump -d -mcortex-a76ae tmpdir/nop-asm.o > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout =3D 300) spawn [open ...] exited abnormally with 1, output:/var/lib/buildbot/workers/wildebeest/binutils-debian- armhf/binutils-build/binutils/.libs/objdump: can't disassemble for architecture aarch64 FAIL: Assemble and dump for cortex-a76ae CPU ../as-new -mcpu=3Dcortex-a77 -o tmpdir/nop-asm.o /var/lib/buildbot/workers/wildebeest/binutils-debian-armhf/binutils- gdb/gas/testsuite/gas/arm/nop-asm.s Executing on host: sh -c {../as-new -mcpu=3Dcortex-a77 -o tmpdir/nop- asm.o /var/lib/buildbot/workers/wildebeest/binutils-debian- armhf/binutils-gdb/gas/testsuite/gas/arm/nop-asm.s 2>&1} /dev/null dump.tmp (timeout =3D 300) spawn [open ...] /var/lib/buildbot/workers/wildebeest/binutils-debian-armhf/binutils- build/gas/testsuite/../../binutils/objdump -d -mcortex-a77 tmpdir/nop- asm.o > tmpdir/dump.out Executing on host: sh -c {/var/lib/buildbot/workers/wildebeest/binutils-debian-armhf/binutils- build/gas/testsuite/../../binutils/objdump -d -mcortex-a77 tmpdir/nop- asm.o > tmpdir/dump.out 2>dump.tmp} /dev/null (timeout =3D 300) spawn [open ...] exited abnormally with 1, output:/var/lib/buildbot/workers/wildebeest/binutils-debian- armhf/binutils-build/binutils/.libs/objdump: can't disassemble for architecture aarch64 FAIL: Assemble and dump for cortex-a77 CPU On fedora-arm64 there is one unexpected failure and pass: https://builder.sourceware.org/buildbot/#builders/176/builds/37 tmpdir/pr26094-1c.o: in function `foo': /home/builder/worker/binutils-fedora-arm64/binutils- gdb/ld/testsuite/ld-elf/pr26094-1c.c:7:(.text+0x4): relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against symbol `__start_FOO@@SOME_VERSION_NAME' defined in FOO section in tmpdir/pr26094-1 /home/builder/worker/binutils-fedora-arm64/binutils-build/ld/.libs/ld- new: /home/builder/worker/binutils-fedora-arm64/binutils- gdb/ld/testsuite/ld-elf/pr26094-1c.c:7: warning: one possible cause of this error is that the symbol is being referenced in the indicated code as if it had a larger alignment than was declared where it was defined collect2: error: ld returned 1 exit status tmpdir/pr26094-1c.o: in function `foo': /home/builder/worker/binutils-fedora-arm64/binutils- gdb/ld/testsuite/ld-elf/pr26094-1c.c:7:(.text+0x4): relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against symbol `__start_FOO@@SOME_VERSION_NAME' defined in FOO section in tmpdir/pr26094-1 /home/builder/worker/binutils-fedora-arm64/binutils-build/ld/.libs/ld- new: /home/builder/worker/binutils-fedora-arm64/binutils- gdb/ld/testsuite/ld-elf/pr26094-1c.c:7: warning: one possible cause of this error is that the symbol is being referenced in the indicated code as if it had a larger alignment than was declared where it was defined collect2: error: ld returned 1 exit status Unexpected linker warning or error FAIL: Build pr26094-1 cp tmpdir/libpr19719a.so tmpdir/libpr19719.so tmpdir/pr19719 =20 Executing on host: sh -c {tmpdir/pr19719 2>&1} /dev/null ld.tmp (timeout =3D 300) spawn [open ...] PASS PASS XPASS: Run pr19719 fun undefined Cheers, Mark