From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 12 00:48:22 2014 Return-Path: Delivered-To: freebsd-sparc64@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 F10BA3E9; Fri, 12 Dec 2014 00:48:21 +0000 (UTC) Received: from mx.bsdtec.net (mx.bsdtec.net [174.34.171.65]) by mx1.freebsd.org (Postfix) with ESMTP id AD3A4E99; Fri, 12 Dec 2014 00:48:21 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 92FBD489875; Fri, 12 Dec 2014 00:48:15 +0000 (UTC) Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10032) with ESMTP id ITezRlHgQ0Hn; Fri, 12 Dec 2014 00:48:14 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 8ED5E489898; Fri, 12 Dec 2014 00:48:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at bsdtec.net Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10026) with ESMTP id 8msvaP_GD1FW; Fri, 12 Dec 2014 00:48:14 +0000 (UTC) Received: from [192.168.1.111] (bsdtec.plus.com [84.92.41.141]) by mx.bsdtec.net (Postfix) with ESMTPSA id D2DFB489875; Fri, 12 Dec 2014 00:48:13 +0000 (UTC) Message-ID: <1418345292.3561.10.camel@atlas.lerwick.hopto.org> Subject: Re: RFT: Please help testing the llvm/clang 3.5.0 import From: Craig Butler To: freebsd-sparc64@freebsd.org Date: Fri, 12 Dec 2014 00:48:12 +0000 In-Reply-To: <8598B1D4-5485-426F-B6D6-22BF26AC5FE1@FreeBSD.org> References: <8598B1D4-5485-426F-B6D6-22BF26AC5FE1@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Dimitry Andric X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2014 00:48:22 -0000 On Fri, 2014-11-28 at 22:03 +0100, Dimitry Andric wrote: > Hi, > > We're working on updating llvm, clang and lldb to 3.5.0 in head. This > is quite a big update again, and any help with testing is appreciated. > > To try this out, ensure you have good backups or snapshots, then build > world and kernel from the projects/clang350-import branch [1]. Please > use a Subversion mirror [2], if you are able to. > > The status of this project branch is as follows: > > * Since llvm/clang 3.5.0 requires C++11 support, you can only build it > when your current installation has both clang (>= 3.3) and libc++ > installed. E.g., FreeBSD 10.x and later should work out of the box, > but for FreeBSD 9.x you should first build libc++ with clang, and > install it. Older versions of FreeBSD will not work. > * Both the i386 and amd64 arches are expected to work completely, e.g. > they should build, install and run without any problems. For some > less-used parts of world and kernel, you might encounter warnings > that are not fixed yet. To ignore those, you can use NO_WERROR, but > please create bug reports for them. > * The different ARM builds still need work, any help would be greatly > appreciated there. > * PowerPC (32 and 64 bit) will most likely not work yet, until we can > figure out how to build parts of the tree with clang, other parts with > gcc. > * Sparc64 might work at least partially, but has not been tested on > real hardware. > * A ports exp-run has been requested [3]. > > The tentative goal is to be able to import this new version before the > end of the year, hopefully before Christmas. > > If you encounter issues, please report them in FreeBSD Bugzilla [4], > unless you think it is better discussed on one of the appropriate > mailing lists. > > -Dimitry > > [1] svn://svn.freebsd.org/base/projects/clang350-import > [2] https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn.html#svn-mirrors > [3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195480 > [4] https://bugs.freebsd.org/submit/ > Hello List Has anybody else tried to get clang 3.5.0 running on a sparc64 box ?? I am not getting very far, make toolchain and buildworld is failing for me on a 10.1-RELEASE (plus clang34) trying to build a clang350-import src. Errors like; /usr/src/lib/libc/../../include/pthread.h:197:7: error: expected function body after function declarator __requires_exclusive(*__mutex); ^ I am currently working with Roman Divacky on an out of tree llvm/clang build, also failing at the moment with; fatal error: error in backend: Invalid register name global variable Has anyone replicated this, or (hopefully!!) got further ? Kind Regards Craig Butler From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 13 06:13:23 2014 Return-Path: Delivered-To: freebsd-sparc64@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 EDD4861A for ; Sat, 13 Dec 2014 06:13:23 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D4DA7D5D for ; Sat, 13 Dec 2014 06:13:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBD6DN0W080611 for ; Sat, 13 Dec 2014 06:13:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 195934] clang350-import branch not working on sparc64 Date: Sat, 13 Dec 2014 06:13:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Infrastructure X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: craig001@lerwick.hopto.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 06:13:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 craig001@lerwick.hopto.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-sparc64@FreeBSD.org -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 13 06:36:23 2014 Return-Path: Delivered-To: freebsd-sparc64@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 EF2CBBD for ; Sat, 13 Dec 2014 06:36:23 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D67F9F0A for ; Sat, 13 Dec 2014 06:36:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBD6aNuN016556 for ; Sat, 13 Dec 2014 06:36:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 194473] clang built kernels failing to boot on sparc64 Date: Sat, 13 Dec 2014 06:36:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: craig001@lerwick.hopto.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 06:36:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194473 --- Comment #1 from craig001@lerwick.hopto.org --- Created attachment 150537 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150537&action=edit proposed clang350-import llvm patch Roman Divacky has suggested to use this llvm patch against clang350-import branch to get clang built kernels booting. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 13 06:37:56 2014 Return-Path: Delivered-To: freebsd-sparc64@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 9118C13E for ; Sat, 13 Dec 2014 06:37:56 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 78C47F1A for ; Sat, 13 Dec 2014 06:37:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBD6buwL017040 for ; Sat, 13 Dec 2014 06:37:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 194473] clang built kernels failing to boot on sparc64 Date: Sat, 13 Dec 2014 06:37:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: craig001@lerwick.hopto.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 06:37:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194473 --- Comment #2 from craig001@lerwick.hopto.org --- unfortunately I can't get clang350-import src building on a 10.1-RELEASE sparc64 box. I have opened up a separate PR for this issue; https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 -- You are receiving this mail because: You are on the CC list for the bug.