some more temporary magic for the icc seg-fault issue
This commit is contained in:
parent
8d0cbaf8df
commit
231a51fe7a
@ -148,11 +148,11 @@ CARES_SET_COMPILER_DEBUG_OPTS
|
|||||||
CARES_SET_COMPILER_OPTIMIZE_OPTS
|
CARES_SET_COMPILER_OPTIMIZE_OPTS
|
||||||
CARES_SET_COMPILER_WARNING_OPTS
|
CARES_SET_COMPILER_WARNING_OPTS
|
||||||
|
|
||||||
case $host in
|
dnl case $host in
|
||||||
#
|
dnl #
|
||||||
x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
|
dnl x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
|
||||||
#
|
dnl #
|
||||||
if test "$compiler_id" = "ICC_unix"; then
|
if test "$compiler_id" = "INTEL_UNIX_C"; then
|
||||||
#
|
#
|
||||||
if test "$compiler_num" -ge "900" &&
|
if test "$compiler_num" -ge "900" &&
|
||||||
test "$compiler_num" -lt "1000"; then
|
test "$compiler_num" -lt "1000"; then
|
||||||
@ -166,9 +166,9 @@ case $host in
|
|||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
fi
|
fi
|
||||||
;;
|
dnl ;;
|
||||||
#
|
dnl #
|
||||||
esac
|
dnl esac
|
||||||
|
|
||||||
CURL_CHECK_COMPILER_HALT_ON_ERROR
|
CURL_CHECK_COMPILER_HALT_ON_ERROR
|
||||||
CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE
|
CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 38
|
# serial 39
|
||||||
|
|
||||||
|
|
||||||
dnl CARES_CHECK_COMPILER
|
dnl CARES_CHECK_COMPILER
|
||||||
@ -563,10 +563,6 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [
|
|||||||
dnl #981: operands are evaluated in unspecified order
|
dnl #981: operands are evaluated in unspecified order
|
||||||
dnl #1469: "cc" clobber ignored
|
dnl #1469: "cc" clobber ignored
|
||||||
tmp_CPPFLAGS="$tmp_CPPFLAGS -wd 279,981,1469"
|
tmp_CPPFLAGS="$tmp_CPPFLAGS -wd 279,981,1469"
|
||||||
dnl Disable use of ANSI C aliasing rules in optimizations
|
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -no-ansi-alias"
|
|
||||||
dnl Disable floating point optimizations
|
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
|
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
INTEL_WINDOWS_C)
|
INTEL_WINDOWS_C)
|
||||||
@ -930,6 +926,16 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
|
|||||||
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
||||||
dnl Enable run-time detection of buffer overruns.
|
dnl Enable run-time detection of buffer overruns.
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
|
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
|
||||||
|
dnl Disable use of ANSI C aliasing rules in optimizations
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -no-ansi-alias"
|
||||||
|
dnl Disable floating point optimizations
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
|
||||||
|
dnl Assume aliasing in the program.
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -falias"
|
||||||
|
dnl Assume that arguments may be aliased.
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -alias-args"
|
||||||
|
dnl Assume aliasing within functions
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -ffnalias"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
|
16
configure.ac
16
configure.ac
@ -257,11 +257,11 @@ CURL_SET_COMPILER_DEBUG_OPTS
|
|||||||
CURL_SET_COMPILER_OPTIMIZE_OPTS
|
CURL_SET_COMPILER_OPTIMIZE_OPTS
|
||||||
CURL_SET_COMPILER_WARNING_OPTS
|
CURL_SET_COMPILER_WARNING_OPTS
|
||||||
|
|
||||||
case $host in
|
dnl case $host in
|
||||||
#
|
dnl #
|
||||||
x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
|
dnl x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
|
||||||
#
|
dnl #
|
||||||
if test "$compiler_id" = "ICC_unix"; then
|
if test "$compiler_id" = "INTEL_UNIX_C"; then
|
||||||
#
|
#
|
||||||
if test "$compiler_num" -ge "900" &&
|
if test "$compiler_num" -ge "900" &&
|
||||||
test "$compiler_num" -lt "1000"; then
|
test "$compiler_num" -lt "1000"; then
|
||||||
@ -275,9 +275,9 @@ case $host in
|
|||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
fi
|
fi
|
||||||
;;
|
dnl ;;
|
||||||
#
|
dnl #
|
||||||
esac
|
dnl esac
|
||||||
|
|
||||||
CURL_CHECK_COMPILER_HALT_ON_ERROR
|
CURL_CHECK_COMPILER_HALT_ON_ERROR
|
||||||
CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE
|
CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
# File version for 'aclocal' use. Keep it a single number.
|
# File version for 'aclocal' use. Keep it a single number.
|
||||||
# serial 37
|
# serial 38
|
||||||
|
|
||||||
|
|
||||||
dnl CURL_CHECK_COMPILER
|
dnl CURL_CHECK_COMPILER
|
||||||
@ -569,10 +569,6 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [
|
|||||||
dnl #981: operands are evaluated in unspecified order
|
dnl #981: operands are evaluated in unspecified order
|
||||||
dnl #1469: "cc" clobber ignored
|
dnl #1469: "cc" clobber ignored
|
||||||
tmp_CPPFLAGS="$tmp_CPPFLAGS -wd 279,981,1469"
|
tmp_CPPFLAGS="$tmp_CPPFLAGS -wd 279,981,1469"
|
||||||
dnl Disable use of ANSI C aliasing rules in optimizations
|
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -no-ansi-alias"
|
|
||||||
dnl Disable floating point optimizations
|
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
|
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
INTEL_WINDOWS_C)
|
INTEL_WINDOWS_C)
|
||||||
@ -936,6 +932,16 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
|
|||||||
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
||||||
dnl Enable run-time detection of buffer overruns.
|
dnl Enable run-time detection of buffer overruns.
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
|
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
|
||||||
|
dnl Disable use of ANSI C aliasing rules in optimizations
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -no-ansi-alias"
|
||||||
|
dnl Disable floating point optimizations
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
|
||||||
|
dnl Assume aliasing in the program.
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -falias"
|
||||||
|
dnl Assume that arguments may be aliased.
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -alias-args"
|
||||||
|
dnl Assume aliasing within functions
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -ffnalias"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user