morph166955
25th May 2007, 17:02
So as some may have read in my post probably 3 under this one right now, I'm working on my own distro targeted to a/v users and high speed. I'm on the cusp of having a working alpha but I'm stuck on one thing. OpenSSL is refusing to compile properly no matter what I do. As it stands now, everything that I have compiled that has a "make test" or some other form of checking has worked either with no or with only the expected failures. OpenSSL has been a bit more of a pain though.
I have tried several approaches and configurations for it, none have worked. When i do a "make test" I get the following error before it stops:
[QUOTE]
echo test normal x509v1 certificate
test normal x509v1 certificate
sh ./tx509 2>/dev/null
testing X509 conversions
p -> d
openssl[21986] trap invalid opcode rip:2ba27ca274d0 rsp:7fff2e27a5a8 error: 0
make[1]: *** [test_x509] Error 1
make[1]: Leaving directory `/packages/openssl-0.9.8e/test'
make: *** [tests] Error 2
[QUOTE]
If i add a -k to it, i get similar errors on x509v3 and in a few other places. Unfortunately even when piping stderr to the output file the "trap invalid opcode" lines never make it in, probably because its the kernel spitting it back and not the script which kinda screws everything up since they wont line up if I pull them out of the syslog. Im using the CLFS guide for the base system and the CBLFS guide for the extra software to do all this (links below). Heres the versions of everything (major) thats in the system:
linux-2.6.20.1 (tested also with 2.6.17.13, no change)
gcc 4.2.0
glibc 2.5 (compiled/installed both in 32 & 64 bit)
linux-headers-2.6.20.1
coreutils 6.9
binutils 2.17
autoconf 2.61
automake 1.10
make 3.81
dejagnu 1.4.4
libtool 1.5.22
perl 5.8.8
CLFS - http://cross-lfs.org/view/svn/x86_64/
CBLFS - http://cblfs.cross-lfs.org/index.php/Main_Page
Anyone have any idea why I get this? I've googled and I can't find a single thing. If anyones wants any configs/binaries/libraries or even a compressed version of what I have right now let me know and I'll figure out some way to get it to you. I'm running out of ideas and I don't have enough of a knowledge (or any) on how openssl is coded to attempt to go in and hunt this problem down myself. Thanks!
p.s. I am also sending an email to the clfs email list asking this but I was hoping someone on here may have an idea also.
I have tried several approaches and configurations for it, none have worked. When i do a "make test" I get the following error before it stops:
[QUOTE]
echo test normal x509v1 certificate
test normal x509v1 certificate
sh ./tx509 2>/dev/null
testing X509 conversions
p -> d
openssl[21986] trap invalid opcode rip:2ba27ca274d0 rsp:7fff2e27a5a8 error: 0
make[1]: *** [test_x509] Error 1
make[1]: Leaving directory `/packages/openssl-0.9.8e/test'
make: *** [tests] Error 2
[QUOTE]
If i add a -k to it, i get similar errors on x509v3 and in a few other places. Unfortunately even when piping stderr to the output file the "trap invalid opcode" lines never make it in, probably because its the kernel spitting it back and not the script which kinda screws everything up since they wont line up if I pull them out of the syslog. Im using the CLFS guide for the base system and the CBLFS guide for the extra software to do all this (links below). Heres the versions of everything (major) thats in the system:
linux-2.6.20.1 (tested also with 2.6.17.13, no change)
gcc 4.2.0
glibc 2.5 (compiled/installed both in 32 & 64 bit)
linux-headers-2.6.20.1
coreutils 6.9
binutils 2.17
autoconf 2.61
automake 1.10
make 3.81
dejagnu 1.4.4
libtool 1.5.22
perl 5.8.8
CLFS - http://cross-lfs.org/view/svn/x86_64/
CBLFS - http://cblfs.cross-lfs.org/index.php/Main_Page
Anyone have any idea why I get this? I've googled and I can't find a single thing. If anyones wants any configs/binaries/libraries or even a compressed version of what I have right now let me know and I'll figure out some way to get it to you. I'm running out of ideas and I don't have enough of a knowledge (or any) on how openssl is coded to attempt to go in and hunt this problem down myself. Thanks!
p.s. I am also sending an email to the clfs email list asking this but I was hoping someone on here may have an idea also.