Looking at the build system, it seems the culprits are the following
files:

crypto/x86cpuid-elf.s
crypto/des/dx86-elf.s
crypto/aes/ax86-elf.s
crypto/bf/bx86-elf.s
Well, these .o files can contain relocations, but they get resolved and
*disappear* when libcrypto.so is linked. If you want confirmation that
they disappear run 'readelf -r libcrypto.so' and verify that no
relocations are accounted to .text segment [you'd have to run 'readelf
-e libcrypto.so' to find where .text is located].

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
[...]
  [12] .text             PROGBITS        00045a40 045a40 0ce574 00  AX  0   0 64
  [13] .fini             PROGBITS        00113fb4 113fb4 00001c 00  AX  0   0  4

So .text goes from 0x00045a40 to 0x00113fb3

Relocation section '.rel.dyn' at offset 0x29ca8 contains 9054 entries:
 Offset     Info    Type            Sym.Value  Sym. Name
[...]
0006360c  000ce102 R_386_PC32        000626f0   DES_encrypt2
00063620  000ce102 R_386_PC32        000626f0   DES_encrypt2
00063634  000ce102 R_386_PC32        000626f0   DES_encrypt2
0006373c  000ce102 R_386_PC32        000626f0   DES_encrypt2
00063750  000ce102 R_386_PC32        000626f0   DES_encrypt2
00063764  000ce102 R_386_PC32        000626f0   DES_encrypt2
00063832  000cde02 R_386_PC32        000617c0   DES_encrypt1
0006389a  000cde02 R_386_PC32        000617c0   DES_encrypt1
000638cb  000cde02 R_386_PC32        000617c0   DES_encrypt1
00063917  000cde02 R_386_PC32        000617c0   DES_encrypt1
00063a1b  000ce302 R_386_PC32        00063580   DES_encrypt3
00063a83  000ce302 R_386_PC32        00063580   DES_encrypt3
00063abb  0009da02 R_386_PC32        000636b0   DES_decrypt3
00063b07  0009da02 R_386_PC32        000636b0   DES_decrypt3
00068973  000a8902 R_386_PC32        00067ec0   _x86_AES_encrypt
000696a6  000a8902 R_386_PC32        00067ec0   _x86_AES_encrypt
00069557  00021902 R_386_PC32        00068990   _x86_AES_decrypt
00069854  00021902 R_386_PC32        00068990   _x86_AES_decrypt
00069903  00021902 R_386_PC32        00068990   _x86_AES_decrypt
00069c7b  00090102 R_386_PC32        000699b0   AES_set_encrypt_key
0006be95  00018402 R_386_PC32        0006b600   BF_encrypt
0006bf05  00018402 R_386_PC32        0006b600   BF_encrypt
0006bf3f  000c3e02 R_386_PC32        0006ba20   BF_decrypt
0006bf93  000c3e02 R_386_PC32        0006ba20   BF_decrypt

Sounds like Bsymbolic is omitted or broken. If former, then a) why? b) why? c) it's debian problem:-) A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to