[openssl.org #1016] patches for Configure and config for Cray X1 systems
i'd thought i submitted these changes when i was still a Cray employee, but i note that the changes are not in the current openssl code, so i'm presenting the patches at this time (mostly because i'm tired of maintaining them locally :) please make the following changes to config and Configure to handle the X1 architecture (this patch was based on version 0.9.7e). *** Configure.orig Mon Feb 28 12:04:53 2005 --- Configure Mon Feb 28 16:09:40 2005 *** *** 481,486 --- 481,491 # did not like it. cray-t3e, cc: -DBIT_FIELD_LIMITS -DTERMIOS::(unknown):CRAY::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:::, + # + # Cray X1 and similar (ARSC, [EMAIL PROTECTED]) + # + cray-craynv, cc: -h command -DBIT_FIELD_LIMITS -DTERMIOS::(unknown):CRAY::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:::, + # DGUX, 88100. dgux-R3-gcc,gcc:-O3 -fomit-frame-pointer::(unknown):::RC4_INDEX DES_UNROLL:::, dgux-R4-gcc,gcc:-O3 -fomit-frame-pointer::(unknown)::-lnsl -lsocket:RC4_INDEX DES_UNROLL:::, *** *** config.orig Mon Feb 28 12:06:13 2005 --- config Mon Feb 28 16:10:10 2005 *** *** 353,358 --- 353,362 echo t3e-cray-unicosmk; exit 0; ;; + UNICOS/mp*) +echo craynv-cray-unicosmp; exit 0; +;; + *CRAY*) echo j90-cray-unicos; exit 0; ;; *** *** 748,753 --- 752,758 *-*-cygwin_pre1.3) OUT=Cygwin-pre1.3 ;; *-*-cygwin) OUT=Cygwin ;; t3e-cray-unicosmk) OUT=cray-t3e ;; + craynv-cray-unicosmp) OUT=cray-craynv ;; j90-cray-unicos) OUT=cray-j90 ;; nsr-tandem-nsk) OUT=tandem-c89 ;; *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; thanks, wendy (used to be [EMAIL PROTECTED]) wendy palm HPC systems analyst ARSC 907.450.8623 __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Sat Feb 1 00:59:01 2003]: $ ./openssl req -x509 -new -nodes -out sscert.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: OK so that seems to work. Maybe its just when x509 does it. Can you try: openssl req -new -nodes -out req.pem -rand /tmp/somefile $ ./openssl req -new -nodes -out req.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: then openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem $ ./openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem Signature ok subject=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=Eric the Young core dumping Bus error (core dumped) if that second command dumps core then a stack trace under a debugger would help a lot. will have to wait a bit. i've never done that before and it's hiding the #$%! core file. i'll forward another email when i have one for you. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
how's this? * 0 getrn(lh = 0x000404092290, data = 0x00040409d930, rhash = 0x00801a40), line 430 in lhash.c 1 lh_insert(lh = 0x000404092290, data = 0x00040409d930), line 189 in lhash.c 2 OBJ_add_object(obj = 0x000404088a00), line 253 in obj_dat.c 3 OBJ_create(oid = 0x40400c990 2.9.3, sn = 0x40400c9a0 SET.ex3, ln = 0x40400c9b0 SET x509v3 extension 3), line 660 in obj_dat.c 4 x509_main(argc = 0, argv = 0x00800278), line 621 in x509.c 5 do_cmd(prog = 0x00040408e120, argc = 8, argv = 0x00800238), line 379 in openssl.c 6 main(Argc = 8, Argv = 0x00800238), line 298 in openssl.c 7 _start(0x8, 0x800238, 0x800280) at 0x4057c Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Sat Feb 1 00:59:01 2003]: $ ./openssl req -x509 -new -nodes -out sscert.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: OK so that seems to work. Maybe its just when x509 does it. Can you try: openssl req -new -nodes -out req.pem -rand /tmp/somefile then openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem if that second command dumps core then a stack trace under a debugger would help a lot. Thanks, Steve. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
i forgot to add- dbx's message says: SIGSEGV (absentee space fault) in getrn at line 430 in file lhash.c couldn't read lhash.c Wendy Palm wrote: how's this? * 0 getrn(lh = 0x000404092290, data = 0x00040409d930, rhash = 0x00801a40), line 430 in lhash.c 1 lh_insert(lh = 0x000404092290, data = 0x00040409d930), line 189 in lhash.c 2 OBJ_add_object(obj = 0x000404088a00), line 253 in obj_dat.c 3 OBJ_create(oid = 0x40400c990 2.9.3, sn = 0x40400c9a0 SET.ex3, ln = 0x40400c9b0 SET x509v3 extension 3), line 660 in obj_dat.c 4 x509_main(argc = 0, argv = 0x00800278), line 621 in x509.c 5 do_cmd(prog = 0x00040408e120, argc = 8, argv = 0x00800238), line 379 in openssl.c 6 main(Argc = 8, Argv = 0x00800238), line 298 in openssl.c 7 _start(0x8, 0x800238, 0x800280) at 0x4057c Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Sat Feb 1 00:59:01 2003]: $ ./openssl req -x509 -new -nodes -out sscert.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: OK so that seems to work. Maybe its just when x509 does it. Can you try: openssl req -new -nodes -out req.pem -rand /tmp/somefile then openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem if that second command dumps core then a stack trace under a debugger would help a lot. Thanks, Steve. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Sat Feb 1 00:59:01 2003]: $ ./openssl req -x509 -new -nodes -out sscert.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: OK so that seems to work. Maybe its just when x509 does it. Can you try: openssl req -new -nodes -out req.pem -rand /tmp/somefile $ ./openssl req -new -nodes -out req.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: then openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem $ ./openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem Signature ok subject=/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=Eric the Young core dumping Bus error (core dumped) if that second command dumps core then a stack trace under a debugger would help a lot. will have to wait a bit. i've never done that before and it's hiding the #$%! core file. i'll forward another email when i have one for you. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
how's this? * 0 getrn(lh = 0x000404092290, data = 0x00040409d930, rhash = 0x00801a40), line 430 in lhash.c 1 lh_insert(lh = 0x000404092290, data = 0x00040409d930), line 189 in lhash.c 2 OBJ_add_object(obj = 0x000404088a00), line 253 in obj_dat.c 3 OBJ_create(oid = 0x40400c990 2.9.3, sn = 0x40400c9a0 SET.ex3, ln = 0x40400c9b0 SET x509v3 extension 3), line 660 in obj_dat.c 4 x509_main(argc = 0, argv = 0x00800278), line 621 in x509.c 5 do_cmd(prog = 0x00040408e120, argc = 8, argv = 0x00800238), line 379 in openssl.c 6 main(Argc = 8, Argv = 0x00800238), line 298 in openssl.c 7 _start(0x8, 0x800238, 0x800280) at 0x4057c Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Sat Feb 1 00:59:01 2003]: $ ./openssl req -x509 -new -nodes -out sscert.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: OK so that seems to work. Maybe its just when x509 does it. Can you try: openssl req -new -nodes -out req.pem -rand /tmp/somefile then openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem if that second command dumps core then a stack trace under a debugger would help a lot. Thanks, Steve. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
i forgot to add- dbx's message says: SIGSEGV (absentee space fault) in getrn at line 430 in file lhash.c couldn't read lhash.c Wendy Palm wrote: how's this? * 0 getrn(lh = 0x000404092290, data = 0x00040409d930, rhash = 0x00801a40), line 430 in lhash.c 1 lh_insert(lh = 0x000404092290, data = 0x00040409d930), line 189 in lhash.c 2 OBJ_add_object(obj = 0x000404088a00), line 253 in obj_dat.c 3 OBJ_create(oid = 0x40400c990 2.9.3, sn = 0x40400c9a0 SET.ex3, ln = 0x40400c9b0 SET x509v3 extension 3), line 660 in obj_dat.c 4 x509_main(argc = 0, argv = 0x00800278), line 621 in x509.c 5 do_cmd(prog = 0x00040408e120, argc = 8, argv = 0x00800238), line 379 in openssl.c 6 main(Argc = 8, Argv = 0x00800238), line 298 in openssl.c 7 _start(0x8, 0x800238, 0x800280) at 0x4057c Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Sat Feb 1 00:59:01 2003]: $ ./openssl req -x509 -new -nodes -out sscert.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: OK so that seems to work. Maybe its just when x509 does it. Can you try: openssl req -new -nodes -out req.pem -rand /tmp/somefile then openssl x509 -req -in req.pem -out sscert.pem -signkey privkey.pem if that second command dumps core then a stack trace under a debugger would help a lot. Thanks, Steve. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
i'm sorry for the delay in response. i've been out of the office during the last couple of weeks. yes, more tests fail than i reported, but we only wanted enough openssl to work with openssh, so once i got what i wanted, i didn't go any further until i had more time to devote to it. attached is the test output you requested. Richard Levitte via RT wrote: Will anything happen with this? [[EMAIL PROTECTED] - Sat Jan 18 11:02:31 2003]: I already answered this once, but it didn't come through for some reason... + sx6, cc:-g -DTERMIOS::(unknown):::SIXTY_FOUR_BIT DES_INT:::, No optimization? Not even lousy -O? -g overrides any optimization you give, Yes, that's what normally happens... and i think there's a problem with the optimizer anyway because with default optimization, aes-128-cbc test fails. it's fine with -g. I wonder if AES is the only one affected. Could you run 'make -k test' and submit output? A. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
i'm happy to test anything you want, but crays are more my forte and NEC just my spare time, so i can't provide much programming help myself. Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Fri Jan 31 21:06:07 2003]: i'm sorry for the delay in response. i've been out of the office during the last couple of weeks. yes, more tests fail than i reported, but we only wanted enough openssl to work with openssh, so once i got what i wanted, i didn't go any further until i had more time to devote to it. attached is the test output you requested. Hmmm... this is a bit worrying: convert the certificate request into a self signed certificate using 'x509' unable to load 'random state' This means that the random number generator has not been seeded with much random data. Consider setting the RANDFILE environment variable to point at a file that 'random' data can be kept in (the file will be overwritten). Signature ok subject=/C=AU/O=Dodgy Brothers/CN=Dodgy CA core dumping ./testss: 3837 Memory fault - core dumped error using 'x509' to self sign a certificate request *** Error code 1 (bu21) -- might be related to the new ASN1 code but its not possible to be sure from that. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
$ cd apps $ ./openssl req -x509 -new -nodes -out sscert.pem unable to load 'random state' This means that the random number generator has not been seeded with much random data. Generating a 1024 bit RSA private key 8953:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:503:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html 8953:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182: it didn't get as far as asking any questions Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Fri Jan 31 21:36:01 2003]: i'm happy to test anything you want, but crays are more my forte and NEC just my spare time, so i can't provide much programming help myself. I don't have acess to anything like that myself so... From that report it looks like the stuff that creates a self signed certificate in OpenSSL is dumping core. If you could try: openssl req -x509 -new -nodes -out sscert.pem (just hit return through all the prompts) see if that crashes and then get some idea where the crash occurs with a debugger that would help a lot. Thanks, Steve. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
$ ./openssl req -x509 -new -nodes -out sscert.pem -rand /tmp/somefile Generating a 1024 bit RSA private key ++ ..++ writing new private key to 'privkey.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, YOUR name) []: Email Address []: Stephen Henson via RT wrote: [[EMAIL PROTECTED] - Sat Feb 1 00:02:48 2003]: $ cd apps $ ./openssl req -x509 -new -nodes -out sscert.pem unable to load 'random state' This means that the random number generator has not been seeded with much random data. Generating a 1024 bit RSA private key 8953:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:503:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html 8953:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182: it didn't get as far as asking any questions OK, the PRNG doesn't get seeded. So it should get further if you try: openssl req -x509 -new -nodes -out sscert.pem -randfile ./somefile where somefile is a file with some random data in it, any old text file will do for this test. Steve. -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
Andy Polyakov via RT wrote: + sx6, cc:-g -DTERMIOS::(unknown):::SIXTY_FOUR_BIT DES_INT:::, No optimization? Not even lousy -O? -g overrides any optimization you give, and i think there's a problem with the optimizer anyway because with default optimization, aes-128-cbc test fails. it's fine with -g. SIXTY_FOUR_BIT? SIXTY_FOUR_BIT aims ILP32 ABIs implemented on 64-bit CPUs, N32 ABI on IRIX 6 is one example. If your sizeof(long)==8, then you should use SIXTY_FOUR_BIT_LONG. Please confirm. thank you for the note. yes, it should be SIXTY_FOUR_BIT_LONG. wendy -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #451] SX6 port
Andy Polyakov via RT wrote: + sx6, cc:-g -DTERMIOS::(unknown):::SIXTY_FOUR_BIT DES_INT:::, No optimization? Not even lousy -O? -g overrides any optimization you give, and i think there's a problem with the optimizer anyway because with default optimization, aes-128-cbc test fails. it's fine with -g. SIXTY_FOUR_BIT? SIXTY_FOUR_BIT aims ILP32 ABIs implemented on 64-bit CPUs, N32 ABI on IRIX 6 is one example. If your sizeof(long)==8, then you should use SIXTY_FOUR_BIT_LONG. Please confirm. thank you for the note. yes, it should be SIXTY_FOUR_BIT_LONG. wendy -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[openssl.org #451] SX6 port
Cray Inc provides support for some NEC sites, so that's why this is coming from me. configuration patches to make openssl compile on NEC's SX-6 machines. diff -c openssl-0.9.7.orig/config.orig openssl-0.9.7.sx6/config *** openssl-0.9.7.orig/config.orig Fri Jan 10 17:54:08 2003 --- openssl-0.9.7.sx6/config Fri Jan 10 17:58:25 2003 *** *** 352,357 --- 352,361 echo j90-cray-unicos; exit 0; ;; + SUPER-UX*SX-6) +echo sx6-nec-superux; exit 0; +;; + NONSTOP_KERNEL*) echo nsr-tandem-nsk; exit 0; ;; *** *** 731,736 --- 735,741 *-*-cygwin) OUT=Cygwin ;; t3e-cray-unicosmk) OUT=cray-t3e ;; j90-cray-unicos) OUT=cray-j90 ;; + sx6-nec-superux) OUT=sx6 ;; nsr-tandem-nsk) OUT=tandem-c89 ;; *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; esac diff -rc openssl-0.9.7.orig/Configure openssl-0.9.7.sx6/Configure *** openssl-0.9.7.orig/ConfigureFri Dec 27 19:35:11 2002 --- openssl-0.9.7.sx6/Configure Fri Jan 10 16:58:28 2003 *** *** 468,473 --- 468,478 # did not like it. cray-t3e, cc: -DBIT_FIELD_LIMITS -DTERMIOS::(unknown):CRAY::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:::, + # + # NEC SX-6 (Cray Inc. [EMAIL PROTECTED]) + # + sx6, cc:-g -DTERMIOS::(unknown):::SIXTY_FOUR_BIT DES_INT:::, + # DGUX, 88100. dgux-R3-gcc, gcc:-O3 -fomit-frame-pointer::(unknown):::RC4_INDEX DES_UNROLL:::, dgux-R4-gcc, gcc:-O3 -fomit-frame-pointer::(unknown)::-lnsl -lsocket:RC4_INDEX DES_UNROLL:::, -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [PATCH] config mod for crays
Bodo Moeller wrote: On Tue, Feb 05, 2002 at 06:42:08PM -0600, Wendy Palm wrote: --- config.orig Mon Feb 4 16:12:43 2002 +++ config Tue Feb 5 16:01:09 2002 @@ -302,6 +302,13 @@ echo ${MACHINE}-whatever-cygwin32; exit 0 ;; +*CRAY T3E) + echo cray-t3e; exit 0; + ;; + +*CRAY*) + echo cray-t90; exit 0; + ;; esac # @@ -562,6 +569,8 @@ mips-sony-newsos4) OUT=newsos4-gcc ;; *-*-cygwin32) OUT=CygWin32 options=$options no-threads no-asm ;; + cray-t90) OUT=cray-t90 ;; + cray-t3e) OUT=cray-t3e ;; *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; esac I wanted to commit this patch, but I noticed that it breaks the naming scheme that links the two parts of 'config'. Note that names always have three components separated by hyphens. While things are not totally consistent, the general pattern usually is machine-manufacturer-os or machine-architecture-os. Please try to come up with a naming that matches the rest of 'config' as close as possible. according to 0.9.6c, this is what's in config cray-t90*) OUT=cray-t90 ;; cray-t3e) OUT=cray-t3e ;; ... *:CRAY T3E) echo cray-t3e; exit 0; ;; *CRAY*) echo cray-t90-cc; exit 0; perhaps you can help me figure out what you want to put in there. the various architectures available from cray are c90, j90, t90, t90IEEE, sv1, ymp and t3e. t3e runs unicosmk, the rest run unicos. for openssl, the cray t3e requires different compile options than the other machines. (these are correct in Configure for cray-t3e). c90, j90, t90, T90IEEE, sv1 and ymp require the compile options current set as cray-t90-cc in Configure. cray-c90-unicos cray-j90-unicos cray-t90-unicos cray-t90ieee-unicos cray-sv1-unicos cray-ymp-unicos cray-t3e-unicosmk are all the different possible machine-architecture-os combinations at this time. we at cray consider the j90 to be the base machine type for all the unicos machines. please let me know if this answers your questions enough to come up with the proper and correct config and Configure lines for crays. thanks, wendy -- Bodo Mvller [EMAIL PROTECTED] PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [PATCH] config mod for crays
my apologies. i neglected to include the second half. here is the entire modification.--- --- config.orig Mon Feb 4 16:12:43 2002 +++ config Tue Feb 5 16:01:09 2002 @@ -302,6 +302,13 @@ echo ${MACHINE}-whatever-cygwin32; exit 0 ;; +*CRAY T3E) + echo cray-t3e; exit 0; + ;; + +*CRAY*) + echo cray-t90; exit 0; + ;; esac # @@ -562,6 +569,8 @@ mips-sony-newsos4) OUT=newsos4-gcc ;; *-*-cygwin32) OUT=CygWin32 options=$options no-threads no-asm ;; + cray-t90) OUT=cray-t90 ;; + cray-t3e) OUT=cray-t3e ;; *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; esac Wendy Palm wrote: please add to config. currently, we need to run Configure cray-t3e or Configure cray-t90-cc. this patch would allow sites to just run the same config line they do for other archs. thanks much. --- config.orig Mon Feb 4 16:21:40 2002 +++ config Mon Feb 4 16:24:04 2002 @@ -336,6 +336,14 @@ echo ${MACHINE}-whatever-cygwin32; exit 0 ;; +*:CRAY T3E) + echo cray-t3e; exit 0; + ;; + +*CRAY*) + echo cray-t90-cc; exit 0; + ;; + esac # -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[PATCH] config mod for crays
please add to config. currently, we need to run Configure cray-t3e or Configure cray-t90-cc. this patch would allow sites to just run the same config line they do for other archs. thanks much. --- config.orig Mon Feb 4 16:21:40 2002 +++ config Mon Feb 4 16:24:04 2002 @@ -336,6 +336,14 @@ echo ${MACHINE}-whatever-cygwin32; exit 0 ;; +*:CRAY T3E) + echo cray-t3e; exit 0; + ;; + +*CRAY*) + echo cray-t90-cc; exit 0; + ;; + esac # -- wendy palm Cray OS Sustaining Engineering, Cray Inc. [EMAIL PROTECTED], 651-605-9154 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]