On Aug 29, 2007, at 11:57 AM, Andy Polyakov wrote:
I haven't seen this added to the development snapshots, so I'm submitting a working Configure statement for Mac OS X x86_64 (64- bit) : "darwin-x86_64-cc","cc:-arch x86_64 -O3 -fomit-frame-pointer -fno- common -DL_ENDIAN -DMD32_REG_T=int -Wall::- D_REENTRANT:MACOSX::SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${no_asm}:dlfcn:darwin-shared:-arch x86_64 -fPIC -fno- common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",Feedback is welcome.Shared build is likely to fail. Can you confirm if following works:"darwin64-x86_64-cc","cc:-arch x86_64 -O3 -fomit-frame-pointer - DL_ENDIAN -DMD32_REG_T=int -Wall::-D_REENTRANT:MACOSX:-Wl,- search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",for *both* './Configure darwin64-x86_64-cc' and './Configure darwin64-x86_64-cc shared'. Then if not much trouble could you submit output from 'sysctl -a' from x86_64 MacOSX system? A.
I replaced '-search_paths_first%' with '-search_paths_first', as the '%' caused both build types to fail.
With the updated configure line, both build types succeed and pass all tests. (sysctl output is below).
[non-shared]
chani:/usr/local/build/openssl-0.9.8e sheurich$ ./Configure darwin64-x86_64-cc && make && make testConfiguring for darwin64-x86_64-cc no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-shared [default] no-zlib [default] no-zlib-dynamic [default] IsMK1MF=0 CC =ccCFLAG =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN - DHAVE_DLFCN_H -arch x86_64 -O3 -fomit-frame-pointer -DL_ENDIAN - DMD32_REG_T=int -WallEX_LIBS =-Wl,-search_paths_first CPUID_OBJ = BN_ASM =bn_asm.o DES_ENC =des_enc.o fcrypt_b.o AES_ASM_OBJ =aes_core.o aes_cbc.o BF_ENC =bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB =/usr/bin/ranlib ARFLAGS = PERL =/usr/bin/perl SIXTY_FOUR_BIT_LONG mode DES_UNROLL used DES_INT used RC4_CHUNK is unsigned long BF_PTR2 used [...] Approximate total server time: 0.01 s Approximate total client time: 0.06 s Test IGE mode ../util/shlib_wrap.sh ./igetest util/opensslwrap.sh version -a OpenSSL 0.9.8e 23 Feb 2007 built on: Sat Aug 25 17:34:36 EDT 2007 platform: darwin-x86_64-ccoptions: bn(64,64) md2(int) rc4(ptr,int) des(idx,cisc,16,int) idea (int) blowfish(ptr2) compiler: cc -arch x86_64 -fPIC -fno-common -DOPENSSL_PIC - DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN - DHAVE_DLFCN_H -arch x86_64 -O3 -fomit-frame-pointer -fno-common - DL_ENDIAN -DMD32_REG_T=int -WallOPENSSLDIR: "/usr/local/openssl64"
[shared]
chani:/usr/local/build/openssl-0.9.8e sheurich$ ./Configure darwin64-x86_64-cc shared && make && make testConfiguring for darwin64-x86_64-cc no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) no-rc5 [default] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-zlib [default] no-zlib-dynamic [default] IsMK1MF=0 CC =ccCFLAG =-fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS - D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -fomit- frame-pointer -DL_ENDIAN -DMD32_REG_T=int -WallEX_LIBS =-Wl,-search_paths_first CPUID_OBJ = BN_ASM =bn_asm.o DES_ENC =des_enc.o fcrypt_b.o AES_ASM_OBJ =aes_core.o aes_cbc.o BF_ENC =bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB =/usr/bin/ranlib ARFLAGS = PERL =/usr/bin/perl SIXTY_FOUR_BIT_LONG mode DES_UNROLL used DES_INT used RC4_CHUNK is unsigned long BF_PTR2 used [...] Approximate total server time: 0.03 s Approximate total client time: 0.04 s Test IGE mode ../util/shlib_wrap.sh ./igetest util/opensslwrap.sh version -a OpenSSL 0.9.8e 23 Feb 2007 built on: Wed Aug 29 11:49:24 EDT 2007 platform: darwin64-x86_64-ccoptions: bn(64,64) md2(int) rc4(ptr,int) des(idx,cisc,16,int) idea (int) blowfish(ptr2) compiler: cc -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS - D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -fomit- frame-pointer -DL_ENDIAN -DMD32_REG_T=int -WallOPENSSLDIR: "/usr/local/ssl"
[sysctl -a]
kern.ostype = Darwin kern.osrelease = 8.10.1 kern.osrevision = 199506kern.version = Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386kern.maxvnodes = 120000 kern.maxproc = 2500 kern.maxfiles = 12288 kern.argmax = 262144 kern.securelevel = 1 kern.hostname = chani.echo.nasa.gov kern.hostid = 0 kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100 kern.posix1version = 200112 kern.ngroups = 16 kern.job_control = 1 kern.saved_ids = 0 kern.boottime = Thu Aug 23 14:31:59 2007 kern.nisdomainname = kern.maxfilesperproc = 10240 kern.maxprocperuid = 1000 kern.dummy = 0 kern.dummy = 0 kern.usrstack = -1073741824 kern.symfile = \mach.sym kern.netboot = 0 kern.dummy = 0 kern.dummy = 0 kern.exec: unknown type returned kern.aiomax = 90 kern.aioprocmax = 16 kern.aiothreads = 4 kern.corefile = /cores/core.%P kern.coredump = 1 kern.sugid_coredump = 0 kern.delayterm = 0 kern.shreg_private = 1 kern.proc_low_pri_io = 0 kern.low_pri_window = 200 kern.low_pri_delay = 200 kern.usrstack64 = 3221225472 kern.nx = 1 kern.procname = kern.threadsigaltstack = 0 vm.loadavg: 0.00 0.03 0.07 vm.swapusage: total = 64.00M used = 10.83M free = 53.17M vfs.nfs has 5 mounted instances vfs.fdesc has 1 mounted instance vfs.hfs has 1 mounted instance vfs.volfs has 1 mounted instance vfs.devfs has 1 mounted instance hw.machine = i386 hw.model = Xserve1,1 hw.ncpu = 4 hw.byteorder = 1234 hw.physmem = 2147483648 hw.usermem = 1478402048 hw.pagesize = 4096 hw.epoch = 0 hw.vectorunit = 1 hw.busfrequency = 1332000000 hw.cpufrequency = 3000000000 hw.cachelinesize = 64 hw.l1icachesize = 32768 hw.l1dcachesize = 32768 hw.l2settings = 1 hw.l2cachesize = 4194304 hw.tbfrequency = 1000000000 hw.memsize = 4294967296 hw.availcpu = 4 user.cs_path = /usr/bin:/bin:/usr/sbin:/sbin user.bc_base_max = 99 user.bc_dim_max = 2048 user.bc_scale_max = 99 user.bc_string_max = 1000 user.coll_weights_max = 2 user.expr_nest_max = 32 user.line_max = 2048 user.re_dup_max = 255 user.posix2_version = 200112 user.posix2_c_bind = 0 user.posix2_c_dev = 0 user.posix2_char_term = 0 user.posix2_fort_dev = 0 user.posix2_fort_run = 0 user.posix2_localedef = 0 user.posix2_sw_dev = 0 user.posix2_upe = 0 user.stream_max = 20 user.tzname_max = 255 kern.ipc.maxsockbuf: 262144 kern.ipc.sockbuf_waste_factor: 8 kern.ipc.somaxconn: 2500 kern.ipc.nmbclusters: 32768 kern.ipc.sosendminchain: 16384 kern.ipc.sorecvmincopy: 16384 kern.ipc.maxsockets: 512 kern.dummy: 0 kern.sysv.shmmax: 4194304 kern.sysv.shmmin: 1 kern.sysv.shmmni: 32 kern.sysv.shmseg: 8 kern.sysv.shmall: 1024 kern.sysv.semmni: 87381 kern.sysv.semmns: 87381 kern.sysv.semmnu: 87381 kern.sysv.semmsl: 87381 kern.sysv.semume: 10 kern.exec.archhandler.powerpc: /usr/libexec/oah/translate kern.posix.sem.max: 10000 kern.tfp.policy: 2 kern.tfp.read_group: 8 kern.tfp.rw_group: 9 kern.copyregionmax: 8 kern.lowpagemax: 1063 kern.himemorymode: 0 kern.hibernatefile: kern.bootsignature: kern.hibernatemode: 0 kern.sugid_scripts: 0 kern.always_do_fullfsync: 0 kern.flush_cache_on_write: 0 kern.nbuf: 43656 kern.maxnbuf: 90000 vm.shared_region_trace_level: 1 vfs.generic.nfs.client.initialdowndelay: 12 vfs.generic.nfs.client.nextdowndelay: 30 net.local.stream.recvspace: 8192 net.local.stream.sendspace: 8192 net.local.dgram.maxdgram: 2048 net.local.dgram.recvspace: 4096 net.local.inflight: 0 net.inet.ip.portrange.first: 49152 net.inet.ip.portrange.hifirst: 49152 net.inet.ip.portrange.hilast: 65535 net.inet.ip.portrange.last: 65535 net.inet.ip.portrange.lowfirst: 1023 net.inet.ip.portrange.lowlast: 600 net.inet.ip.forwarding: 1 net.inet.ip.redirect: 1 net.inet.ip.ttl: 64 net.inet.ip.rtexpire: 3600 net.inet.ip.rtminexpire: 10 net.inet.ip.rtmaxcache: 128 net.inet.ip.sourceroute: 0 net.inet.ip.intr_queue_maxlen: 50 net.inet.ip.intr_queue_drops: 0 net.inet.ip.accept_sourceroute: 0 net.inet.ip.fastforwarding: 0 net.inet.ip.keepfaith: 0 net.inet.ip.gifttl: 30 net.inet.ip.subnets_are_local: 0 net.inet.ip.maxfragpackets: 1024 net.inet.ip.maxfragsperpacket: 128 net.inet.ip.maxfrags: 2048 net.inet.ip.check_interface: 0 net.inet.ip.check_route_selfref: 1 net.inet.ip.use_route_genid: 1 net.inet.ip.dummynet.hash_size: 64 net.inet.ip.dummynet.curr_time: 0 net.inet.ip.dummynet.ready_heap: 0 net.inet.ip.dummynet.extract_heap: 0 net.inet.ip.dummynet.searches: 0 net.inet.ip.dummynet.search_steps: 0 net.inet.ip.dummynet.expire: 1 net.inet.ip.dummynet.max_chain_len: 16 net.inet.ip.dummynet.red_lookup_depth: 256 net.inet.ip.dummynet.red_avg_pkt_size: 512 net.inet.ip.dummynet.red_max_pkt_size: 1500 net.inet.ip.fw.enable: 0 net.inet.ip.fw.debug: 1 net.inet.ip.fw.verbose: 0 net.inet.ip.fw.verbose_limit: 0 net.inet.ip.fw.one_pass: 1 net.inet.ip.fw.autoinc_step: 100 net.inet.ip.fw.dyn_buckets: 256 net.inet.ip.fw.curr_dyn_buckets: 256 net.inet.ip.fw.dyn_count: 0 net.inet.ip.fw.dyn_max: 4096 net.inet.ip.fw.static_count: 1 net.inet.ip.fw.dyn_ack_lifetime: 300 net.inet.ip.fw.dyn_syn_lifetime: 20 net.inet.ip.fw.dyn_fin_lifetime: 1 net.inet.ip.fw.dyn_rst_lifetime: 1 net.inet.ip.fw.dyn_udp_lifetime: 10 net.inet.ip.fw.dyn_short_lifetime: 5 net.inet.ip.fw.dyn_keepalive: 1 net.inet.ip.linklocal.in.allowbadttl: 1 net.inet.ip.maxchainsent: 0 net.inet.icmp.maskrepl: 0 net.inet.icmp.icmplim: 250 net.inet.icmp.timestamp: 0 net.inet.icmp.bmcastecho: 1 net.inet.icmp.drop_redirect: 0 net.inet.icmp.log_redirect: 0 net.inet.tcp.rfc1323: 1 net.inet.tcp.rfc1644: 0 net.inet.tcp.mssdflt: 512 net.inet.tcp.keepidle: 144000 net.inet.tcp.keepintvl: 1500 net.inet.tcp.sendspace: 32768 net.inet.tcp.recvspace: 32768 net.inet.tcp.keepinit: 1500 net.inet.tcp.delacktime: 50 net.inet.tcp.v6mssdflt: 1024 net.inet.tcp.always_keepalive: 0 net.inet.tcp.delayed_ack: 2 net.inet.tcp.log_in_vain: 0 net.inet.tcp.pcbcount: 113 net.inet.tcp.minmss: 216 net.inet.tcp.minmssoverload: 0 net.inet.tcp.slowlink_wsize: 8192 net.inet.tcp.blackhole: 0 net.inet.tcp.tcp_lq_overflow: 1 net.inet.tcp.path_mtu_discovery: 1 net.inet.tcp.slowstart_flightsize: 1 net.inet.tcp.local_slowstart_flightsize: 4 net.inet.tcp.newreno: 0 net.inet.tcp.packetchain: 50 net.inet.tcp.tcbhashsize: 4096 net.inet.tcp.do_tcpdrain: 0 net.inet.tcp.icmp_may_rst: 1 net.inet.tcp.strict_rfc1948: 0 net.inet.tcp.isn_reseed_interval: 0 net.inet.tcp.msl: 600 net.inet.tcp.sack: 1 net.inet.tcp.sack_maxholes: 128 net.inet.tcp.sack_globalmaxholes: 65536 net.inet.tcp.sack_globalholes: 0 net.inet.tcp.drop_synfin: 1 net.inet.tcp.sockthreshold: 256 net.inet.tcp.reass.maxsegments: 2048 net.inet.tcp.reass.cursegments: 0 net.inet.tcp.reass.overflows: 0 net.inet.udp.checksum: 1 net.inet.udp.maxdgram: 9216 net.inet.udp.recvspace: 42080 net.inet.udp.log_in_vain: 0 net.inet.udp.blackhole: 0 net.inet.udp.pcbcount: 48 net.inet.ipsec.def_policy: 1 net.inet.ipsec.esp_trans_deflev: 1 net.inet.ipsec.esp_net_deflev: 1 net.inet.ipsec.ah_trans_deflev: 1 net.inet.ipsec.ah_net_deflev: 1 net.inet.ipsec.ah_cleartos: 1 net.inet.ipsec.ah_offsetmask: 0 net.inet.ipsec.dfbit: 0 net.inet.ipsec.ecn: 0 net.inet.ipsec.debug: 0 net.inet.ipsec.esp_randpad: -1 net.inet.ipsec.bypass: 0 net.inet.ipsec.esp_port: 4500 net.inet.raw.maxdgram: 8192 net.inet.raw.recvspace: 8192 net.appletalk.routermix: 2000 net.link.generic.system.ifcount: 10 net.link.ether.inet.host_down_time: 20 net.link.ether.inet.max_age: 1200 net.link.ether.inet.maxtries: 5 net.link.ether.inet.proxyall: 0 net.link.ether.inet.prune_intvl: 300 net.link.ether.inet.useloopback: 1 net.link.ether.inet.log_arp_warnings: 0 net.link.ether.inet.apple_hwcksum_tx: 1 net.link.ether.inet.apple_hwcksum_rx: 1 net.key.debug: 0 net.key.spi_trycnt: 1000 net.key.spi_minval: 256 net.key.spi_maxval: 268435455 net.key.int_random: 60 net.key.larval_lifetime: 30 net.key.blockacq_count: 10 net.key.blockacq_lifetime: 20 net.key.esp_keymin: 256 net.key.esp_auth: 0 net.key.ah_keymin: 128 net.key.prefered_oldsa: 0 net.key.natt_keepalive_interval: 20 net.inet6.ip6.forwarding: 0 net.inet6.ip6.redirect: 1 net.inet6.ip6.hlim: 64 net.inet6.ip6.maxfragpackets: 1024 net.inet6.ip6.accept_rtadv: 0 net.inet6.ip6.keepfaith: 0 net.inet6.ip6.log_interval: 5 net.inet6.ip6.hdrnestlimit: 50 net.inet6.ip6.dad_count: 1 net.inet6.ip6.auto_flowlabel: 1 net.inet6.ip6.defmcasthlim: 1 net.inet6.ip6.gifhlim: 0 net.inet6.ip6.kame_version: 20010528/apple-darwin net.inet6.ip6.use_deprecated: 1 net.inet6.ip6.rr_prune: 5 net.inet6.ip6.v6only: 0 net.inet6.ip6.rtexpire: 3600 net.inet6.ip6.rtminexpire: 10 net.inet6.ip6.rtmaxcache: 128 net.inet6.ip6.use_tempaddr: 0 net.inet6.ip6.temppltime: 86400 net.inet6.ip6.tempvltime: 604800 net.inet6.ip6.auto_linklocal: 1 net.inet6.ip6.maxfrags: 8192 net.inet6.ip6.fw.debug: 1 net.inet6.ip6.fw.verbose: 0 net.inet6.ip6.fw.verbose_limit: 0 net.inet6.ipsec6.def_policy: 1 net.inet6.ipsec6.esp_trans_deflev: 1 net.inet6.ipsec6.esp_net_deflev: 1 net.inet6.ipsec6.ah_trans_deflev: 1 net.inet6.ipsec6.ah_net_deflev: 1 net.inet6.ipsec6.ecn: 0 net.inet6.ipsec6.debug: 0 net.inet6.ipsec6.esp_randpad: -1 net.inet6.icmp6.rediraccept: 1 net.inet6.icmp6.redirtimeout: 600 net.inet6.icmp6.nd6_prune: 1 net.inet6.icmp6.nd6_delay: 5 net.inet6.icmp6.nd6_umaxtries: 3 net.inet6.icmp6.nd6_mmaxtries: 3 net.inet6.icmp6.nd6_useloopback: 1 net.inet6.icmp6.nodeinfo: 3 net.inet6.icmp6.errppslimit: 100 net.inet6.icmp6.nd6_maxnudhint: 0 net.inet6.icmp6.nd6_debug: 0 debug.bpf_bufsize: 4096 debug.bpf_maxbufsize: 524288 debug.bpf_maxdevices: 256 debug.iokit: 0 hw.ncpu: 4 hw.byteorder: 1234 hw.memsize: 4294967296 hw.activecpu: 4 hw.physicalcpu: 4 hw.physicalcpu_max: 4 hw.logicalcpu: 4 hw.logicalcpu_max: 4 hw.cputype: 7 hw.cpusubtype: 4 hw.cpufamily: 1114597871 hw.cacheconfig: 2 1 2 0 0 0 0 0 0 0 hw.pagesize: 4096 hw.busfrequency: 1332000000 hw.busfrequency_min: 1332000000 hw.busfrequency_max: 1332000000 hw.cpufrequency: 3000000000 hw.cpufrequency_min: 3000000000 hw.cpufrequency_max: 3000000000 hw.cachelinesize: 64 hw.l1icachesize: 32768 hw.l1dcachesize: 32768 hw.l2cachesize: 4194304 hw.tbfrequency: 1000000000 hw.optional.floatingpoint: 1 hw.optional.mmx: 1 hw.optional.sse: 1 hw.optional.sse2: 1 hw.optional.sse3: 1 hw.optional.x86_64: 1 hw.optional.supplementalsse3: 1 machdep.cpu.vendor: GenuineIntelmachdep.cpu.brand_string: Intel(R) Xeon(R) CPU 5160 @ 3.00GHzmachdep.cpu.model_string: Unknown Intel P6 Family machdep.cpu.family: 6 machdep.cpu.model: 15 machdep.cpu.extmodel: 0 machdep.cpu.extfamily: 0 machdep.cpu.feature_bits: -1075053569 320445 machdep.cpu.extfeature_bits: 537919488 1 machdep.cpu.stepping: 6 machdep.cpu.signature: 1782 machdep.cpu.brand: 0machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX EST TM2 MNI CX16 TPRmachdep.cpu.extfeatures: XD EM64T machdep.cpu.logical_per_package: 2 machdep.cpu.cores_per_package: 2
-- Shiloh Heurich Senior Systems Administrator, ECHO NASA Goddard Space Flight Center, Code 423 V: +1.240.542.1156 E: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature