From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 5BB5A3858D3C for ; Mon, 27 Sep 2021 19:43:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5BB5A3858D3C Received: by mail-pf1-x429.google.com with SMTP id g14so16892562pfm.1 for ; Mon, 27 Sep 2021 12:43:37 -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:content-transfer-encoding; bh=4jTfMz1rPUqC4VNHz7kDffk+wXNM0BN4KnfnV4RB4Is=; b=30ZgGp7lpQjqUu6Geo15X1QuuBxErHnDAlirWYpP/wB/TGAh9e96iDAJiebnhAP2NU tcNAHoVtt/b2IDIwtS0Jp9rk68bvCJX2IlgV9UbW5rvPUzN7NpnsD1nlI86zKJiSA4TV wBzUIuskZCrb41XAw8HaeFfBHES5tMUtFc3eoIrAKYEGo5IKvkgIrQ/lvJnETW51H2Lb qFWEo7/d4Aa/G6vYRbvkAFhvkCoF5iyBHsAKXL7o5/tArQbPbPENrarluETZUbvVX8aK QDQxASJDtcqjzyL7kV0tdmYMq8uw7bwaWNduQAe8Icv9jTwuy+e3D+FSTXfQDTdT/pjC naJw== X-Gm-Message-State: AOAM531knfuSDUpmCU/eTECk1/dnXqDRmczDD1MHVSstuklpRBcsJ66x Qs/+yt/QoR9YzeZXMs82h90zEUSNz/s10eT/J6U= X-Google-Smtp-Source: ABdhPJxeqCK+Bk48VPCvmBKzCn8fx1SQFlzQV7kXz4Ado0FMZL8stCnL6N0TfRY/E76rFVqmh9UX0xkFyR6sR6EbdpY= X-Received: by 2002:a63:7d04:: with SMTP id y4mr1144409pgc.131.1632771816412; Mon, 27 Sep 2021 12:43:36 -0700 (PDT) MIME-Version: 1.0 References: <20210913230506.546749-1-goldstein.w.n@gmail.com> <02afac02-47a5-43a5-8437-79fdbbea62aa@www.fastmail.com> <87mtoerl85.fsf@oldenburg.str.redhat.com> <875yumjx36.fsf@oldenburg.str.redhat.com> <87a6jyez7o.fsf@oldenburg.str.redhat.com> <87r1d9ewc9.fsf@oldenburg.str.redhat.com> <87mtnxevo1.fsf@oldenburg.str.redhat.com> <87ilylev4j.fsf@oldenburg.str.redhat.com> <87sfxpdf01.fsf@oldenburg.str.redhat.com> <87k0j1dd8u.fsf@oldenburg.str.redhat.com> In-Reply-To: <87k0j1dd8u.fsf@oldenburg.str.redhat.com> From: Noah Goldstein Date: Mon, 27 Sep 2021 14:43:25 -0500 Message-ID: Subject: Re: [PATCH 1/5] x86_64: Add support for bcmp using sse2, sse 4_1, avx2, and evex To: Florian Weimer Cc: Joseph Myers , Zack Weinberg , Zack Weinberg via Libc-alpha Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.5 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Mon, 27 Sep 2021 19:43:39 -0000 On Mon, Sep 27, 2021 at 2:34 PM Florian Weimer wrote: > > * Noah Goldstein: > > >> I remember seeing something like that before, but I can't remember wha= t > >> the cause was and what I did to fix it. > >> > >> Ohhhh, wait, is . on your path by any chance? > > > > "." is not a complete anywhere path but shows up for example in: > > /home/noah/.local/bin > > Hmm, okay, and that failure is during the gcc stage. > > > Could the issue be related to LD_LIBRARY_PATH picking up something > > from my system maybe? > > Seem unlikely, but possible. Looking at the environment settings is > probably a good idea. > > Have you installed any compiler wrappers, e.g. ccache, or hardening > wrappers? No. > > You could also take this command: > > depbase=3D`echo as.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONF= IG_H -I. -I/home/noah/programs/opensource/glibc-dev/build-many/src/binutils= /gas -I. -I/home/noah/programs/opensource/glibc-dev/build-many/src/binutil= s/gas -I../bfd -I/home/noah/programs/opensource/glibc-dev/build-many/src/bi= nutils/gas/config -I/home/noah/programs/opensource/glibc-dev/build-many/src= /binutils/gas/../include -I/home/noah/programs/opensource/glibc-dev/build-m= any/src/binutils/gas/.. -I/home/noah/programs/opensource/glibc-dev/build-ma= ny/src/binutils/gas/../bfd -DLOCALEDIR=3D"\"/home/noah/programs/opensource/= glibc-dev/build-many/install/compilers/x86_64-linux-gnu/share/locale\"" -W= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=3D26= 2144 -Werror -Wwrite-strings -I/home/noah/programs/opensource/glibc-dev/bui= ld-many/src/binutils/gas/../zlib -g -O2 -MT as.o -MD -MP -MF $depbase.T= po -c -o as.o /home/noah/programs/opensource/glibc-dev/build-many/src/binut= ils/gas/as.c > > add --save-temps, and invoke it in the directory > /home/noah/programs/opensource/glibc-dev/build-many/build/compilers/x86_6= 4-linux-gnu/binutils/gas. > This should produce an as.i file, and from the # lines in it, it should > be possible to glean from where the config.h file actually used comes > from. Or perhaps use the -H option and hope that the include nesting > reveals what's going on. >From as.i # 0 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/a= s.c" # 1 "/home/noah/programs/opensource/glibc-dev/build-many/build/compilers/x8= 6_64-linux-gnu/binutils/gas//" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/a= s.c" # 38 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/= as.c" # 1 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/a= s.h" 1 # 37 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/= as.h" # 1 "../bfd/config.h" 1 # 38 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/= as.h" 2 Seems to be using "../bfd/config.h Which does not contain a define for DEFAULT_GENERATE_ELF_STT_COMMON > > Thanks, > Florian >