[openssl-users] 1.1.1 pre1 tests failing on Solaris SPARC

Dennis Clarke dclarke at blastwave.org
Sat Feb 24 14:13:23 UTC 2018


On 24/02/18 07:51 AM, Andy Polyakov wrote:
>>> As for -lm, which symbol was undefined?
>>>
>>
>> Undefined                       first referenced
>>   symbol                             in file
>> fabs                                test/ct_test.o
> 
> ??? One can only wonder where does it come from. I see no fabs anywhere...
> 


${LDCMD:-/opt/developerstudio12.6/bin/cc} -errfmt=error -erroff=%none 
-errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa 
-xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -Qy -xs 
-xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -D_TS_ERRNO 
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE  -L. -mt  \
         -o test/crltest test/crltest.o \
           test/libtestutil.a -lcrypto -lz -lsocket -lnsl -ldl -lpthread
/opt/developerstudio12.6/bin/cc  -Iinclude -errfmt=error -erroff=%none 
-errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa 
-xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -Qy -xs 
-xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -D_TS_ERRNO 
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE  -DDSO_DLFCN 
-DHAVE_DLFCN_H -DZLIB -DNDEBUG -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC 
-DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m 
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM 
-DECP_NISTZ256_ASM -DPOLY1305_ASM -I/usr/local/include 
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO  -c -o 
test/ct_test.o test/ct_test.c
/usr/openwin/bin/makedepend -f- -o"|test/ct_test.o" --  -Iinclude 
-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 
-xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc 
-ftrap=%none -Qy -xs -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 
-D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE 
-DDSO_DLFCN -DHAVE_DLFCN_H -DZLIB -DNDEBUG -DOPENSSL_NO_STATIC_ENGINE 
-DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT 
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM 
-DAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM 
-I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE 
-D_TS_ERRNO  -c -- test/ct_test.c \
     >test/ct_test.d.tmp 2>/dev/null
/usr/local/bin/perl -i -pe 's/^.*\|//; s/ \/(\\.|[^ ])*//; $_ = undef if 
(/: *$/ || /^(#.*| *)$/); $_.="\n" unless !defined($_) or /\R$/g;' 
test/ct_test.d.tmp
rm -f test/ct_test
${LDCMD:-/opt/developerstudio12.6/bin/cc} -errfmt=error -erroff=%none 
-errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa 
-xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -Qy -xs 
-xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -D_TS_ERRNO 
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE  -L. -mt  \
         -o test/ct_test test/ct_test.o \
           test/libtestutil.a -lcrypto -lz -lsocket -lnsl -ldl -lpthread
Undefined                       first referenced
  symbol                             in file
fabs                                test/ct_test.o
ld: fatal: symbol referencing errors. No output written to test/ct_test
gmake[1]: *** [Makefile:10579: test/ct_test] Error 2
gmake[1]: Leaving directory 
'/usr/local/build/openssl-1.1.1-pre1_SunOS5.10_sparcv9.002'
gmake: *** [Makefile:143: all] Error 2
corv $ find . | grep "ct_test"
./test/ct_test.c
./test/ct_test.d
./test/ct_test.o
corv $
corv $ grep "math\.h" ./test/ct_test.c
#include <math.h>
corv $


More information about the openssl-users mailing list