[openssl.org #4373] OS X 10.5, 32-bit PPC, and missing symbols (_ASYNC_get_current_job, _EVP_MD_meth_set_init, _RSA_PKCS1_OpenSSL, _EVP_MD_meth_new...)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[openssl.org #4373] OS X 10.5, 32-bit PPC, and missing symbols (_ASYNC_get_current_job, _EVP_MD_meth_set_init, _RSA_PKCS1_OpenSSL, _EVP_MD_meth_new...)

Rich Salz via RT
Working from master:

  $ git reset --hard HEAD && git pull
  HEAD is now at e9b1c42 make errors

Then:

$ KERNEL_BITS=32 ./config
...

$ make depend && make clean && make
...

<fix compile error in chacha.s>
$ make
...

LD_LIBRARY_PATH=..: cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DVPAES_ASM
-DPOLY1305_ASM -DOPENSSLDIR="/usr/local/ssl"
-DENGINESDIR="/usr/local/lib/engines" -O3 -D_REENTRANT -arch ppc
-DB_ENDIAN -Wa,-force_cpusubtype_ALL -arch ppc -bundle -o
./dasync.dylib e_dasync.o -L.. -lcrypto
Undefined symbols:
  "_ASYNC_get_current_job", referenced from:
      _dummy_pause_job in e_dasync.o
  "_EVP_MD_meth_set_init", referenced from:
      _dasync_sha1 in e_dasync.o
  "_RSA_PKCS1_OpenSSL", referenced from:
      _dasync_rsa_init in e_dasync.o
      _dasync_rsa_finish in e_dasync.o
      _dasync_rsa_mod_exp in e_dasync.o
      _dasync_rsa_priv_dec in e_dasync.o
      _dasync_rsa_priv_enc in e_dasync.o
      _dasync_pub_dec in e_dasync.o
      _dasync_pub_enc in e_dasync.o
  "_EVP_MD_meth_set_flags", referenced from:
      _dasync_sha1 in e_dasync.o
  "_ASYNC_get_wait_ctx", referenced from:
      _dummy_pause_job in e_dasync.o
  "_EVP_MD_meth_set_result_size", referenced from:
      _dasync_sha1 in e_dasync.o
  "_ASYNC_WAIT_CTX_set_wait_fd", referenced from:
      _dummy_pause_job in e_dasync.o
  "_EVP_MD_meth_set_app_datasize", referenced from:
      _dasync_sha1 in e_dasync.o
  "_EVP_MD_meth_set_input_blocksize", referenced from:
      _dasync_sha1 in e_dasync.o
  "_EVP_MD_meth_new", referenced from:
      _dasync_sha1 in e_dasync.o
  "_EVP_MD_meth_set_final", referenced from:
      _dasync_sha1 in e_dasync.o
  "_EVP_MD_meth_set_update", referenced from:
      _dasync_sha1 in e_dasync.o
  "_EVP_MD_type", referenced from:
      _dasync_digests in e_dasync.o
  "_ENGINE_get_static_state", referenced from:
      _bind_engine in e_dasync.o
  "_EVP_MD_CTX_md_data", referenced from:
      _dasync_sha1_final in e_dasync.o
      _dasync_sha1_update in e_dasync.o
      _dasync_sha1_init in e_dasync.o
  "_ASYNC_WAIT_CTX_get_fd", referenced from:
      _dummy_pause_job in e_dasync.o
  "_EVP_MD_meth_free", referenced from:
      _dasync_sha1 in e_dasync.o
      _dasync_destroy in e_dasync.o
  "_ASYNC_pause_job", referenced from:
      _dummy_pause_job in e_dasync.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [link_dso.darwin] Error 1
make[1]: *** [lib] Error 2
make: *** [build_engines] Error 1


**********

$ KERNEL_BITS=32 ./config
Operating system: ppc-apple-darwinDarwin Kernel Version 9.8.0: Wed Jul
15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC
Smartmatch is experimental at ./Configure line 2110.
Smartmatch is experimental at ./Configure line 2110.
Configuring for darwin-ppc-cc
Smartmatch is experimental at ./Configure line 2110.
Configuring OpenSSL version 1.1.0-pre4-dev (0x0x10100004L)
    no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
    no-crypto-mdebug-backtrace [forced]
OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir)
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
    no-egd          [default]  OPENSSL_NO_EGD (skip dir)
    no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS (skip dir)
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
    no-shared       [default]
    no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
    no-static-engine [default]  OPENSSL_NO_STATIC_ENGINE (skip dir)
    no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
    no-zlib         [default]
    no-zlib-dynamic [forced]
