Openssl fails build on Mac OS X 10.11

Scott Hannahs via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
This is the second of a few build failures.  Attempt to try to update openssl.  This is OpenSSL 3.0, I think and different from the version 110 libraries of my previous message.  This has LOTS of errors of this type.

cc -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/sw/etc/ssl\"" -DENGINESDIR="\"/sw/lib/engines-3\"" -DMODULESDIR="\"/sw/lib/ossl-modules\"" -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED -DNDEBUG -I/sw/include -c -o crypto/bn/libcrypto-lib-rsaz-avx512.o crypto/bn/rsaz-avx512.s
crypto/bn/rsaz-avx512.s:36:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA
 vpxord %ymm0,%ymm0,%ymm0
 ^
crypto/bn/rsaz-avx512.s:37:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA
 vmovdqa64 %ymm0,%ymm1
 ^

and this type:
crypto/bn/rsaz-avx512.s:76:2: error: invalid instruction mnemonic 'vpmadd52luq'
 vpmadd52luq 0(%rsi),%ymm3,%ymm1
 ^~~~~~~~~~~
crypto/bn/rsaz-avx512.s:77:2: error: invalid instruction mnemonic 'vpmadd52luq'
 vpmadd52luq 32(%rsi),%ymm3,%ymm16
 ^~~~~~~~~~~

leading to a final failure
make[1]: *** [Makefile:13958: crypto/bn/libcrypto-lib-rsaz-avx512.o] Error 1
make[1]: Leaving directory '/sw/src/fink.build/openssl300-dev-3.0.0-1/openssl-3.0.0'
make: *** [Makefile:3214: build_sw] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.bOtfk failed, exit code 2
Removing runtime build-lock...


This looks like a broken include file?

Package manager version: 0.45.3
Distribution version: selfupdate-git Mon Sep 27 20:55:21 2021, 10.11, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 8.2.1
Xcode command-line tools: 8.2.0.0.1.1480973914
openssl300-dev-3.0.0-1 is set to build with only one job.

-Scott
(attached full build file for documentation)

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.