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

Noah Goldstein goldstein.w.n@gmail.com
Mon Sep 27 19:43:25 GMT 2021


On Mon, Sep 27, 2021 at 2:34 PM Florian Weimer <fweimer@redhat.com> wrote:
>
> * 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?

No.

>
> 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.

>From as.i

# 0 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/as.c"
# 1 "/home/noah/programs/opensource/glibc-dev/build-many/build/compilers/x86_64-linux-gnu/binutils/gas//"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 0 "<command-line>" 2
# 1 "/home/noah/programs/opensource/glibc-dev/build-many/src/binutils/gas/as.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/as.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
>


More information about the Libc-alpha mailing list