While building OpenSSL 1.0.2x library I am configuring with following options on macos:
For Macosx-32: ./Configure --openssldir=/path/to/openssl/dir shared -mtune=generic -march=i386 -m32 -fPIC darwin-i386-cc no-asm -D_GNU_SOURCE no-rc5 enable-tlsext no-ssl2
For Macosx-64: ./Configure --openssldir=/path/to/openssl/dir shared -mtune=generic -fPIC darwin64-x86_64-cc -D_GNU_SOURCE no-rc5 enable-tlsext no-ssl2
I am receiving following warnings while make: Macosx-32: /var/folders/3g/fbblr5cx24z71164xr63lmw80000gq/T//cc85SWQQ.s:1873:11: warning: section "__textcoal_nt" is deprecated .section __TEXT,__textcoal_nt,coalesced,pure_instructions ^ ~~~~~~~~~~~~~ /var/folders/3g/fbblr5cx24z71164xr63lmw80000gq/T//cc85SWQQ.s:1873:11: note: change section name to "__text" .section __TEXT,__textcoal_nt,coalesced,pure_instructions ^ ~~~~~~~~~~~~~ /var/folders/3g/fbblr5cx24z71164xr63lmw80000gq/T//ccGS4Iaf.s:2462:11: warning: section "__textcoal_nt" is deprecated .section __TEXT,__textcoal_nt,coalesced,pure_instructions ^ ~~~~~~~~~~~~~ /var/folders/3g/fbblr5cx24z71164xr63lmw80000gq/T//ccGS4Iaf.s:2462:11: note: change section name to "__text" .section __TEXT,__textcoal_nt,coalesced,pure_instructions ^ ~~~~~~~~~~~~~
ar: creating archive ../libcrypto.a /usr/bin/ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(fips_ers.o) has no symbols
ar: creating archive ../libssl.a /usr/bin/ranlib: file: ../libssl.a(s2_srvr.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_clnt.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_lib.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_enc.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_pkt.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(kssl.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(t1_trce.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(ssl_utst.o) has no symbols
For Macosx-64: ar: creating archive ../libcrypto.a /usr/bin/ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(fips_ers.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(ecp_nistp224.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(ecp_nistp256.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(ecp_nistp521.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(ecp_nistputil.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(rand_win.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(rand_os2.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(rand_nw.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(e_rc5.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(m_md2.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(v3_asid.o) has no symbols
/usr/bin/ranlib: file: ../libcrypto.a(v3_addr.o) has no symbols
ar: creating archive ../libssl.a /usr/bin/ranlib: file: ../libssl.a(s2_srvr.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_clnt.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_lib.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_enc.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(s2_pkt.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(kssl.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(t1_trce.o) has no symbols
/usr/bin/ranlib: file: ../libssl.a(ssl_utst.o) has no symbols
I get these warnings with the default options set in the configure file. Is there a way to get rid of these warnings other than suppressing them? It would be a great help if you can provide any workaround to resolve the warnings.. thank you.