I'm building fips 1.2 on OSX,

uname -a
  Darwin pb.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24
17:39:01 PST 2008; root:xnu-1228.9.59~1/RELEASE_PPC Power Macintosh

Config,

        cd /usr/local/src/openssl-fips-1.2
        ./config fipscanisterbuild

completes without an apparent hitch.

@ 'make', I see numerous warnings of "function called through a
non-compatible type" as well as repeated instances of "ranlib: file:
... has no symbols",

make
        if [ -n "libcrypto" ]; then \
        ...
        cc -I.. -I../.. -I../../include -fPIC -fno-common -DOPENSSL_PIC
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3    -c -o
pem_all.o pem_all.c
        pem_all.c: In function 'PEM_read_bio_X509_REQ':
        pem_all.c:141: warning: function called through a non-compatible type
        pem_all.c:141: note: if this code is reached, the program will abort
        pem_all.c: In function 'PEM_read_X509_REQ':
        pem_all.c:141: warning: function called through a non-compatible type
        pem_all.c:141: note: if this code is reached, the program will abort
        ...
        cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3    -c -o
fips_err.o fips_err.c
        /usr/local/DarkMatter/perl5/bin/perl ../util/arx.pl ar  r
../libcrypto.a cryptlib.o dyn_lck.o mem.o mem_clr.o mem_dbg.o
cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o
o_str.o o_dir.o o_init.o fips_err.o
        ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols
        ranlib: file: ../libcrypto.a(hmac.o) has no symbols
        ...
        ranlib: file: ../libcrypto.a(v3_asid.o) has no symbols
        ranlib: file: ../libcrypto.a(v3_addr.o) has no symbols
        /usr/bin/ranlib ../libcrypto.a || echo Never mind.
        /usr/bin/ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols
        /usr/bin/ranlib: file: ../libcrypto.a(hmac.o) has no symbols
        ...
        /usr/bin/ranlib: file: ../libcrypto.a(v3_addr.o) has no symbols
        making all in crypto/objects...
        cc -I.. -I../.. -I../../include -fPIC -fno-common -DOPENSSL_PIC
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3    -c -o
o_names.o o_names.c
        ...

'make' continues until,

        ( :; LIBDEPS="${LIBDEPS:--Wl,-search_paths_first -L.. -lssl  -L..
-lcrypto }"; LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--fPIC
-fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -O3 }"; LIBPATH=`for x in $LIBDEPS; do if echo $x |
grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi;
done | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o
${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o
dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o
rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o
gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o
s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o
pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o ${LIBDEPS} )
        (cd ..; \
                  OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
                  /usr/local/DarkMatter/perl5/bin/perl tools/c_rehash certs)
        Doing certs
        aol1.pem => .0
        WARNING: Skipping duplicate certificate aol2.pem
        WARNING: Skipping duplicate certificate aoltw1.pem
        WARNING: Skipping duplicate certificate aoltw2.pem

where, at *each* "WARNING: Skipping duplicate certificate ...", I get
an osx CRASH dialog, and a report such as,

----------------
Process:         openssl [31040]
Path:            openssl
Identifier:      openssl
Version:         ??? (???)
Code Type:       PPC (Native)
Parent Process:  perl [31039]

Date/Time:       2009-01-07 12:34:24.626 -0800
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000000200150
Crashed Thread:  0

Thread 0 Crashed:
0   libcrypto.0.9.8.dylib               0x00200150 PEM_read_bio_X509_AUX + 0
1   openssl                             0x0002c558 load_cert + 616
2   openssl                             0x0001952c x509_main + 4716
3   openssl                             0x00001940 do_cmd + 96
4   openssl                             0x00001fa8 main + 808
5   openssl                             0x00001830 start + 64
6   ???                                 0x00000ffc 0 + 4092

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x00200150  srr1: 0x0202f030   dar: 0x00251e8c dsisr: 0x40000000
    r0: 0x0002c55c    r1: 0xbfffa440    r2: 0x0000002f    r3: 0x00308510
    r4: 0x00000000    r5: 0x0002cb20    r6: 0x00000000    r7: 0x00000000
    r8: 0x00000003    r9: 0x9181e350   r10: 0x00000000   r11: 0x8fe33c48
   r12: 0x00200150   r13: 0x00000000   r14: 0x0003c7cc   r15: 0x000482d0
   r16: 0x00000003   r17: 0x00000003   r18: 0x00308a70   r19: 0x00000000
   r20: 0x00000000   r21: 0x00000000   r22: 0x0003c7a0   r23: 0x0026ac48
   r24: 0x00308a30   r25: 0x00000000   r26: 0x00300180   r27: 0x00308510
   r28: 0x00041c5c   r29: 0x24004242   r30: 0x00000003   r31: 0x0002c300
    cr: 0x42004242   xer: 0x00000004    lr: 0x0002c55c   ctr: 0x00200150
vrsave: 0x00000000

Binary Images:
    0x1000 -    0x4bff7 +openssl ??? (???)
<d2693021d33eb9515688c8c0870c7d02>
/Volumes/build/src/openssl/openssl-fips-1.2/apps/openssl
   0x5b000 -    0x94ff3 +libssl.0.9.8.dylib ??? (???)
<07520509350e79a680f0ddd96c329a50>
/Volumes/build/src/openssl/openssl-fips-1.2/libssl.0.9.8.dylib
  0x15c000 -   0x25cffb +libcrypto.0.9.8.dylib ??? (???)
<ad6c17f0cc3a253090d532972210ea83>
/Volumes/build/src/openssl/openssl-fips-1.2/libcrypto.0.9.8.dylib
0x8fe00000 - 0x8fe30c23  dyld 97.1 (???)
<8dc1fc6c74fe1f055be16980dd45001e> /usr/lib/dyld
0x902eb000 - 0x902f6ffb  libgcc_s.1.dylib ??? (???)
<ea47fd375407f162c76d14d64ba246cd> /usr/lib/libgcc_s.1.dylib
0x917d3000 - 0x91973fe3  libSystem.B.dylib ??? (???)
<3260ab8c558e938c8180b3ba1036aec1> /usr/lib/libSystem.B.dylib
0x94ceb000 - 0x94cf0ff6  libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0xffff8000 - 0xffff9703  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
----------------

Happy to provide any additional information required.

Thanks.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to