Created attachment 551968 [details] build.log make[5]: Entering directory '/var/tmp/portage/net-vpn/strongswan-5.7.1/work/strongswan-5.7.1/src/libstrongswan/plugins/rdrand' /bin/sh ../../../../libtool --tag=CC --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -rdynamic -O2 -mcpu=powerpc -pipe -include /var/tmp/portage/net-vpn/strongswan-5.7.1/work/strongswan-5.7.1/config.h -c -o rdrand_plugin.lo rdrand_plugin.c /bin/sh ../../../../libtool --tag=CC --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -rdynamic -O2 -mcpu=powerpc -pipe -include /var/tmp/portage/net-vpn/strongswan-5.7.1/work/strongswan-5.7.1/config.h -c -o rdrand_rng.lo rdrand_rng.c libtool: compile: powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -rdynamic -O2 -mcpu=powerpc -pipe -include /var/tmp/portage/net-vpn/strongswan-5.7.1/work/strongswan-5.7.1/config.h -c rdrand_rng.c -fPIC -DPIC -o .libs/rdrand_rng.o libtool: compile: powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -rdynamic -O2 -mcpu=powerpc -pipe -include /var/tmp/portage/net-vpn/strongswan-5.7.1/work/strongswan-5.7.1/config.h -c rdrand_plugin.c -fPIC -DPIC -o .libs/rdrand_plugin.o rdrand_rng.c: In function ‘get_bytes’: rdrand_rng.c:86:3: error: impossible constraint in ‘asm’ asm(".byte 0x0f;.byte 0xc7;.byte 0xf0;" /* rdrand */ ^~~ rdrand_rng.c:64:3: error: impossible constraint in ‘asm’ asm(".byte 0x66;.byte 0x0f;.byte 0xc7;.byte 0xf0; " /* rdrand */ ^~~ [...]
Created attachment 551970 [details] emerge --info
I am going to mask that "strongswan_plugins_rdrand" on non amd64/x86 architectures following upstream (see $URL).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917c309a28f1d65f1d79b72cacf9a48b98f55757 commit 917c309a28f1d65f1d79b72cacf9a48b98f55757 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-11-15 12:57:09 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-11-15 12:57:09 +0000 profiles: net-vpn/strongswan: enable padlock and rdrand plugin only for amd64 and x86 Closes: https://bugs.gentoo.org/669084 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> profiles/arch/amd64/package.use.mask | 5 +++++ profiles/arch/base/package.use.mask | 7 ++++++- profiles/arch/x86/package.use.mask | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082206844bfec503de8d4aaf73b71e385f6a04f6 commit 082206844bfec503de8d4aaf73b71e385f6a04f6 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-12-01 19:01:20 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-12-01 19:05:49 +0000 profiles: net-vpn/strongswan: don't enable padlock on amd64 This commit reverts changes from commit 917c309a28f1d65f1d79b72cacf9a48b98f55757. Closes: https://github.com/gentoo/gentoo/pull/10512 Bug: https://bugs.gentoo.org/669084 Closes: https://bugs.gentoo.org/576340 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> profiles/arch/amd64/package.use.mask | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)