Configuring for darwin-ppc-cc
IsMK1MF       =no
CC            =cc
CFLAG         =-O3 -D_REENTRANT -arch ppc -DB_ENDIAN -Wa,-force_cpusubtype_ALL
DEFINES       =DSO_DLFCN HAVE_DLFCN_H OPENSSL_THREADS
OPENSSL_NO_STATIC_ENGINE OPENSSL_PIC OPENSSL_BN_ASM_MONT SHA1_ASM
SHA256_ASM SHA512_ASM AES_ASM VPAES_ASM POLY1305_ASM
LFLAG         =
PLIB_LFLAG    =-Wl,-search_paths_first
EX_LIBS       =
APPS_OBJ      =
CPUID_OBJ     =ppccpuid.o ppccap.o
UPLINK_OBJ    =
BN_ASM        =bn-ppc.o ppc-mont.o ppc64-mont.o
EC_ASM        =
DES_ENC       =des_enc.o fcrypt_b.o
AES_ENC       =aes_core.o aes_cbc.o aes-ppc.o vpaes-ppc.o aesp8-ppc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o rc4_skey.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =sha1-ppc.o sha256-ppc.o sha512-ppc.o sha256p8-ppc.o
sha512p8-ppc.o
RMD160_OBJ_ASM=
CMLL_ENC      =camellia.o cmll_misc.o cmll_cbc.o
MODES_OBJ     =ghashp8-ppc.o
PADLOCK_OBJ   =
CHACHA_ENC    =chacha-ppc.o
POLY1305_OBJ  =poly1305-ppc.o poly1305-ppcfp.o
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/opt/local/bin//perl5

THIRTY_TWO_BIT mode
BN_LLONG mode

Configured for darwin-ppc-cc.


--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4373
Please log in as guest with password guest if prompted

--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

Re: [openssl.org #4373] OS X 10.5, 32-bit PPC, and missing symbols (_ASYNC_get_current_job, _EVP_MD_meth_set_init, _RSA_PKCS1_OpenSSL, _EVP_MD_meth_new...)

Rich Salz via RT
> Working from master:
>
>   $ git reset --hard HEAD && git pull
>   HEAD is now at e9b1c42 make errors
>
> Then:
>
> $ KERNEL_BITS=32 ./config
> ...
>
> $ make depend && make clean && make
> ...
>
> <fix compile error in chacha.s>
> $ make
> ...
>
> LD_LIBRARY_PATH=..: cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS
> -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT
> -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DVPAES_ASM
> -DPOLY1305_ASM -DOPENSSLDIR="/usr/local/ssl"
> -DENGINESDIR="/usr/local/lib/engines" -O3 -D_REENTRANT -arch ppc
> -DB_ENDIAN -Wa,-force_cpusubtype_ALL -arch ppc -bundle -o
> ./dasync.dylib e_dasync.o -L.. -lcrypto
> Undefined symbols:
>   "_ASYNC_get_current_job", referenced from:
>       _dummy_pause_job in e_dasync.o

Fixed by
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=3ed1839dc3ad285ca83609007a18911d3c7bfdbe.
Closing ticket. [As well as re-closing chacha.s ticket.]




--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4373
Please log in as guest with password guest if prompted

--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev