dev-libs/libgcrypt-1.11.0-r1 fails to build on POWER8 with USE flag asm enabled: /bin/sh ../libtool --tag=CC --mode=link powerpc64le-unknown-linux-gnu-gcc -mcpu=power8 -O2 -pipe -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -Wl,-O1 -Wl,--as-needed -Wl,--undefined-version -o mpicalc mpicalc-mpicalc.o libgcrypt.la -lgpg-error libtool: link: powerpc64le-unknown-linux-gnu-gcc -mcpu=power8 -O2 -pipe -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -Wl,-O1 -Wl,--undefined-version -o .libs/mpicalc mpicalc-mpicalc.o -Wl,--as-needed ./.libs/libgcrypt.so -lgpg-error /usr/lib/gcc/powerpc64le-unknown-linux-gnu/14/../../../../powerpc64le-unknown-linux-gnu/bin/ld: ./.libs/libgcrypt.so: undefined reference to `gcry_poly1305_p10le_4blocks' /usr/lib/gcc/powerpc64le-unknown-linux-gnu/14/../../../../powerpc64le-unknown-linux-gnu/bin/ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_chacha20_p10le_8x' collect2: error: ld returned 1 exit status With USE=-asm the issue does not occur. The issue affects all 1.11.0 ebuilds (including previous stable 1.11.0 and latest 1.11.0-r2). All libgcrypt-1.10.3 ebuild compile fine with both USE=asm and USE=-asm. Reproducible: Always Steps to Reproduce: 1. emerge libgcrypt with USE=asm
Created attachment 915846 [details] build.log
Created attachment 915847 [details] emerge --info