Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
f6b55fae
Commit
f6b55fae
authored
16 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
remove compiler options used while debugging the icc 9.1 optimizer issue
parent
8aa88f4d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ares/m4/cares-compilers.m4
+1
-42
1 addition, 42 deletions
ares/m4/cares-compilers.m4
m4/curl-compilers.m4
+1
-42
1 addition, 42 deletions
m4/curl-compilers.m4
with
2 additions
and
84 deletions
ares/m4/cares-compilers.m4
+
1
−
42
View file @
f6b55fae
...
...
@@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 4
7
# serial 4
8
dnl CARES_CHECK_COMPILER
...
...
@@ -186,7 +186,6 @@ AC_DEFUN([CARES_CHECK_COMPILER_INTEL_C], [
if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
AC_MSG_RESULT([yes])
compiler_num="$curl_cv_def___INTEL_COMPILER"
CURL_CHECK_DEF([__i386__], [], [silent])
CURL_CHECK_DEF([__unix__], [], [silent])
if test "$curl_cv_have_def___unix__" = "yes"; then
compiler_id="INTEL_UNIX_C"
...
...
@@ -196,13 +195,6 @@ AC_DEFUN([CARES_CHECK_COMPILER_INTEL_C], [
flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
flags_opt_yes="-O2"
flags_opt_off="-O0"
dnl icc 9.1 optimization on IA32 triggers SIGSEGV
if test "$curl_cv_have_def___i386__" = "yes" &&
test "$compiler_num" -eq "910"; then
INTEL_UNIX_C_OPT_SIGSEGV="yes"
else
INTEL_UNIX_C_OPT_SIGSEGV="no"
fi
else
compiler_id="INTEL_WINDOWS_C"
flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
...
...
@@ -961,39 +953,6 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
dnl Disable vectorizer diagnostic information
tmp_CFLAGS="$tmp_CFLAGS -vec-report0"
fi
dnl Disable some optimizations to debug icc 9.1 SIGSEGV
if test "$INTEL_UNIX_C_OPT_SIGSEGV" = "yes"; then
dnl Disable interprocedural optimizations
tmp_CFLAGS="$tmp_CFLAGS -no-ip -no-ipo"
dnl Separate functions for the linker
tmp_CFLAGS="$tmp_CFLAGS -ffunction-sections"
dnl Disable inlining of user-defined functions
tmp_CFLAGS="$tmp_CFLAGS -Ob0"
dnl Disable inline expansion of intrinsic functions
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
dnl Disable inlining of functions
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
dnl Disable some IPO for single file optimizations
tmp_CFLAGS="$tmp_CFLAGS -fno-inline-functions"
dnl Disable inlining of standard library functions
tmp_CFLAGS="$tmp_CFLAGS -nolib-inline"
dnl Disable full and partial inlining when IPO
tmp_CFLAGS="$tmp_CFLAGS -ip-no-inlining"
dnl Enable floating-point stack integrity checks
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
dnl Enable run-time detection of buffer overruns.
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
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"
dnl Disable prefetch insertion optimization
tmp_CFLAGS="$tmp_CFLAGS -no-prefetch"
dnl Disable loop unrolling optimization
tmp_CFLAGS="$tmp_CFLAGS -unroll0"
fi
;;
#
INTEL_WINDOWS_C)
...
...
This diff is collapsed.
Click to expand it.
m4/curl-compilers.m4
+
1
−
42
View file @
f6b55fae
...
...
@@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 4
7
# serial 4
8
dnl CURL_CHECK_COMPILER
...
...
@@ -192,7 +192,6 @@ AC_DEFUN([CURL_CHECK_COMPILER_INTEL_C], [
if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
AC_MSG_RESULT([yes])
compiler_num="$curl_cv_def___INTEL_COMPILER"
CURL_CHECK_DEF([__i386__], [], [silent])
CURL_CHECK_DEF([__unix__], [], [silent])
if test "$curl_cv_have_def___unix__" = "yes"; then
compiler_id="INTEL_UNIX_C"
...
...
@@ -202,13 +201,6 @@ AC_DEFUN([CURL_CHECK_COMPILER_INTEL_C], [
flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
flags_opt_yes="-O2"
flags_opt_off="-O0"
dnl icc 9.1 optimization on IA32 triggers SIGSEGV
if test "$curl_cv_have_def___i386__" = "yes" &&
test "$compiler_num" -eq "910"; then
INTEL_UNIX_C_OPT_SIGSEGV="yes"
else
INTEL_UNIX_C_OPT_SIGSEGV="no"
fi
else
compiler_id="INTEL_WINDOWS_C"
flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
...
...
@@ -967,39 +959,6 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
dnl Disable vectorizer diagnostic information
tmp_CFLAGS="$tmp_CFLAGS -vec-report0"
fi
dnl Disable some optimizations to debug icc 9.1 SIGSEGV
if test "$INTEL_UNIX_C_OPT_SIGSEGV" = "yes"; then
dnl Disable interprocedural optimizations
tmp_CFLAGS="$tmp_CFLAGS -no-ip -no-ipo"
dnl Separate functions for the linker
tmp_CFLAGS="$tmp_CFLAGS -ffunction-sections"
dnl Disable inlining of user-defined functions
tmp_CFLAGS="$tmp_CFLAGS -Ob0"
dnl Disable inline expansion of intrinsic functions
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
dnl Disable inlining of functions
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
dnl Disable some IPO for single file optimizations
tmp_CFLAGS="$tmp_CFLAGS -fno-inline-functions"
dnl Disable inlining of standard library functions
tmp_CFLAGS="$tmp_CFLAGS -nolib-inline"
dnl Disable full and partial inlining when IPO
tmp_CFLAGS="$tmp_CFLAGS -ip-no-inlining"
dnl Enable floating-point stack integrity checks
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
dnl Enable run-time detection of buffer overruns.
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
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"
dnl Disable prefetch insertion optimization
tmp_CFLAGS="$tmp_CFLAGS -no-prefetch"
dnl Disable loop unrolling optimization
tmp_CFLAGS="$tmp_CFLAGS -unroll0"
fi
;;
#
INTEL_WINDOWS_C)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment