Architecture: AMD64 (x86_64)
GCC version: 6.2.0 20160822 (AOSC OS, Core) (GCC)
LD (gold version): 2.27 (1.12)
When LTO is enabled in CFLAGS and LDFLAGS (-flto=jobserver -fuse-linker-plugins
to GCC and LD, respectively), libgcrypt refuses to build with an inlining error.
libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I/var/lib/abbs/build/tmp.FrJpnZY70I/libgcrypt-1.7.5/cipher -I.. -I../src
-I/var/lib/abbs/build/tmp.FrJpnZY70I/libgcrypt-1.7.5/src -D_FORTIFY_SOURCE=2
-Wa,--noexecstack -pipe -Wno-error -fstack-protector-strong
--param=ssp-buffer-size=4 -fomit-frame-pointer -O2 -march=x86-64 -mtune=core2
-msse -msse2 -msse3 -fira-loop-pressure -fira-hoist-pressure -ftree-vectorize
-specs=/usr/lib/autobuild3/specs/hardened-cc1 -flto=jobserver -MT
camellia-aesni-avx-amd64.lo -MD -MP -MF .deps/camellia-aesni-avx-amd64.Tpo -c
/var/lib/abbs/build/tmp.FrJpnZY70I/libgcrypt-1.7.5/cipher/camellia-aesni-avx-amd64.S
-fPIC -DPIC -o .libs/camellia-aesni-avx-amd64.o
In file included from /usr/include/features.h:368:0,
from /usr/include/stdio.h:27, from
/var/lib/abbs/build/tmp.FrJpnZY70I/libgcrypt-1.7.5/cipher/rijndael-ssse3-amd64.c:38:
/var/lib/abbs/build/tmp.FrJpnZY70I/libgcrypt-1.7.5/cipher/rijndael-ssse3-amd64.c: In
function '_gcry_aes_ssse3_do_setkey':
/usr/include/bits/string3.h:50:1: error: inlining failed in call to
always_inline 'memcpy': target specific option mismatch
NTH (memcpy (void *restrict dest, const void *restrict __src,
^
/var/lib/abbs/build/tmp.FrJpnZY70I/libgcrypt-1.7.5/cipher/rijndael-ssse3-amd64.c:175:3:
note: called from here
memcpy(&ctx->keyschdec32[0][0], key, keybits / 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/camellia-aesni-avx2-amd64.Tpo .deps/camellia-aesni-avx2-amd64.Plo
mv -f .deps/camellia-aesni-avx-amd64.Tpo .deps/camellia-aesni-avx-amd64.Plo
make[1]: * [Makefile:660: rijndael-ssse3-amd64.lo] Error 1
make[1]: * Waiting for unfinished jobs....
mv -f .deps/rfc2268.Tpo .deps/rfc2268.Plo
mv -f .deps/idea.Tpo .deps/idea.Plo
mv -f .deps/salsa20.Tpo .deps/salsa20.Plo
mv -f .deps/camellia-glue.Tpo .deps/camellia-glue.Plo
mv -f .deps/camellia.Tpo .deps/camellia.Plo
mv -f .deps/seed.Tpo .deps/seed.Plo
make[1]: Leaving directory
'/var/lib/abbs/build/tmp.FrJpnZY70I/libgcrypt-1.7.5/build/cipher'
make: *** [Makefile:477: install-recursive] Error 1