From owner-svn-src-head@freebsd.org Wed Mar 8 11:40:29 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03A01D0247A; Wed, 8 Mar 2017 11:40:29 +0000 (UTC) (envelope-from mmel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C74DF190E; Wed, 8 Mar 2017 11:40:28 +0000 (UTC) (envelope-from mmel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v28BeRls012813; Wed, 8 Mar 2017 11:40:27 GMT (envelope-from mmel@FreeBSD.org) Received: (from mmel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v28BeRU8012812; Wed, 8 Mar 2017 11:40:27 GMT (envelope-from mmel@FreeBSD.org) Message-Id: <201703081140.v28BeRU8012812@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mmel set sender to mmel@FreeBSD.org using -f From: Michal Meloun Date: Wed, 8 Mar 2017 11:40:27 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 11:40:29 -0000 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