From 15bda409010cbf2d3e43baf10f28bae5f7b1abef Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 2 Jun 2006 03:36:23 +0000 Subject: [PATCH] 2034. [bug] gcc: set -fno-strict-aliasing. [RT #16124] --- CHANGES | 2 ++ configure | 8 +++++--- configure.in | 4 ++-- lib/bind/configure | 4 ++-- lib/bind/configure.in | 4 ++-- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGES b/CHANGES index b5d283c8e2..394b332f74 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +2034. [bug] gcc: set -fno-strict-aliasing. [RT #16124] + 2033. [bug] We wern't creating multiple client memory contexts on demand as expected. [RT #16095] diff --git a/configure b/configure index 4137fefc1c..29944a6e0d 100755 --- a/configure +++ b/configure @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. # -# $Id: configure,v 1.393 2006/03/06 01:06:48 marka Exp $ +# $Id: configure,v 1.394 2006/06/02 03:36:22 marka Exp $ # # Portions Copyright (C) 1996-2001 Nominum, Inc. # @@ -29,7 +29,7 @@ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# From configure.in Revision: 1.405 . +# From configure.in Revision: 1.406 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # @@ -7506,7 +7506,7 @@ MKDEPCFLAGS="-M" IRIX_DNSSEC_WARNINGS_HACK="" if test "X$GCC" = "Xyes"; then - STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith" + STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing" case "$host" in *-hp-hpux*) LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS" @@ -29433,6 +29433,8 @@ echo "$as_me: error: path $use_dlz_bdb does not exist" >&2;} if test "$dd" != "/usr" then dlz_bdb_libs="-L${dd}/lib " + else + dlz_bdb_libs="" fi dlz_bdb_libs="${dlz_bdb_libs}-l${d}" break diff --git a/configure.in b/configure.in index f13dba5ed4..2c42fa89cb 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.405 $) +AC_REVISION($Revision: 1.406 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.59) @@ -810,7 +810,7 @@ MKDEPCFLAGS="-M" IRIX_DNSSEC_WARNINGS_HACK="" if test "X$GCC" = "Xyes"; then - STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith" + STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing" case "$host" in *-hp-hpux*) LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS" diff --git a/lib/bind/configure b/lib/bind/configure index 3de6eb378b..e85a2900a0 100644 --- a/lib/bind/configure +++ b/lib/bind/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.115 . +# From configure.in Revision: 1.117 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # @@ -6403,7 +6403,7 @@ MKDEPCFLAGS="-M" IRIX_DNSSEC_WARNINGS_HACK="" if test "X$GCC" = "Xyes"; then - STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wpointer-arith" + STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wpointer-arith -fno-strict-aliasing" else case $host in *-dec-osf*) diff --git a/lib/bind/configure.in b/lib/bind/configure.in index 0fae2f5772..620cc155bd 100644 --- a/lib/bind/configure.in +++ b/lib/bind/configure.in @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -AC_REVISION($Revision: 1.116 $) +AC_REVISION($Revision: 1.117 $) AC_INIT(resolv/herror.c) AC_PREREQ(2.13) @@ -513,7 +513,7 @@ MKDEPCFLAGS="-M" IRIX_DNSSEC_WARNINGS_HACK="" if test "X$GCC" = "Xyes"; then - STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wpointer-arith" + STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wpointer-arith -fno-strict-aliasing" else case $host in *-dec-osf*)