Page MenuHome GnuPG

poly1305-s390x.S is compiled despite --disable-asm
Closed, ResolvedPublic

Description

--disable-asm works for MPI, but poly1305-s390x.S is still being compiled by libtool. I'd say that disable-asm should disable assembler across the board.

Details

Version
1.9.4

Event Timeline

werner triaged this task as Normal priority.Nov 16 2021, 1:10 PM

Additionally, poly1305-s390x.S is being compiled despite running/targeting a PC system:

checking build system type... x86_64-pc-mingw32
checking host system type... i686-pc-mingw32

Thanks for your report.

With --disable-asm assembly files under cipher/ may get compiled, however resulting object files are empty (or should be).

Following patch should solve issue of compiling poly1305-s390x.S on wrong architectures:

Following patch should prevent assembly files being built at all with --disable-asm: