On Thu, 1 Aug 2002, Andrew Reynolds wrote:
> I'm having trouble building openssl-0.9.6e under Irix 6.5. > I've tried building on two different machines and I've tried using > the most recent snapshot. > > I've added the following line to the Makefile: > "irix-mips3-cc-uiuc","cc:-mips3 -n32 -O2 -use_readonly_const -DTERMIOS -DB_ENDIAN >-DBN_DIV3W::-D_SGI_MP_SOURCE::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL >BF_PTR >SIXTY_FOUR_BIT:${mips3_irix_asm}:dlfcn:irix-shared::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", > > and I use > "./Configure irix-mips3-cc-uiuc --prefix=/usr/local/encap/openssl-0.9.6e". > This worked in the previous release of openssl. > > Here's my "make report" output: > > Making target "report" [snip] > making all in test... [snip] > Making target "test_x509" > echo test normal x509v1 certificate > test normal x509v1 certificate > sh ./tx509 2>/dev/null > testing X509 conversions > p -> d > p -> n > rc5 base64 > p -> p > d -> d > rc5-cbc > n -> d > p -> d > d -> n > rc5-cbc base64 > n -> n > p -> n > rc5-cfb > d -> p > n -> p > rc5-cfb base64 > p -> p > rc5-ecb > echo test first x509v3 certificate > test first x509v3 certificate > sh ./tx509 v3-cert1.pem 2>/dev/null > testing X509 conversions > p -> d > p -> n > rc5-ecb base64 > p -> p > d -> d > n -> d > rc5-ofb > p -> d > d -> n > rc5-ofb base64 > n -> n > p -> n > > Making target "test_rsa" > d -> p > rsa > testing rsa conversions > p -> d > test_x509: *** Error code 1 (bu21) >[/usr/local/src/openssl-0.9.6e/test/Makefile.ssl] > p -> p > d -> d > p -> d > d -> p > p -> p > ./rsa_test > PKCS #1 v1.5 encryption/decryption ok > OAEP encryption/decryption ok > PKCS #1 v1.5 encryption/decryption ok > OAEP encryption/decryption ok > PKCS #1 v1.5 encryption/decryption ok > OAEP encryption/decryption ok > tests: *** Error code 1 (bu21) [/usr/local/src/openssl-0.9.6e/Makefile] > Checking compiler... > Running make... > Running make test... > > OpenSSL self-test report: > > OpenSSL version: 0.9.6e > Last change: Fix cipher selection routines: ciphers without encrypti... > Options: --prefix=/usr/local/encap/openssl-0.9.6e > OS (uname): IRIX64 kryten 6.5 07091542 IP35 > OS (config): mips4-sgi-irix64 > Target (default): irix-mips3-cc > Target: irix-mips3-cc-uiuc > Compiler: cc ERROR: no source or object file given > > Failure! > [...] > > Test report in file testlog We tracked this problem to the use of parallel make (make -P under IRIX). The test routines run shell scripts that are not safe to run in parallel. For example, in tx509 there is the sequence: cp $t fff.p $cmd -in fff.p -inform p -outform p >f.p cmp fff.p f.p But trsa was run at the same time, and it has the sequence: cp $t fff.p $cmd -in fff.p -inform p -outform p >f.p cmp fff.p f.p This leads to a race condition, and causes the cmp to fail. A simple fix would be to use unique names for the temporary files for each test. Damian Menscher -- -=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=- -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=- -=#| 1412 DCL, Workstation Services Group, CITES Ofc:(217)244-3862 |#=- -=#| <[EMAIL PROTECTED]> www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=- ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]