[OpenSSL-1.0.2] TNF local patch - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt'

Issue #184 resolved
Takehiko NOZAKI repo owner created an issue
#      link  bin/openssl
/usr/tooldir/bin/m68k--netbsdelf-gcc    --sysroot=/usr/src/obj.hp300/destdir.hp300     -o openssl  openssl.o apps.o ecparam.o ec.o pkeyparam.o genpkey.o pkey.o pkeyutl.o ts.o cms.o s_cb.o s_socket.o app_rand.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o prime.o s_server.o s_client.o speed.o s_time.o version.o sess_id.o srp.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o -lssl -lcrypto -lcrypt       -Wl,-rpath-link,/usr/src/obj.hp300/destdir.hp300/lib  -L=/lib
/usr/tooldir/lib/gcc/m68k--netbsdelf/4.5.3/../../../../m68k--netbsdelf/bin/ld: warning: type and size of dynamic symbol `AES_encrypt' are not defined
/usr/tooldir/lib/gcc/m68k--netbsdelf/4.5.3/../../../../m68k--netbsdelf/bin/ld: dynamic variable `AES_encrypt' is zero size
/usr/tooldir/lib/gcc/m68k--netbsdelf/4.5.3/../../../../m68k--netbsdelf/bin/ld: speed.o(.text+0x2972): unresolvable R_68K_32 relocation against symbol `AES_encrypt'
/usr/tooldir/lib/gcc/m68k--netbsdelf/4.5.3/../../../../m68k--netbsdelf/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status

Comments (12)

  1. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 5cf9a907b032>>

  2. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 1ee6d16319da>>

  3. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 57b63744bf32>>

  4. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset cb3bc78174e8>>

  5. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 4d3bc64f40ba>>

  6. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset b510480aaf40>>

  7. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 8b03ec788743>>

  8. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 73c775f7133f>>

  9. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 3d2acc2272d9>>

  10. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 778dfa010386>>

  11. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 082b1e6cae0b>>

  12. Takehiko NOZAKI reporter

    BUGFIX: Issue #184 - m68k AES asm claims unresolvable R_68K_32 relocation against symbol `AES_encrypt' add .type and .size section.

    this fix derrived from TNF HEAD, modified by me. see following original commit message:

    http://mail-index.netbsd.org/source-changes/2018/03/05/msg092821.html - make the key functions public, and provide function type and size attributes.

    http://mail-index.netbsd.org/source-changes/2018/03/07/msg092919.html - Use local ELF labels and avoid an unsupported 16bit relocation.

    → <<cset 170876b066ee>>

  13. Log in to comment