[Openmp-dev] aarch64 cross build broken

C Bergström cbergstrom at pathscale.com
Fri Feb 20 19:54:20 PST 2015


Hi

Please move the "security" flags to intel, gcc or specific build
option. If that's inconvenient - then please move back to being
disabled by default and only enabled via a cmake option
-DENABLE_SECURITY_FLAGS or something

Our Aarch64 cross build is broken now (kmp_runtime.c) and it looks
like that's the root cause is security flags
---------
I haven't had a chance to bisect, but the full blame list is one of
these commits

openmp-llvm

Andrey Churbanov <Andrey.Churbanov at intel.com>20 Feb 2015, 1:19:41
PM6c8cce6f8b7fa2a0b38d32087da31bd5407a56d2

Two warning messages fixed.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230035
91177308-0d34-0410-b5e6-96231b3b80d8

runtime/src/i18n/en_US.txt (version 6c8cce6f8b7fa2a0b38d32087da31bd5407a56d2)
runtime/src/kmp_lock.cpp (version 6c8cce6f8b7fa2a0b38d32087da31bd5407a56d2)
runtime/src/kmp_settings.c (version 6c8cce6f8b7fa2a0b38d32087da31bd5407a56d2)

Andrey Churbanov <Andrey.Churbanov at intel.com>20 Feb 2015, 1:17:03
PMb4d5def7476e07e958c286581378c048eccc4df0

Misprint in comment fixed

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230034
91177308-0d34-0410-b5e6-96231b3b80d8

runtime/tools/src/common-tools.mk (version
b4d5def7476e07e958c286581378c048eccc4df0)

Andrey Churbanov <Andrey.Churbanov at intel.com>20 Feb 2015, 1:14:43
PM53e806cdc164b130fbb0fa8e95d4848ee6f9ba0e

Detect Intel MIC architecture and set some defaults at run time
instead of build time.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230033
91177308-0d34-0410-b5e6-96231b3b80d8

runtime/src/kmp.h (version 53e806cdc164b130fbb0fa8e95d4848ee6f9ba0e)
runtime/src/kmp_global.c (version 53e806cdc164b130fbb0fa8e95d4848ee6f9ba0e)
runtime/src/kmp_runtime.c (version 53e806cdc164b130fbb0fa8e95d4848ee6f9ba0e)
runtime/src/kmp_settings.c (version 53e806cdc164b130fbb0fa8e95d4848ee6f9ba0e)

Andrey Churbanov <Andrey.Churbanov at intel.com>20 Feb 2015, 1:09:27
PM032f90ffc6c160548bb56484d400eaa017e3fe00

Removed unused varargs from __kmpc_flush function.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230032
91177308-0d34-0410-b5e6-96231b3b80d8

runtime/src/kmp.h (version 032f90ffc6c160548bb56484d400eaa017e3fe00)
runtime/src/kmp_csupport.c (version 032f90ffc6c160548bb56484d400eaa017e3fe00)

Andrey Churbanov <Andrey.Churbanov at intel.com>20 Feb 2015, 1:05:17
PM5356a729f15d50f5ae4b5a26e0196459a988ffb8

Added new user-guided lock api, currently disabled. Use
KMP_USE_DYNAMIC_LOCK=1 to enable it.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230030
91177308-0d34-0410-b5e6-96231b3b80d8

runtime/src/include/40/omp.h.var (version
5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/include/40/omp_lib.f.var (version
5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/include/40/omp_lib.f90.var (version
5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/include/40/omp_lib.h.var (version
5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_csupport.c (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_dispatch.cpp (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_error.c (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_error.h (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_ftn_entry.h (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_ftn_os.h (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_itt.h (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_itt.inl (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_lock.cpp (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_lock.h (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_omp.h (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_os.h (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_runtime.c (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_settings.c (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/kmp_taskq.c (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)
runtime/src/z_Linux_util.c (version 5356a729f15d50f5ae4b5a26e0196459a988ffb8)

Andrey Churbanov <Andrey.Churbanov at intel.com>20 Feb 2015, 12:57:58
PM195acc9c8041c9d670f7b5aef320b9f95f8851da

Changed default stack offset for threads on non-Mac architectures to a
CACHE_LINE.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230029
91177308-0d34-0410-b5e6-96231b3b80d8

runtime/src/kmp.h (version 195acc9c8041c9d670f7b5aef320b9f95f8851da)

Andrey Churbanov <Andrey.Churbanov at intel.com>20 Feb 2015, 12:55:48
PM19b619330a24dfe370bf8f8b9dec7f63e63cfc80

Added some compiler flags for security on Linux and Mac link stages.

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@230027
91177308-0d34-0410-b5e6-96231b3b80d8

runtime/tools/src/common-tools.mk (version
19b619330a24dfe370bf8f8b9dec7f63e63cfc80)



More information about the Openmp-dev mailing list