From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by sourceware.org (Postfix) with ESMTPS id 56BFE385800D for ; Tue, 15 Dec 2020 00:55:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 56BFE385800D Received: by mail-qv1-xf2a.google.com with SMTP id l14so8752805qvh.2 for ; Mon, 14 Dec 2020 16:55:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iOaev+pvZGmslckZu/EFJJgBC5jSlywTthwfIGT8Kt4=; b=SUlIESQyR99zeK7oedxSAQhjA3VNn3Gh9Y2EFr9OMTGgqKyGkI80kl86ekbmZPYFcR 5xcB4IpYPRjkTAs5nuBCzaUZY9DhLa+AVuGN6SHUjWKKp521rEklk9QQWVudzDfM3mUt aTG4+ceZ6EO8zVyW7Qdk6o+OJpLl4pT0nrFDxfn3bcoXNRhUZUh+2kBdayuF0KOHi2sp LKOdVTuXDUy9ihrRXGnf6OL4W2H4w1r8YNnFkOg4snoNTxrgTlhREagAIo0qBosUdP5M HVAtKYRxPXeiDjWYz/SWUFEOeBIE3Wj4nqbL1mYFvdItPqyCq3lmlEq+WtD0rgM9TmMU qbHw== X-Gm-Message-State: AOAM532lkvJSIwaX6eLYS4cS6C+x62XWS/m9LsdhLatT/Aiuq3OdCszn nT+wWuT1UNv4LWJr6r9SZuyWayBxYRA= X-Google-Smtp-Source: ABdhPJwUoXd/BNKxRSukUUuFH23NgTMUL3EqFpNh3/mc3ZXZHxsf1H6jiQtEYUPodasBoaxyIZS1Lw== X-Received: by 2002:a0c:cc12:: with SMTP id r18mr35111683qvk.51.1607993740685; Mon, 14 Dec 2020 16:55:40 -0800 (PST) Received: from [192.168.0.41] (174-16-97-231.hlrn.qwest.net. [174.16.97.231]) by smtp.gmail.com with ESMTPSA id v137sm16420601qka.110.2020.12.14.16.55.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Dec 2020 16:55:39 -0800 (PST) Subject: Re: tests failing on x86_64-linux To: "H.J. Lu" Cc: Florian Weimer , GNU C Library References: <011327e1-276d-7ea5-460e-7838f94ee4c9@gmail.com> <7805b6dd-14b0-d014-cf1d-6e2d6e1cfb74@gmail.com> From: Martin Sebor Message-ID: <559d1d1e-e8ba-8945-60a8-239e9da6eca6@gmail.com> Date: Mon, 14 Dec 2020 17:55:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2020 00:55:42 -0000 On 12/9/20 7:50 PM, H.J. Lu wrote: > On Wed, Dec 9, 2020 at 2:31 PM H.J. Lu wrote: >> >> On Wed, Dec 9, 2020 at 1:44 PM H.J. Lu wrote: >>> >>> On Wed, Dec 9, 2020 at 1:17 PM Martin Sebor wrote: >>>> >>>> On 12/9/20 11:28 AM, H.J. Lu wrote: >>>>> On Wed, Dec 9, 2020 at 10:17 AM Martin Sebor via Libc-alpha >>>>> wrote: >>>>>> >>>>>> I've been seeing quite a few test failures in recent builds, more >>>>>> than I used to in the past. Are those expected? I configure with >>>>>> no options other than --prefix=/usr and after building without >>>>>> installing (i.e., just make -j16) run make -j16 check. >>>>>> >>>>>> The results below are for the top of GCC/Glibc trunk on x86_64 >>>>>> Fedora Linux but I don't think using GCC 10 improves things much >>>>>> if at all. >>>>>> >>>>> >>>>> "make check" is clean for me on Fedora 33/x86-64. Please make sure that >>>>> you have all required packages installed, including libstdc++-static. >>>>> >>>> >>>> It's been a while since I built Glibc with the system compiler >>>> so I must have misremembered the results. Here they are for >>>> my Fedora 29 machine (with libstdc++-static installed and with >>>> --prefix=/usr): >>>> >>>> gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC) >>>> >>>> UNSUPPORTED: assert/tst-assert-c++ >>>> UNSUPPORTED: assert/tst-assert-g++ >>>> UNSUPPORTED: debug/tst-chk4 >>>> UNSUPPORTED: debug/tst-chk5 >>>> UNSUPPORTED: debug/tst-chk6 >>>> UNSUPPORTED: debug/tst-lfschk4 >>>> UNSUPPORTED: debug/tst-lfschk5 >>>> UNSUPPORTED: debug/tst-lfschk6 >>>> UNSUPPORTED: dlfcn/bug-atexit3 >>>> UNSUPPORTED: elf/tst-audit10 >>>> UNSUPPORTED: elf/tst-avx512 >>>> UNSUPPORTED: elf/tst-env-setuid >>>> UNSUPPORTED: elf/tst-env-setuid-tunables >>>> XPASS: elf/tst-protected1a >>>> XPASS: elf/tst-protected1b >>>> UNSUPPORTED: math/test-double-libmvec-sincos-avx512 >>>> UNSUPPORTED: math/test-float-libmvec-sincosf-avx512 >>>> UNSUPPORTED: misc/tst-pkey >>>> UNSUPPORTED: nptl/tst-cancel24 >>>> UNSUPPORTED: nptl/tst-cancel24-static >>>> UNSUPPORTED: nptl/tst-minstack-throw >>>> UNSUPPORTED: nptl/tst-once5 >>>> UNSUPPORTED: nptl/tst-thread-exit-clobber >>>> UNSUPPORTED: nptl/tst-thread_local1 >>>> UNSUPPORTED: stdlib/tst-quick_exit >>>> UNSUPPORTED: stdlib/tst-thread-quick_exit >>>> Summary of test results: >>>> 4214 PASS >>>> 24 UNSUPPORTED >>>> 16 XFAIL >>>> 2 XPASS >>>> >>>> And below are the results I see with today's top of GCC trunk. >>>> All the failures are due to "original exit status 127" which IIUC >>>> means the program wasn't found. Yet they're all there. Could it >>>> have something to do with the paralellization? The other >>>> difference between the native build and my GCC 11 build is that >>>> the latter is an unoptimized GCC so it takes quite a bit longer >>>> to compile. >>>> >>>> gcc version 11.0.0 20201209 (experimental) (GCC) >>> >>> Did you apply >>> >>> https://gcc.gnu.org/pipermail/gcc-patches/2020-December/561332.html >> >> Using built-in specs. >> COLLECT_GCC=/usr/gcc-11.0.0-x32/bin/gcc >> COLLECT_LTO_WRAPPER=/usr/gcc-11.0.0-x32/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper >> Target: x86_64-pc-linux-gnu >> Configured with: /export/gnu/import/git/gitlab/x86-gcc/configure >> --enable-cet --with-demangler-in-ld --prefix=/usr/gcc-11.0.0-x32 >> --with-local-prefix=/usr/local --enable-gnu-indirect-function >> --enable-clocale=gnu --with-system-zlib --with-target-system-zlib >> --with-fpmath=sse --with-multilib-list=m32,m64,mx32 >> --enable-linker-build-id --enable-gnu-unique-object >> --enable-languages=c,c++,fortran,lto,objc,obj-c++,go >> Thread model: posix >> Supported LTO compression algorithms: zlib zstd >> gcc version 11.0.0 20201204 (experimental) (GCC) >> >> is "makc check" clean. I will test r11-5888 + my PR target/98146 patches. > > r11-5888 is also "make check" clean. I still see the same failures with today's top of trunk and two more: UNSUPPORTED: assert/tst-assert-c++ UNSUPPORTED: assert/tst-assert-g++ UNSUPPORTED: debug/tst-chk4 UNSUPPORTED: debug/tst-chk5 UNSUPPORTED: debug/tst-chk6 UNSUPPORTED: debug/tst-lfschk4 UNSUPPORTED: debug/tst-lfschk5 UNSUPPORTED: debug/tst-lfschk6 UNSUPPORTED: dlfcn/bug-atexit3 UNSUPPORTED: elf/tst-audit10 UNSUPPORTED: elf/tst-avx512 FAIL: elf/tst-dlopen-self-container FAIL: elf/tst-dlopen-tlsmodid-container UNSUPPORTED: elf/tst-env-setuid UNSUPPORTED: elf/tst-env-setuid-tunables FAIL: elf/tst-glibc-hwcaps-cache FAIL: elf/tst-glibc-hwcaps-prepend-cache FAIL: elf/tst-ldconfig-bad-aux-cache FAIL: elf/tst-ldconfig-ld_so_conf-update FAIL: elf/tst-pldd FAIL: elf/tst-preload-pthread-libc XPASS: elf/tst-protected1a XPASS: elf/tst-protected1b FAIL: grp/tst-initgroups1 <<< new FAIL: grp/tst-initgroups2 <<< new FAIL: locale/tst-localedef-path-norm FAIL: localedata/tst-localedef-hardlinks UNSUPPORTED: math/test-double-libmvec-sincos-avx512 UNSUPPORTED: math/test-float-libmvec-sincosf-avx512 UNSUPPORTED: misc/tst-pkey UNSUPPORTED: nptl/tst-cancel24 UNSUPPORTED: nptl/tst-cancel24-static UNSUPPORTED: nptl/tst-minstack-throw UNSUPPORTED: nptl/tst-once5 FAIL: nptl/tst-pthread-getattr UNSUPPORTED: nptl/tst-thread-exit-clobber UNSUPPORTED: nptl/tst-thread_local1 FAIL: nss/tst-nss-db-endgrent FAIL: nss/tst-nss-db-endpwent FAIL: nss/tst-nss-files-hosts-long FAIL: nss/tst-nss-test3 FAIL: nss/tst-reload1 FAIL: posix/bug-ga2 UNSUPPORTED: posix/bug-ga2-mem UNSUPPORTED: resolv/mtrace-tst-leaks2 FAIL: resolv/tst-leaks2 UNSUPPORTED: stdlib/tst-quick_exit FAIL: stdlib/tst-system UNSUPPORTED: stdlib/tst-thread-quick_exit FAIL: string/tst-strerror FAIL: string/tst-strsignal Summary of test results: 23 FAIL 4192 PASS 26 UNSUPPORTED 16 XFAIL 2 XPASS Martin