I fixes got merged about half an hour ago:
https://github.com/openssl/openssl/pull/5472
Cheers,
Richard
In message <6acdd452-4b5e-1225-bb3c-b5e0243a0c93@xxxxxxxxxxxxxxxxxx> on Tue, 27 Feb 2018 12:39:47 -0800, Norm Green <norm.green@xxxxxxxxxxxxxxxxxx> said:
norm.green> With CC=cc, I get this:
norm.green>
norm.green> cc -I. -Icrypto/include -Iinclude -g -O0 -arch x86_64 -Wall
norm.green> -Qunused-arguments -fPIC -DDSO_DLFCN -DHAVE_DLFCN_H
norm.green> -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ
norm.green> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
norm.green> -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM
norm.green> -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM
norm.green> -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM
norm.green> -D_REENTRANT -DL_ENDIAN
norm.green> -DOPENSSLDIR="\"/Volumes/orpheus3/users/normg/sslinstall/ssl\""
norm.green> -DENGINESDIR="\"/Volumes/orpheus3/users/normg/sslinstall/lib/engines-1.1\""
norm.green> -c -MMD -MF crypto/ec/x25519-x86_64.d.tmp -MT
norm.green> crypto/ec/x25519-x86_64.o -c -o crypto/ec/x25519-x86_64.o
norm.green> crypto/ec/x25519-x86_64.s
norm.green> crypto/ec/x25519-x86_64.s:164:1: error: assembler local symbol
norm.green> 'L$reduce51' not defined
norm.green>
norm.green> and with CC=gcc I get this similar error:
norm.green>
norm.green>
norm.green> CC="gcc" perl crypto/ec/asm/x25519-x86_64.pl macosx
norm.green> crypto/ec/x25519-x86_64.s
norm.green> gcc -I. -Icrypto/include -Iinclude -g -O0 -arch x86_64 -Wall
norm.green> -Qunused-arguments -fPIC -DDSO_DLFCN -DHAVE_DLFCN_H
norm.green> -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ
norm.green> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
norm.green> -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM
norm.green> -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM
norm.green> -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM
norm.green> -D_REENTRANT -DL_ENDIAN
norm.green> -DOPENSSLDIR="\"/Volumes/orpheus3/users/normg/sslinstall/ssl\""
norm.green> -DENGINESDIR="\"/Volumes/orpheus3/users/normg/sslinstall/lib/engines-1.1\""
norm.green> -c -MMD -MF crypto/ec/x25519-x86_64.d.tmp -MT
norm.green> crypto/ec/x25519-x86_64.o -c -o crypto/ec/x25519-x86_64.o
norm.green> crypto/ec/x25519-x86_64.s
norm.green> crypto/ec/x25519-x86_64.s:187:1: error: assembler local symbol
norm.green> 'L$reduce51' not defined
norm.green> clang -cc1as: fatal error: error in backend: unsupported relocation of
norm.green> undefined symbol 'L$reduce51'
norm.green> make[1]: *** [crypto/ec/x25519-x86_64.o] Error 1
norm.green> make: *** [all] Error 2
norm.green>
norm.green> Config details:
norm.green>
norm.green>
norm.green> normg@orpheus>cc --version
norm.green> Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
norm.green> Target: x86_64-apple-darwin13.4.0
norm.green> Thread model: posix
norm.green>
norm.green> normg@orpheus>uname -a
norm.green> Darwin orpheus 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18
norm.green> 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64
norm.green>
norm.green>
norm.green> Results from perl configdata.pm --dump:
norm.green>
norm.green>
norm.green> Use of uninitialized value $prefix in concatenation (.) or string at
norm.green> configdata.pm line 15413.
norm.green> Use of uninitialized value $prefix in concatenation (.) or string at
norm.green> configdata.pm line 15413.
norm.green> Use of uninitialized value $prefix in concatenation (.) or string at
norm.green> configdata.pm line 15413.
norm.green> Use of uninitialized value $prefix in concatenation (.) or string at
norm.green> configdata.pm line 15413.
norm.green> Use of uninitialized value $prefix in concatenation (.) or string at
norm.green> configdata.pm line 15413.
norm.green>
norm.green> Command line (with current working directory = .):
norm.green>
norm.green> perl ./Configure threads shared no-zlib
norm.green> --prefix=/Volumes/orpheus3/users/normg/sslinstall
norm.green> debug-darwin64-x86_64-cc
norm.green>
norm.green> Perl information:
norm.green>
norm.green> perl
norm.green> 5.16.2 for darwin-thread-multi-2level
norm.green>
norm.green> Enabled features:
norm.green>
norm.green> aria
norm.green> asm
norm.green> async
norm.green> autoalginit
norm.green> autoerrinit
norm.green> bf
norm.green> blake2
norm.green> camellia
norm.green> capieng
norm.green> cast
norm.green> chacha
norm.green> cmac
norm.green> cms
norm.green> comp
norm.green> ct
norm.green> deprecated
norm.green> des
norm.green> dgram
norm.green> dh
norm.green> dsa
norm.green> dso
norm.green> dtls
norm.green> dynamic-engine
norm.green> ec
norm.green> ec2m
norm.green> ecdh
norm.green> ecdsa
norm.green> engine
norm.green> err
norm.green> filenames
norm.green> gost
norm.green> hw(-.+)?
norm.green> idea
norm.green> makedepend
norm.green> md4
norm.green> mdc2
norm.green> multiblock
norm.green> nextprotoneg
norm.green> ocb
norm.green> ocsp
norm.green> pic
norm.green> poly1305
norm.green> posix-io
norm.green> psk
norm.green> rc2
norm.green> rc4
norm.green> rdrand
norm.green> rfc3779
norm.green> rmd160
norm.green> scrypt
norm.green> seed
norm.green> shared
norm.green> siphash
norm.green> sm3
norm.green> sm4
norm.green> sock
norm.green> srp
norm.green> srtp
norm.green> sse2
norm.green> ssl
norm.green> static-engine
norm.green> stdio
norm.green> tests
norm.green> threads
norm.green> tls
norm.green> ts
norm.green> ui-console
norm.green> whirlpool
norm.green> tls1
norm.green> tls1-method
norm.green> tls1_1
norm.green> tls1_1-method
norm.green> tls1_2
norm.green> tls1_2-method
norm.green> tls1_3
norm.green> dtls1
norm.green> dtls1-method
norm.green> dtls1_2
norm.green> dtls1_2-method
norm.green>
norm.green> Disabled features:
norm.green>
norm.green> afalgeng [not-linux]
norm.green> asan [default] OPENSSL_NO_ASAN
norm.green> crypto-mdebug [default] OPENSSL_NO_CRYPTO_MDEBUG
norm.green> crypto-mdebug-backtrace [default]
norm.green> OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
norm.green> devcryptoeng [default] OPENSSL_NO_DEVCRYPTOENG
norm.green> ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128
norm.green> egd [default] OPENSSL_NO_EGD
norm.green> external-tests [default] OPENSSL_NO_EXTERNAL_TESTS
norm.green> fuzz-libfuzzer [default] OPENSSL_NO_FUZZ_LIBFUZZER
norm.green> fuzz-afl [default] OPENSSL_NO_FUZZ_AFL
norm.green> heartbeats [default] OPENSSL_NO_HEARTBEATS
norm.green> md2 [default] OPENSSL_NO_MD2 (skip
norm.green> crypto/md2)
norm.green> msan [default] OPENSSL_NO_MSAN
norm.green> rc5 [default] OPENSSL_NO_RC5 (skip
norm.green> crypto/rc5)
norm.green> sctp [default] OPENSSL_NO_SCTP
norm.green> ssl-trace [default] OPENSSL_NO_SSL_TRACE
norm.green> tls13downgrade [default] OPENSSL_NO_TLS13DOWNGRADE
norm.green> ubsan [default] OPENSSL_NO_UBSAN
norm.green> unit-test [default] OPENSSL_NO_UNIT_TEST
norm.green> weak-ssl-ciphers [default] OPENSSL_NO_WEAK_SSL_CIPHERS
norm.green> zlib [option]
norm.green> zlib-dynamic [default]
norm.green> ssl3 [default] OPENSSL_NO_SSL3
norm.green> ssl3-method [default] OPENSSL_NO_SSL3_METHOD
norm.green>
norm.green> Config target attributes:
norm.green>
norm.green> aes_asm_src => "aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s
norm.green> aesni-x86_64.s aesni-sha1-x86_64.s aesni-sha256-x86_64.s
norm.green> aesni-mb-x86_64.s",
norm.green> aes_obj => "aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o
norm.green> aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o
norm.green> aesni-mb-x86_64.o",
norm.green> apps_aux_src => "",
norm.green> apps_init_src => "",
norm.green> apps_obj => "",
norm.green> ar => "ar",
norm.green> arflags => "r",
norm.green> bf_asm_src => "bf_enc.c",
norm.green> bf_obj => "bf_enc.o",
norm.green> bn_asm_src => "asm/x86_64-gcc.c x86_64-mont.s x86_64-mont5.s
norm.green> x86_64-gf2m.s rsaz_exp.c rsaz-x86_64.s rsaz-avx2.s",
norm.green> bn_obj => "asm/x86_64-gcc.o x86_64-mont.o x86_64-mont5.o
norm.green> x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o",
norm.green> bn_ops => "SIXTY_FOUR_BIT_LONG",
norm.green> build_file => "Makefile",
norm.green> build_scheme => [ "unified", "unix" ],
norm.green> cast_asm_src => "c_enc.c",
norm.green> cast_obj => "c_enc.o",
norm.green> cc => "cc",
norm.green> cflags => "-g -O0 -arch x86_64 -Wall",
norm.green> chacha_asm_src => "chacha-x86_64.s",
norm.green> chacha_obj => "chacha-x86_64.o",
norm.green> cmll_asm_src => "cmll-x86_64.s cmll_misc.c",
norm.green> cmll_obj => "cmll-x86_64.o cmll_misc.o",
norm.green> cppflags => "-D_REENTRANT -DL_ENDIAN",
norm.green> cpuid_asm_src => "x86_64cpuid.s",
norm.green> cpuid_obj => "x86_64cpuid.o",
norm.green> defines => [ ],
norm.green> des_asm_src => "des_enc.c fcrypt_b.c",
norm.green> des_obj => "des_enc.o fcrypt_b.o",
norm.green> disable => [ ],
norm.green> dso_cflags => "-fPIC",
norm.green> dso_cxxflags => "",
norm.green> dso_extension => ".dylib",
norm.green> dso_lflags => "-bundle",
norm.green> dso_scheme => "DLFCN",
norm.green> ec_asm_src => "ecp_nistz256.c ecp_nistz256-x86_64.s
norm.green> x25519-x86_64.s",
norm.green> ec_obj => "ecp_nistz256.o ecp_nistz256-x86_64.o x25519-x86_64.o",
norm.green> enable => [ ],
norm.green> exe_extension => "",
norm.green> hashbangperl => "/usr/bin/env perl",
norm.green> includes => [ ],
norm.green> lflags => "",
norm.green> md5_asm_src => "md5-x86_64.s",
norm.green> md5_obj => "md5-x86_64.o",
norm.green> modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
norm.green> modes_obj => "ghash-x86_64.o aesni-gcm-x86_64.o",
norm.green> padlock_asm_src => "e_padlock-x86_64.s",
norm.green> padlock_obj => "e_padlock-x86_64.o",
norm.green> perlasm_scheme => "macosx",
norm.green> plib_lflags => "-Wl,-search_paths_first",
norm.green> poly1305_asm_src => "poly1305-x86_64.s",
norm.green> poly1305_obj => "poly1305-x86_64.o",
norm.green> ranlib => "ranlib -c",
norm.green> rc => "windres",
norm.green> rc4_asm_src => "rc4-x86_64.s rc4-md5-x86_64.s",
norm.green> rc4_obj => "rc4-x86_64.o rc4-md5-x86_64.o",
norm.green> rc5_asm_src => "rc5_enc.c",
norm.green> rc5_obj => "rc5_enc.o",
norm.green> rmd160_asm_src => "",
norm.green> rmd160_obj => "",
norm.green> sha1_asm_src => "sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s
norm.green> sha1-mb-x86_64.s sha256-mb-x86_64.s",
norm.green> sha1_obj => "sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o
norm.green> sha1-mb-x86_64.o sha256-mb-x86_64.o",
norm.green> shared_cflag => "-fPIC",
norm.green> shared_defines => [ ],
norm.green> shared_extension => ".\$(SHLIB_VERSION_NUMBER).dylib",
norm.green> shared_extension_simple => ".dylib",
norm.green> shared_ldflag => "-dynamiclib -current_version
norm.green> \$(SHLIB_VERSION_NUMBER) -compatibility_version
norm.green> \$(SHLIB_VERSION_NUMBER)",
norm.green> shared_rcflag => "",
norm.green> shared_sonameflag => "-install_name \$(INSTALLTOP)/\$(LIBDIR)/",
norm.green> shared_target => "darwin-shared",
norm.green> sys_id => "MACOSX",
norm.green> thread_defines => [ ],
norm.green> thread_scheme => "pthreads",
norm.green> unistd => "<unistd.h>",
norm.green> uplink_aux_src => "",
norm.green> uplink_obj => "",
norm.green> wp_asm_src => "wp-x86_64.s",
norm.green> wp_obj => "wp-x86_64.o",
norm.green>
norm.green> Recorded environment:
norm.green>
norm.green> AR =
norm.green> ARFLAGS =
norm.green> AS =
norm.green> ASFLAGS =
norm.green> BUILDFILE =
norm.green> CC = gcc
norm.green> CFLAGS =
norm.green> CPP =
norm.green> CPPDEFINES =
norm.green> CPPFLAGS =
norm.green> CPPINCLUDES =
norm.green> CROSS_COMPILE =
norm.green> CXX =
norm.green> CXXFLAGS =
norm.green> HASHBANGPERL =
norm.green> LD = gcc
norm.green> LDFLAGS =
norm.green> LDLIBS =
norm.green> MT =
norm.green> MTFLAGS =
norm.green> OPENSSL_LOCAL_CONFIG_DIR =
norm.green> PERL = perl
norm.green> RANLIB =
norm.green> RC =
norm.green> RCFLAGS =
norm.green> RM =
norm.green> WINDRES =
norm.green>
norm.green> Makevars:
norm.green>
norm.green> AR = ar
norm.green> ARFLAGS = r
norm.green> CC = gcc
norm.green> CFLAGS = -g -O0 -arch x86_64 -Wall -Qunused-arguments
norm.green> CPPDEFINES = DSO_DLFCN HAVE_DLFCN_H OPENSSL_NO_STATIC_ENGINE
norm.green> OPENSSL_PIC OPENSSL_CPUID_OBJ OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT
norm.green> OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM SHA256_ASM
norm.green> SHA512_ASM RC4_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM GHASH_ASM
norm.green> ECP_NISTZ256_ASM X25519_ASM PADLOCK_ASM POLY1305_ASM
norm.green> CPPFLAGS = -D_REENTRANT -DL_ENDIAN
norm.green> CPPINCLUDES =
norm.green> CXXFLAGS =
norm.green> HASHBANGPERL = perl
norm.green> LD = gcc
norm.green> LDFLAGS =
norm.green> LDLIBS =
norm.green> RANLIB = ranlib -c
norm.green> RC = windres
norm.green>
norm.green> NOTE: These variables only represent the configuration view. The build
norm.green> file
norm.green> template may have processed these variables further, please have a
norm.green> look at the
norm.green> build file for more exact data:
norm.green> Makefile
norm.green>
norm.green> build file:
norm.green>
norm.green> Makefile
norm.green>
norm.green> build file templates:
norm.green>
norm.green> Configurations/unix-Makefile.tmpl
norm.green> Configurations/common.tmpl
norm.green>
norm.green>