Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Kumba <kumba@gentoo.org>
To: linux-mips@linux-mips.org
Subject: OpenSSL/Binutils Issues
Date: Sat, 10 May 2003 00:20:49 -0400	[thread overview]
Message-ID: <3EBC7E21.6040109@gentoo.org> (raw)


	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

             reply	other threads:[~2003-05-10  4:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10  4:20 Kumba [this message]
2003-05-10  5:50 ` OpenSSL/Binutils Issues Muthukumar Ratty
2003-05-10  5:50   ` Muthukumar Ratty
2003-05-10 14:19 ` Thiemo Seufer
2003-05-10 19:04   ` MIPS specific ELF doc? (Re: OpenSSL/Binutils Issues) Muthukumar Ratty
2003-05-10 19:04     ` Muthukumar Ratty
2003-05-10 19:36     ` Thiemo Seufer
  -- strict thread matches above, loose matches on Subject: below --
2003-05-10 19:30 OpenSSL/Binutils Issues Kumba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EBC7E21.6040109@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox