Re: buildbot vs --enable-targets=all

Alan Modra via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel,gmane.comp.gnu.binutils
Message-ID <Yt/UKr2YvxSu/[email protected]>
On Tue, Jul 26, 2022 at 10:54:12AM +0930, Alan Modra wrote:
> On Mon, Jul 25, 2022 at 02:25:42PM +0200, Mark Wielaard wrote:
> > 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
> 
> The line should match the last line of ld-powerpc/tlsexe32.r.  Three
> possibilities occur to me that might cause this:
> 1) There really is a duplicate globel ie0 symbol, or readelf is
>    duplicating an output line.
> 2) expect/dejagnu is duplicating output lines to dump.out, or reading
>    that file back when matching regexps duplicates the last line.
> 3) The last line of tlsexe32.r is dropped from the git checkout, or
>    when matching regexps.
> 
> None of these things happen elsewhere as far as I know.  ie. the build
> bot is broken.

Oh, you tricked me.  It's not just a single "extra line in.." but a
bunch of differences then finally that one.

So for some reason there is an empty .data section, putting all the
rest of the dump off by one.

regexp_diff match failure
regexp "^ +\[[ 0-9]+\] \.symtab +SYMTAB +.*$"
line   "  [13] .data             PROGBITS        01810398 000398 000000 00  WA  0   0  1"
regexp_diff match failure
regexp "^ +\[[ 0-9]+\] \.strtab +STRTAB +.*$"
line   "  [14] .symtab           SYMTAB          00000000 000398 000290 10     15  26  4"
regexp_diff match failure


-- 
Alan Modra
Australia Development Lab, IBM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.