* Re: OpenSSL/Binutils Issues
@ 2003-05-10 19:30 Kumba
0 siblings, 0 replies; 5+ messages in thread
From: Kumba @ 2003-05-10 19:30 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
It's attached in gzip format, as there was quite a bit of a return.
Many assertion fails and invalid symbol indexes.
Let me know if you need anything more.
--Kumba
Thiemo Wrote:
>Kumba wrote:
[snip]
>> Which builds fine. Then the error hits when attempting to execute
>> the "conftest" executable:
>>
>> ./conftest: error while loading shared libraries:
>> usr/lib/libcrypto.so.0.9.6: unexpected reloc type 0x68
>
> This libcrypto seems to be broken. 0x68 is not a valid MIPS reloc type
> at all, and a shared lib should use only R_MIPS_32 (type 2) relocations
> anyway.
>> Has anyone seen anything like this? My base mips install on my SGI
>> Indigo2 is built using binutils-2.13.90.0.16, which builds everything
>> fine, just doesn't cooperate well with -mips3 or higher options. I'm
>> not sure if this is mips-specific, or if I need to bother the OpenSSL
>> team about it.
>
> It is probably a binutils issue. Can you send the output of
> objdump -R usr/lib/libcrypto.so.0.9.6 |grep R_MIPS |grep -v \(R_MIPS_32\|R_MIPS_NONE\)
>
>
> Thiemo
[-- Attachment #2: crypto-grep-mips.txt.gz --]
[-- Type: application/x-gzip, Size: 1304 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* OpenSSL/Binutils Issues
@ 2003-05-10 4:20 Kumba
2003-05-10 5:50 ` Muthukumar Ratty
2003-05-10 14:19 ` Thiemo Seufer
0 siblings, 2 replies; 5+ messages in thread
From: Kumba @ 2003-05-10 4:20 UTC (permalink / raw)
To: linux-mips
Greetings all,
Having some issues with Binutils and OpenSSL on mips. Trying to
bootstrap a machine using binutils-2.14.90.0.1, gcc-3.2.3, &
glibc-2.3.2, and use -mips3 -mabi=32. It's working good so far, I
almost have a complete system built in chroot, only problem is OpenSSL
doesn't seem to coorperate well with the latest Binutils.
OpenSSL itself builds, but other programs have issues attempting to
make use of it. I've known of the issue since one user said OpenSSH
doesn't work, but this time, while building wget, wget's configure
program was unable to use OpenSSL. The Error messages are below.
Wget's configure builds this code as "conftest.c":
#include "confdefs.h"
int RSA_new();
int SSL_new();
main(){return 0;}
And Compiles it with:
gcc -o conftest -O3 -mips3 -mabi=32 -mtune=r4400 -pipe
-fomit-frame-pointer -I/usr/include/openssl 3.c -lssl
-lcrypto -ldl
Which builds fine. Then the error hits when attempting to execute the
"conftest" executable:
./conftest: error while loading shared libraries:
usr/lib/libcrypto.so.0.9.6: unexpected reloc type 0x68
Has anyone seen anything like this? My base mips install on my SGI
Indigo2 is built using binutils-2.13.90.0.16, which builds everything
fine, just doesn't cooperate well with -mips3 or higher options. I'm
not sure if this is mips-specific, or if I need to bother the OpenSSL
team about it.
Ideas?
--Kumba
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: OpenSSL/Binutils Issues
2003-05-10 4:20 Kumba
@ 2003-05-10 5:50 ` Muthukumar Ratty
2003-05-10 5:50 ` Muthukumar Ratty
2003-05-10 14:19 ` Thiemo Seufer
1 sibling, 1 reply; 5+ messages in thread
From: Muthukumar Ratty @ 2003-05-10 5:50 UTC (permalink / raw)
To: linux-mips
> ./conftest: error while loading shared libraries:
> usr/lib/libcrypto.so.0.9.6: unexpected reloc type 0x68
>
something really wrong with your crypto library (has some non mips
specific rel. syms???)
> not sure if this is mips-specific, or if I need to bother the OpenSSL
> team about it.
probably you should :)
>
> Ideas?
>
> --Kumba
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OpenSSL/Binutils Issues
2003-05-10 5:50 ` Muthukumar Ratty
@ 2003-05-10 5:50 ` Muthukumar Ratty
0 siblings, 0 replies; 5+ messages in thread
From: Muthukumar Ratty @ 2003-05-10 5:50 UTC (permalink / raw)
To: linux-mips
> ./conftest: error while loading shared libraries:
> usr/lib/libcrypto.so.0.9.6: unexpected reloc type 0x68
>
something really wrong with your crypto library (has some non mips
specific rel. syms???)
> not sure if this is mips-specific, or if I need to bother the OpenSSL
> team about it.
probably you should :)
>
> Ideas?
>
> --Kumba
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OpenSSL/Binutils Issues
2003-05-10 4:20 Kumba
2003-05-10 5:50 ` Muthukumar Ratty
@ 2003-05-10 14:19 ` Thiemo Seufer
1 sibling, 0 replies; 5+ messages in thread
From: Thiemo Seufer @ 2003-05-10 14:19 UTC (permalink / raw)
To: linux-mips
Kumba wrote:
[snip]
> Which builds fine. Then the error hits when attempting to execute
> the "conftest" executable:
>
> ./conftest: error while loading shared libraries:
> usr/lib/libcrypto.so.0.9.6: unexpected reloc type 0x68
This libcrypto seems to be broken. 0x68 is not a valid MIPS reloc type
at all, and a shared lib should use only R_MIPS_32 (type 2) relocations
anyway.
> Has anyone seen anything like this? My base mips install on my SGI
> Indigo2 is built using binutils-2.13.90.0.16, which builds everything
> fine, just doesn't cooperate well with -mips3 or higher options. I'm
> not sure if this is mips-specific, or if I need to bother the OpenSSL
> team about it.
It is probably a binutils issue. Can you send the output of
objdump -R usr/lib/libcrypto.so.0.9.6 |grep R_MIPS |grep -v \(R_MIPS_32\|R_MIPS_NONE\)
Thiemo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-05-10 19:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10 19:30 OpenSSL/Binutils Issues Kumba
-- strict thread matches above, loose matches on Subject: below --
2003-05-10 4:20 Kumba
2003-05-10 5:50 ` Muthukumar Ratty
2003-05-10 5:50 ` Muthukumar Ratty
2003-05-10 14:19 ` Thiemo Seufer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox