Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6fb7881f
Commit
6fb7881f
authored
Sep 01, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #12717 yassl: Crashes in "integer.cpp" when compiled with icc
- Temporary fix, disable x86 assembler.
parent
41e7178b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
20 deletions
+38
-20
BUILD/compile-pentium-icc
BUILD/compile-pentium-icc
+7
-20
BUILD/compile-pentium-icc-yassl
BUILD/compile-pentium-icc-yassl
+24
-0
extra/yassl/taocrypt/include/misc.hpp
extra/yassl/taocrypt/include/misc.hpp
+7
-0
No files found.
BUILD/compile-pentium-icc
View file @
6fb7881f
...
...
@@ -8,29 +8,16 @@ path=`dirname $0`
CC
=
icc
CXX
=
icpc
CXXLD
=
"
$CXX
-static-libcxa"
export
CC CXX
extra_flags
=
"
$pentium_cflags
$debug_cflags
$max_cflags
-USAFEMALLOC -UFORCE_INIT_OF_VARS -DHAVE_purify -DMYSQL_SERVER_SUFFIX=-valgrind-max"
# Disable following warnings as these are generated by header files:
# 161 unrecognized pragma
# 444 destructor for base class xxx is not virtual
# 279 controlling expression is constant
# 810 conversion from ulonglong to ulong with cast
# 981 operands are evaluated in unspecified order
# 1292 warning for unknown 'attribute' options
# 1469 "xxx" clobber ignored
# 1572 floating-point equality and inequality comparisons are unreliable
# In C++
# 869 parameter "xxx" was never referenced
# (Problem with virtual functions)
# 874 support for placement delete is disabled
export
CC CXX CXXLD
c_warnings
=
""
cxx_warnings
=
""
extra_flags
=
"-O3 -unroll2 -ip -mp -no-gcc -restrict"
extra_flags
=
"
$fast_cflags
-unroll2 -ip -mp -restrict"
# Use -no-ipo if you get this error
# IPO link: can not find "-lstdc++_shared"
# icpc: error: problem during multi-file optimization compilation (code 1)
extra_flags
=
"
$extra_flags
-no-ipo"
base_cxxflags
=
"-fno-exceptions -fno-rtti"
extra_configs
=
"
$pentium_configs
$static_link
"
...
...
BUILD/compile-pentium-icc-yassl
0 → 100644
View file @
6fb7881f
#! /bin/sh
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
# Note that we can't use ccache with icc as the generated .deps file will
# then contain wrong information
CC
=
icc
CXX
=
icpc
CXXLD
=
"
$CXX
-static-libcxa"
export
CC CXX CXXLD
c_warnings
=
""
cxx_warnings
=
""
extra_flags
=
"
$fast_cflags
-unroll2 -ip -mp -restrict"
# Use -no-ipo if you get this error
# IPO link: can not find "-lstdc++_shared"
# icpc: error: problem during multi-file optimization compilation (code 1)
extra_flags
=
"
$extra_flags
-no-ipo"
base_cxxflags
=
"-fno-exceptions -fno-rtti"
extra_configs
=
"
$pentium_configs
$static_link
--with-yassl"
.
"
$path
/FINISH.sh"
extra/yassl/taocrypt/include/misc.hpp
View file @
6fb7881f
...
...
@@ -96,6 +96,13 @@ public:
#endif
// Disable assmebler when compiling with icc
// Temporary workaround for bug12717
#if defined(__INTEL_COMPILER)
#define TAOCRYPT_DISABLE_X86ASM
#endif
// CodeWarrior defines _MSC_VER
#if !defined(TAOCRYPT_DISABLE_X86ASM) && ((defined(_MSC_VER) && \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment