Date: Wed, 8 Mar 2017 11:40:27 +0000 (UTC) From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314907 - head/contrib/compiler-rt/lib/builtins Message-ID: <201703081140.v28BeRU8012812@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmel Date: Wed Mar 8 11:40:27 2017 New Revision: 314907 URL: https://svnweb.freebsd.org/changeset/base/314907 Log: Unbreak ARMv6 world. The new compiler_rt library imported with clang 4.0.0 have several fatal issues (non-functional __udivsi3 for example) with ARM specific instrict functions. As temporary workaround, until upstream solve these problems, disable all thumb[1][2] related feature. Modified: head/contrib/compiler-rt/lib/builtins/assembly.h Modified: head/contrib/compiler-rt/lib/builtins/assembly.h ============================================================================== --- head/contrib/compiler-rt/lib/builtins/assembly.h Wed Mar 8 11:24:33 2017 (r314906) +++ head/contrib/compiler-rt/lib/builtins/assembly.h Wed Mar 8 11:40:27 2017 (r314907) @@ -75,6 +75,9 @@ #define __ARM_FEATURE_CLZ #endif +#undef __ARM_ARCH_ISA_THUMB +#define __ARM_ARCH_ISA_THUMB 0 + #ifdef ARM_HAS_BX #define JMP(r) bx r #define JMPc(r, c) bx##c r
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703081140.v28BeRU8012812>