I hunted through all of the mail archives and other documentation
currently available on the OpenSSL webpages and haven't been able
to find anything that covers the situation described below.  If
there is a webpage/document/whatever already on this matter, please
point me to it, I would sincerely appreciate it.

Running 'config -t', I get the following information:
  Operating system: sun4m-sun-solaris2
  Configuring for solaris-sparc-cc
  /usr/local/bin/perl ./Configure solaris-sparc-cc

This appears to match what uname -a gives:
  SunOS hostname 5.5.1 Generic_103640-18 sun4m sparc SUNW,SPARCstation-5

Once the configuration has run (I have all of the output logged if
that is needed), I get the following error when I try to run 'make'
as per the INSTALL instructions:
  cc -I.. -I../../include -DTHREADS -D_REENTRANT -xarch=v8 -xstrconst -xO5 -xdepend 
-Xa -DB_ENDIAN -DBN_DIV2W  -c  bn_sqr.c
  cc    -c -o asm/sparcv8.o asm/sparcv8.S
  cc: No input file specified, no output generated
  *** Error code 1
  make: Fatal error: Command failed for target `asm/sparcv8.o'
  Current working directory /usr/local/openssl-0.9.3a/crypto/bn
  *** Error code 1
  make: Fatal error: Command failed for target `subdirs'
  Current working directory /usr/local/openssl-0.9.3a/crypto
  *** Error code 1
  make: Fatal error: Command failed for target `all'

So, noting the comments about the 'no-asm' flag for the configuration,
I used that, and the compile completed successfully with the following
CFLAG line:
  CFLAG= -DTHREADS -D_REENTRANT -xarch=v8 -xstrconst -xO5 -xdepend -Xa -DB_ENDIAN 
-DBN_DIV2W

However, the next step of the configuration is to test the newly compiled
files with 'make test'.  I've got a complete log of this, but I've chopped
it where it fails with a suntax error (on line 560, teletype, as can be
seen below):
  starting big number library test, could take a while...
  test BN_add
  test BN_sub
  test BN_lshift1
  test BN_lshift (fixed)
  test BN_lshift
  test BN_rshift1
  test BN_rshift
  test BN_sqr
  syntax error on line 560, teletype
  64  tests done
  128  tests done
  192  tests done
  256  tests done
  320  tests done
  384  tests done
  448  tests done
  512  tests done
  error
  *** Error code 1
  make: Fatal error: Command failed for target `test_bn'
  Current working directory /usr/local/openssl-0.9.3a/test
  *** Error code 1
  make: Fatal error: Command failed for target `tests'

So, to further follow the INSTALL instructions, it suggests to remove
optimization, make clean, and then make again.  So I did that, and the
following occured:
  making all in crypto...
  echo "#define DATE \"`date`\"" >date.h
  cc -I. -I../include -DTHREADS -D_REENTRANT -xarch=v8 -xstrconst -xdepend -Xa 
-DB_ENDIAN -DBN_DIV2W -DCFLAGS="\"cc -DTHREADS -D_REENTRANT -xarch=v8 -xstrconst -x
  depend -Xa -DB_ENDIAN -DBN_DIV2W\"" -DPLATFORM="\"solaris-sparc-cc\""  -c  cryptlib.c
  cc: Warning: Optimizer level changed from 0 to 3 to support dependence based 
transformations.

When this compile completes, I get the same results from 'make test' as
mentioned above.

If more information is needed in this case, please let me know, and
I will do my best to provide it.

Thanks,

Ae.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to