>>Are you on openssl-dev list? I wonder because it appears [at least to >>me] to be good idea to have OS/distribution vendors at least minimally >>represented at openssl-dev list... > > yes,
Stange, I don't see a single gentoo.org address in the list file... > and i e-mailed out this patch twice (with like a week span between) and > got no responses ... It's known fact that we sometimes can't match the enthusiasm of our contributors, but it doesn't mean that submissions are not appreciated or disappear in vain. Please bear with us:-) >>But in either case... Note that >>-D[BL]_ENDIAN are essentially performance options. I mean it works even >>without -D[BL]_ENDIAN, but some algorithms work a bit faster if you >>specify appropriate one. So that alternative solution to the problem >>could be to get rid of -DL_ENDIAN in linux-elf-arm line and have >>./config pick one dinamically, i.e. by passing either option down to >>./Configure as extra argument, e.g. >> >>arm*b*-*-linux2) OUT="linux-elf-arm"; options="$options -DB_ENDIAN"; ;; >>arm*-*-linux2) OUT="linux-elf-arm"; options="$options -DL_ENDIAN"; ;; >> >>Can you verify this? Keep in mind that you have to get rid of -DL_ENDIAN >>in linux-elf-arm line in ./Configure. A. > > > yep, i'll be able to verify this in the next week or so ... i only have 1 big > endian arm machine, and it's currently in the 'shop' > > i'm not so sure about the defines being just for performance options ... i > found that openssh failed to work correctly unless the -DL_ENDIAN was changed > to -DB_ENDIAN ... but then again, ive never poked around the openssl code so > what the hell do i know :) Once again. My assertion is that you should be able to compile working toolkit on either LE or BE platform as long as you do *not* have *either* -DB_ENDIAN or -DL_ENDIAN in your config line. As soon as you introduce -DL_ENDIAN on LE platform, then it has to be changed to -DB_ENDIAN on BE platform, so that there is no contradiction between my statement and your experience. Once again, could you verify following on your BE machine: 1. edit ./Configure and *remove* -DL_ENDIAN from linux-elf-arm line; 2. ./config; make; make test; 3. modify ./config to detect endianness as depicted above; 3. make clean; ./config; make; make test; A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]