From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id E3C01389A101 for ; Tue, 7 Jun 2022 12:36:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E3C01389A101 Received: by mail-wr1-x431.google.com with SMTP id u8so19639313wrm.13 for ; Tue, 07 Jun 2022 05:36:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1vKaGH2eHZ8C9Dtp27Oke/26QHIewNBPHoE7yODTqHA=; b=xFr7APUBygr2wU9xJsRe49FvxZyny8kNhXnQ6b4zXjcxJ8jTEGL8gunRJzxfnr5Jq5 vJgsqb8bmsxvZFHB/oE648jaX6fpWlwjTSi4HIiZB4WwWKe1913eOMocltccXBYRrI1t OdGmE1UAsTfR0iTnAW6bKcLs8xQ3hswJIl098JXJhxTRqulAgKzNRUGzWLBnUUFzW/Zi nMNShSYVnxcuHFm25pQopUjamZDzzMJy8uwQF9nt1ygDkgrONb9NN5gXeKJ5VOoYN5/Q 2g/bNz76gdI4pP2xL+x5eHUGFuVsbNMbemq6GyraMlayxe7e0XtvIN2PvG0LZxKIHZTy r7qw== X-Gm-Message-State: AOAM530u2f9chb8JdsYC/wmtKThtpxaZu2c7eROdyCRx9JwUB7gJ9r+j Y9pXtLJsYvyHoFgw3x0n/6fZmZtvM/EFMOki27dFT08Q X-Google-Smtp-Source: ABdhPJzq8yMEcYSRJ81SFy8NuEaqYKHVC//ZuYsWiaUyK0z4eDJysW5CRLxtlpm7JQb7i1aF4uSnADSUHU2kgE1fU6g= X-Received: by 2002:a05:6000:1847:b0:218:4336:5590 with SMTP id c7-20020a056000184700b0021843365590mr8855720wri.511.1654605379394; Tue, 07 Jun 2022 05:36:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Tue, 7 Jun 2022 13:36:07 +0100 Message-ID: Subject: Re: make check fails in the "libatomic tests" To: Dennis Clarke Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.7 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, T_SCC_BODY_TEXT_LINE 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: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2022 12:36:23 -0000 On Wed, 1 Jun 2022 at 18:49, Dennis Clarke via Gcc-help wrote: > > > Wish I knew why things fail but seem to not fail at the same time. > Perhaps there is not supposed to be an error status returned back to the > shell? I don't know. No, because you used make -k which means that errors are ignored. > > Anyways on an old Red Hat Enterprise Linux 6 machine ( AMD64 ) I have > carefully bootstrapped GCC 12.1.0 over and over and over again. With new > binutils installed also. I also built dejagnu and tcl and the usual > little bits we need to run the testsuite. I should point out that this > is an old slow machine ( by modern standards ) but it runs just fine. > > After about a day and 13 hours and 45 minutes of "make -k check" running Even on a uniprocessor you would get some speed-up from -j2 and if you have more cores you can run with additional jobs. > I see this : > > . > srcdir='../../../../gcc-12.1.0/libatomic/testsuite'; export srcdir; \ > EXPECT=expect; export EXPECT; \ > if /bin/sh -c "runtest --version" > /dev/null 2>&1; then \ > exit_status=0; l='libatomic'; for tool in $l; do \ > if runtest --tool $tool --srcdir $srcdir ; \ > then :; else exit_status=1; fi; \ > done; \ > else echo "WARNING: could not find 'runtest'" 1>&2; :;\ > fi; \ > exit $exit_status > WARNING: Couldn't find the global config file. > Using ../../../../gcc-12.1.0/libatomic/testsuite/lib/libatomic.exp as > tool init file. > Test run by dclarke on Wed Jun 1 07:41:54 2022 > Native configuration is x86_64-pc-linux-gnu > > === libatomic tests === > > Schedule of variations: > unix > > Running target unix > Using /opt/bw/share/dejagnu/baseboards/unix.exp as board description > file for target. > Using /opt/bw/share/dejagnu/config/unix.exp as generic interface file > for target. > Using ../../../../gcc-12.1.0/libatomic/testsuite/config/default.exp as > tool-and-target-specific interface file. > Running ../../../../gcc-12.1.0/libatomic/testsuite/libatomic.c/c.exp ... > > === libatomic Summary === > > # of expected passes 54 > make[4]: Leaving directory > `/opt/bw/build/gcc-12.1.0_rhel6_amd64.007/x86_64-pc-linux-gnu/libatomic/testsuite' > make[3]: Leaving directory > `/opt/bw/build/gcc-12.1.0_rhel6_amd64.007/x86_64-pc-linux-gnu/libatomic/testsuite' > make[3]: Entering directory > `/opt/bw/build/gcc-12.1.0_rhel6_amd64.007/x86_64-pc-linux-gnu/libatomic' > Makefile:875: warning: overriding commands for target `all-multi' > Makefile:866: warning: ignoring old commands for target `all-multi' > true DO=all multi-do # make > make[3]: Leaving directory > `/opt/bw/build/gcc-12.1.0_rhel6_amd64.007/x86_64-pc-linux-gnu/libatomic' > make[2]: Leaving directory > `/opt/bw/build/gcc-12.1.0_rhel6_amd64.007/x86_64-pc-linux-gnu/libatomic' > make[1]: Leaving directory `/opt/bw/build/gcc-12.1.0_rhel6_amd64.007' > make: *** [do-check] Error 2 > make: Target `check' not remade because of errors. > real 135930.17 > user 122350.27 > sys 14525.06 > mimas$ echo $? > 0 > mimas$ > > I have no idea what happened there and no idea how much longer things > could have been left quietly churning away but there seems to be an > issue in the libatomic section of life. Somewhere. > > Is there a way to manually isolate just this test section and then > figure out what went wrong? I don't see any errors in the libatomic results, I think that's coming from an earlier testsuite. Because you used "make -k" it will keep going after earlier errors, and so run the later testsuites (like libitm and libatomic). The error isn't coming from the last step though. Look at the rest of the test results, not just the end. There will be at least one failure (but that's common, especially on an ancient system with an old glibc).