This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
What does unexpected reloc type 0x03 mean?
- From: Jeffrey Walton <noloader at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Wed, 22 May 2019 05:27:58 -0400
- Subject: What does unexpected reloc type 0x03 mean?
- Reply-to: noloader at gmail dot com
Hi Everyone,
I maintain an Autotools port of Crypto++. Crypto++ is built with a
GNUmakefile, but some folks like Autotools so it is provided.
On ARM-32 I'm experiencing a failure when running self tests after a
build. The error is:
unexpected reloc type 0x03
I see the same error with 'LD_DEBUG=all ./cryptest v', but I still
don't know what it means.
The GNUmakefile is fine, and a CMake port is fine. Only Autotools on
32-bit ARM has the problem.
What does unexpected reloc type 0x03 mean?
=======
$ LD_DEBUG=all ./cryptest v
...
10419: relocation processing:
/home/test/cryptopp/.libs/libcryptopp-8.3.0.so.8 (lazy)
10419: symbol=CRYPTOGAMS_armcaps; lookup in
file=/home/test/cryptopp/.libs/lt-cryptest [0]
10419: symbol=CRYPTOGAMS_armcaps; lookup in
file=/home/test/cryptopp/.libs/libcryptopp-8.3.0.so.8 [0]
10419: binding file
/home/test/cryptopp/.libs/libcryptopp-8.3.0.so.8 [0] to
/home/test/cryptopp/.libs/libcryptopp-8.3.0.so.8 [0]: normal symbol
`CRYPTOGAMS_armcaps'
/home/test/cryptopp/.libs/lt-cryptest: error while loading shared
libraries: /home/test/cryptopp/.libs/libcryptopp-8.3.0.so.8:
unexpected reloc type 0x03