I just tried that. No effect. It still crashes. BTW, the same results on i586 (Intel Pentium). I can try it on Pentium 3, but it would involve some hard disk swapping - I only have Linux on my older machines. Wondra
-----Original Message----- From: Wei Dai [mailto:[EMAIL PROTECTED] Behalf Of Wei Dai Sent: Monday, January 29, 2007 5:12 PM To: 'Tomá Vondra'; [EMAIL PROTECTED] Subject: RE: SIGILL on i486 Your compiler must be generating instructions that are illegal for the 486. Have you tried re-compiling Crypto++ with the -m486 compiler option? > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:cryptopp- > [EMAIL PROTECTED] On Behalf Of Tomá? Vondra > Sent: Monday, January 29, 2007 4:18 PM > To: [EMAIL PROTECTED] > Subject: SIGILL on i486 > > > Greetings! > I'm having trouble using Crypto++ on my old home server machine. Where > do > you think the problem lies? The library? The kernel? Is there a remedy? > I have Debian 3.1 on a 486 machine. Every attempt to use libCrypto++ > ends in > SIGILL - Illegal Instruction, even cryptest, and that with both the > Debian > package and custom-compiled library. > Crypto++ ver. 5.2 and 5.4, kernel 2.4.25 - custom built, gcc 3.3.5 > stack trace example for aMule, Crypto++ 5.2: > Starting program: /usr/src/aMule-2.1.3/src/amuled > [Thread debugging using libthread_db enabled] > [New Thread 16384 (LWP 3967)] > > Program received signal SIGILL, Illegal instruction. > [Switching to Thread 16384 (LWP 3967)] > 0x403e2bd1 in CryptoPP::Portable::Multiply8Bottom () > from /usr/lib/libcrypto++5.2.so.0 > (gdb) bt > #0 0x403e2bd1 in CryptoPP::Portable::Multiply8Bottom () > from /usr/lib/libcrypto++5.2.so.0 > #1 0x403e2c39 in CryptoPP::Portable::Multiply8Bottom () > from /usr/lib/libcrypto++5.2.so.0 > #2 0x403e2ca9 in CryptoPP::Portable::Multiply8Bottom () > from /usr/lib/libcrypto++5.2.so.0 > #3 0x403f6dd0 in > CryptoPP::MontgomeryRepresentation::MultiplicativeInverse > () > from /usr/lib/libcrypto++5.2.so.0 > #4 0x403f6f5b in > CryptoPP::MontgomeryRepresentation::MultiplicativeInverse > () > from /usr/lib/libcrypto++5.2.so.0 > #5 0x404d9205 in CryptoPP::ZlibDecompressor::MaxPoststreamTailSize () > from /usr/lib/libcrypto++5.2.so.0 > #6 0x4026e1dd in _init () from /usr/lib/libcrypto++5.2.so.0 > #7 0x4000c1ce in _dl_catch_error () from /lib/ld-linux.so.2 > #8 0x4000c2ba in _dl_init () from /lib/ld-linux.so.2 > #9 0x40000c5d in ?? () from /lib/ld-linux.so.2 > > Stack trace example for cryptest, 5.4: > Starting program: /tmp/cryptest.exe b > [Thread debugging using libthread_db enabled] > [New Thread 16384 (LWP 8029)] > <TABLE border=1><COLGROUP><COL align=left><COL align=right><COL > align=right><COL align=right> > <THEAD><TR><TH>Algorithm<TH>Megabytes(2^20 bytes) Processed<TH>Time > Taken<TH>MB/Second > <TBODY> > > Program received signal SIGILL, Illegal instruction. > [Switching to Thread 16384 (LWP 8029)] > 0x0804bc5f in BenchMark (name=0x82510df "CRC-32", [EMAIL PROTECTED], > timeTotal=1) > at bench.cpp:157 > 157 timeTaken = double(clock() - start) / > CLOCK_TICKS_PER_SECOND; > (gdb) bt > #0 0x0804bc5f in BenchMark (name=0x82510df "CRC-32", [EMAIL PROTECTED], > timeTotal=1) at bench.cpp:157 > #1 0x0804cf49 in BenchMarkKeyless<CryptoPP::CRC32> (name=0x82510df > "CRC-32", > timeTotal=1, x=0x0) at bench.cpp:209 > #2 0x0804bf15 in BenchmarkAll (t=1) at bench.cpp:221 > #3 0x080c71f7 in main (argc=2, argv=0xbffff634) at test.cpp:288 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [EMAIL PROTECTED] More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
