Skip to content

Commit

Permalink
nettle: disable assembler on ppc64
Browse files Browse the repository at this point in the history
As of version 3.7, Nettle added PowerPC64 assembly for several
algorithms. Unfortunately, they cause build to fail due to ABI mismatch:

gcm-hash.o: ABI version 1 is not compatible with ABI version 2 output

Disable assembler when ppc64 and musl are used for now.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rui Salvaterra <rsalvaterra@gmail.com>
  • Loading branch information
stintel committed Dec 21, 2021
1 parent ac8673f commit 38c3ead
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/libs/nettle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ CONFIGURE_ARGS += \
--enable-fat \
--disable-openssl \
--disable-documentation \
--enable-static
--enable-static \
$(if $(CONFIG_powerpc64), $(if $(CONFIG_USE_MUSL),--disable-assembler))

ifeq ($(CONFIG_LIBNETTLE_MINI),y)
CONFIGURE_ARGS += --enable-mini-gmp
Expand Down

0 comments on commit 38c3ead

Please sign in to comment.