From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id F28363858D32; Tue, 26 Jul 2022 11:46:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F28363858D32 Received: by mail-pf1-x434.google.com with SMTP id o12so12967791pfp.5; Tue, 26 Jul 2022 04:46:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DLnsDE503qzznO2fHZyoG8oQbTcccqhmmtsJmYtu3io=; b=6gPZpRcVJgfVaHOlGptEtxwCLw8pbLpsStxSAh7EgQomRS3YNLPFVyxwUtgfSmLPbF mRxxBMietzVwRUJSJlshM+70w3mHhJxafXX6Dvw7b2Sw6khcCLgtInm6SxR1r70nYdlL 70UrEftrJuFSatyfr2u7lYKOMR3s4nhoA3ZKHj7NuhfINWIB0qqlYNbhQ3tLIj+ZhkaL t5Cr3uX5HGq3nYlCrOVG2DFNkbhvcNmEhxJdYDEWgr8GcYtFpIMCQk13FuoURy3B/Llc DBnQxiGXQYgauN22PjuxdtsB8G40DjtUJtC/g+GWrua+BLxiWwk4dtRqVCukpvw6dNRb hVYw== X-Gm-Message-State: AJIora+w7xM5FDIHquytzH+qBvj/P6TkrPB6SVmc7dZ7pwjWSC9BojUR ZamzRg2uhexjWQ+FhWYjK0YrF0E8jzM= X-Google-Smtp-Source: AGRyM1toBuxjCqt84SXfMuY89XIXU760hHa3is9fMJZZCTJSTE0Z45+nWKUkeeDnV4wmoBhcDFkn/A== X-Received: by 2002:a63:8a42:0:b0:41a:8419:4e4a with SMTP id y63-20020a638a42000000b0041a84194e4amr15154301pgd.534.1658836013835; Tue, 26 Jul 2022 04:46:53 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:2e5a:7890:2ff3:829a]) by smtp.gmail.com with ESMTPSA id y1-20020a17090264c100b0016d2e8c2228sm11189739pli.238.2022.07.26.04.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 04:46:53 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 42981114031A; Tue, 26 Jul 2022 21:16:50 +0930 (ACST) Date: Tue, 26 Jul 2022 21:16:50 +0930 From: Alan Modra To: Mark Wielaard Cc: binutils@sourceware.org, gdb@sourceware.org Subject: Re: buildbot vs --enable-targets=all Message-ID: References: <94d446556e470859b878bb27eec5e2a52d063673.camel@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3028.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Tue, 26 Jul 2022 11:46:57 -0000 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