[PATCH 1/5] x86_64: Add support for bcmp using sse2, sse 4_1, avx2, and evex

Florian Weimer fweimer@redhat.com
Mon Sep 27 19:34:09 GMT 2021


* Noah Goldstein:

>> I remember seeing something like that before, but I can't remember what
>> 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?

You could also take this command:

depbase=`echo as.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_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/binutils/gas -I../bfd -I/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/config -I/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/../include -I/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/.. -I/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/../bfd -DLOCALEDIR="\"/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=262144 -Werror -Wwrite-strings -I/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/../zlib -g -O2     -MT as.o -MD -MP -MF $depbase.Tpo -c -o as.o /home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/as.c

add --save-temps, and invoke it in the directory
/home/noah/programs/opensource/glibc-dev/build-many/build/compilers/x86_64-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.

Thanks,
Florian



More information about the Libc-alpha mailing list