CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/08/06 20:43:02
Modified files:
gnu/llvm/clang/lib/Driver/ToolChains/Arch: X86.cpp
Log message:
default to -march=i586 on i386
llvm 9 and later take more care not to inline cmpxchg8b/cx8 with
-march=i486 instead calling __atomic_* functions. This in turn breaks
the build of a large number of ports.
To avoid having to add a lock or conditionally building individual ports
with -march=i586 change the default so 64 bit atomics will always be
available.
ok patrick@ sthen@ deraadt@