usr/src/lib/openssl/Patches/18-compiler_opts.patch
author Cyril Plisko <cyril.plisko@grigale.com>
Sat, 23 Apr 2011 14:19:34 -0700
changeset 76 276c1f9233b3
parent 11 87960ed158f9
permissions -rw-r--r--
Import sfw build 164 Bugs Fixed ---------- 6889771 basic_string constuctor crashes for allocation of 65528 6889785 basic_string::append(char*, pos) crashes for pos==npos 6891101 operator>> incorrectly reports success for input with leading blank 6891240 vector<bool>::at() does not throw out_of_range exception 6891278 operator&&(valarray<bool>, T) gives wrong result 6891667 gslice does not produce correct stride 6891729 copyfmt() with registered callback crashes at run time 6903236 long double quiet NaN has incorrect value 0.0 on x86/x64 6908110 numeric_limits<long double>::infinity() returns 0; it should return infinity 6920783 apache_stdcxx4:some facets classes' declaration not conform to ISO/IEC 14882 spec 6927455 bad code generation for (i &= ~j) 6940401 Ship OpenSSL release 1.0.0 in Solaris 7002820 SUNWlexpt copyright file need to be updated 7012421 <cstdint> should move to ansi include directory 7012426 ios::copyfmt() does not copy format flags correctly 7014576 num_put.cpp:__rw_itoa SEGV when computed base == -1 7017236 wcodecvt.cpp __rw_libc_do_in and __rw_libc_do_out should check for EILSEQ 7020671 18.numeric.special.* tests are incorrect 7020995 ruby 1.8.7-p174 in SFW does not build with OpenSSL 1.0.0 7021009 tor in SFW does not build with OpenSSL 1.0.0 7021113 GnuPG uses both OpenSSL versions 0.9.8 and 1.0.0 if 1.0.0 is put into the proto area 7021746 cups in SFW does not build with 1.0.0 in proto area 7025795 time for the biweekly clean-a-rama 7026022 build CURL with direct binding 7030338 tcsd should protect the system PS key database better 7030813 some of the locale tests are incorrect 7030815 add helper scripts for running the test harness and regression tests 7034003 money_put<>, num_put<> and time_put<> are not thread-safe 7034674 tcsd.conf should restrict PCR usage
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
76
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
     1
--- openssl-1.0.0d/Configure	Thu Feb 10 20:02:41 2011
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
     2
+++ /tmp/Configure	Thu Feb 10 20:01:51 2011
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
     3
@@ -249,6 +255,15 @@
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     4
 #"sunos-cc", "cc:-O4 -DNOPROTO -DNOCONST::(unknown):SUNOS::DES_UNROLL:${no_asm}::",
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     5
 "sunos-gcc","gcc:-O3 -mv8 -Dssize_t=int::(unknown):SUNOS::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL DES_PTR DES_RISC1:${no_asm}::",
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     6
 
76
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
     7
+#### Solaris configs, used for OpenSSL as delivered by S11.
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
     8
+"solaris-x86-cc-sunw","cc:-m32 -xO3 -xspace -g -Xa::-D_REENTRANT::-lsocket -lnsl -lc:BN_LLONG RC4_CHUNK DES_PTR DES_UNROLL BF_PTR:${x86_elf_asm}:dlfcn:solaris-shared:-KPIC:-m32 -G -dy -z text -zdefs -Bdirect -zignore -M/usr/lib/ld/map.pagealign -M/usr/lib/ld/map.noexdata:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
     9
+#
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
    10
+"solaris64-x86_64-cc-sunw","cc:-xO3 -m64 -g -xstrconst -Xa -DL_ENDIAN::-D_REENTRANT::-lsocket -lnsl -lc:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR DES_PTR DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:solaris-shared:-KPIC:-m64 -G -dy -z text -zdefs -Bdirect -zignore -M/usr/lib/ld/map.pagealign -M/usr/lib/ld/map.noexdata:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
    11
+#
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
    12
+"solaris-sparcv9-cc-sunw","cc:-xtarget=ultra -m32 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:solaris-shared:-KPIC:-m32 -G -dy -z text -zdefs -Bdirect -zignore -M/usr/lib/ld/map.pagealign:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
    13
+#
276c1f9233b3 Import sfw build 164
Cyril Plisko <cyril.plisko@grigale.com>
parents: 11
diff changeset
    14
+"solaris64-sparcv9-cc-sunw","cc:-xtarget=ultra -m64 -xregs=no%appl -xO5 -g -xstrconst -xdepend -xspace -Xa -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -lc:BN_LLONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:solaris-shared:-KPIC:-m64 -G -dy -z text -zdefs -Bdirect -zignore -M/usr/lib/ld/map.pagealign:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):/usr/ccs/bin/ar rs::/64",
0
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    15
+
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    16
 #### IRIX 5.x configs
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    17
 # -mips2 flag is added by ./config when appropriate.
b34509ac961f Import sfw repo b126
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    18
 "irix-gcc","gcc:-O3 -DTERMIOS -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK DES_UNROLL DES_RISC2 DES_PTR BF_PTR:${no_asm}:dlfcn:irix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",