From owner-svn-src-all@FreeBSD.ORG Tue Mar 31 13:37:33 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 351139FA; Tue, 31 Mar 2015 13:37:33 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 20FC33D9; Tue, 31 Mar 2015 13:37:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2VDbW18095809; Tue, 31 Mar 2015 13:37:32 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2VDbWpJ095808; Tue, 31 Mar 2015 13:37:32 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201503311337.t2VDbWpJ095808@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Tue, 31 Mar 2015 13:37:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r280909 - head/contrib/gcc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2015 13:37:33 -0000 Author: emaste Date: Tue Mar 31 13:37:32 2015 New Revision: 280909 URL: https://svnweb.freebsd.org/changeset/base/280909 Log: unwind-d2 build workaround for arm64 The __builtin_init_dwarf_reg_size_table function is unimplemented in clang 3.6 for AArch64. Comment it out for now and replace it with a message and abort. Tracked in upstream LLVM PR 22997 https://llvm.org/bugs/show_bug.cgi?id=22997 Submitted by: andrew Modified: head/contrib/gcc/unwind-dw2.c Modified: head/contrib/gcc/unwind-dw2.c ============================================================================== --- head/contrib/gcc/unwind-dw2.c Tue Mar 31 12:53:07 2015 (r280908) +++ head/contrib/gcc/unwind-dw2.c Tue Mar 31 13:37:32 2015 (r280909) @@ -1393,7 +1393,16 @@ uw_advance_context (struct _Unwind_Conte static inline void init_dwarf_reg_size_table (void) { +/* + * ARM64TODO: http://llvm.org/pr22997 + * llvm 3.6 doesn't support __builtin_init_dwarf_reg_size_table on AArch64. + */ +#ifdef __aarch64__ + printf("Unimplemented: init_dwarf_reg_size_table\n"); + abort(); +#else __builtin_init_dwarf_reg_size_table (dwarf_reg_size_table); +#endif } static void