This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86_64: memcpy/memmove family optimized with AVX512


On Mon, Jan 18, 2016 at 10:50 AM, Paul Pluzhnikov
<ppluzhnikov@google.com> wrote:
> This patch appears to break my build:
>
> On Ubuntu 14.04 LTS, using system gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4:
>
>
> make[3]: Leaving directory '/Archive/glibc-git/elf'
> gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs
> -Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2
> -B/Archive/glibc-git/build-system-gcc/csu/
> -Wl,--version-script=/Archive/glibc-git/build-system-gcc/libc.map
> -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro
> -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main
> -L/Archive/glibc-git/build-system-gcc
> -L/Archive/glibc-git/build-system-gcc/math
> -L/Archive/glibc-git/build-system-gcc/elf
> -L/Archive/glibc-git/build-system-gcc/dlfcn
> -L/Archive/glibc-git/build-system-gcc/nss
> -L/Archive/glibc-git/build-system-gcc/nis
> -L/Archive/glibc-git/build-system-gcc/rt
> -L/Archive/glibc-git/build-system-gcc/resolv
> -L/Archive/glibc-git/build-system-gcc/crypt
> -L/Archive/glibc-git/build-system-gcc/mathvec
> -L/Archive/glibc-git/build-system-gcc/nptl
> -Wl,-rpath-link=/Archive/glibc-git/build-system-gcc:/Archive/glibc-git/build-system-gcc/math:/Archive/glibc-git/build-system-gcc/elf:/Archive/glibc-git/build-system-gcc/dlfcn:/Archive/glibc-git/build-system-gcc/nss:/Archive/glibc-git/build-system-gcc/nis:/Archive/glibc-git/build-system-gcc/rt:/Archive/glibc-git/build-system-gcc/resolv:/Archive/glibc-git/build-system-gcc/crypt:/Archive/glibc-git/build-system-gcc/mathvec:/Archive/glibc-git/build-system-gcc/nptl
> -o /Archive/glibc-git/build-system-gcc/libc.so -T
> /Archive/glibc-git/build-system-gcc/shlib.lds
> /Archive/glibc-git/build-system-gcc/csu/abi-note.o
> /Archive/glibc-git/build-system-gcc/elf/soinit.os
> /Archive/glibc-git/build-system-gcc/libc_pic.os
> /Archive/glibc-git/build-system-gcc/elf/sofini.os
> /Archive/glibc-git/build-system-gcc/elf/interp.os
> /Archive/glibc-git/build-system-gcc/elf/ld.so -lgcc
> /Archive/glibc-git/build-system-gcc/libc_pic.os: In function
> `__libc_ifunc_impl_list':
> /Archive/glibc-git/misc/../sysdeps/x86_64/multiarch/ifunc-impl-list.c:50:
> undefined reference to `__memmove_chk_avx512_no_vzeroupper'
> /usr/bin/ld: /Archive/glibc-git/build-system-gcc/libc_pic.os:
> relocation R_X86_64_PC32 against undefined hidden symbol
> `__memmove_chk_avx512_no_vzeroupper' can not be used when making a
> shared object
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status
> ../Makerules:681: recipe for target
> '/Archive/glibc-git/build-system-gcc/libc.so' failed
> make[2]: *** [/Archive/glibc-git/build-system-gcc/libc.so] Error 1
> make[2]: Leaving directory '/Archive/glibc-git/elf'
> Makefile:214: recipe for target 'elf/subdir_lib' failed
> make[1]: *** [elf/subdir_lib] Error 2
> make[1]: Leaving directory '/Archive/glibc-git'
> Makefile:9: recipe for target 'all' failed
> make: *** [all] Error 2
>
>

Please try this.



-- 
H.J.

Attachment: avx512.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]