From owner-freebsd-arm@freebsd.org Mon Oct 17 21:57:09 2016 Return-Path: Delivered-To: freebsd-arm@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 981F3C169ED for ; Mon, 17 Oct 2016 21:57:09 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 7C9D086E for ; Mon, 17 Oct 2016 21:57:09 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=limiting-factor.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1bwFu1-000DQx-MO; Mon, 17 Oct 2016 14:57:02 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: Re: XDEV fix From: Oleksandr Tymoshenko X-Priority: 3 In-Reply-To: Date: Mon, 17 Oct 2016 14:56:32 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <685F6317-A439-48A0-9D0C-07C0C47E1D99@bluezbox.com> References: To: Shankar Giri Venkita Giri X-Mailer: Apple Mail (2.3226) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Oct 16, 2016, at 11:28 PM, Shankar Giri Venkita Giri wrote: > > XDEV has been broken for a while in FreeBSD 11. As of today, I had to perform minimal patches to get it to build successfully. Can someone review this and try it out to make sure? > Also clang being a native cross-compiler, I was wondering if XDEV had specific advantages. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 21:57:09 -0000 > On Oct 16, 2016, at 11:28 PM, Shankar Giri Venkita Giri = wrote: >=20 > XDEV has been broken for a while in FreeBSD 11. As of today, I had to = perform minimal patches to get it to build successfully. Can someone = review this and try it out to make sure? > Also clang being a native cross-compiler, I was wondering if XDEV had = specific advantages. Hi Shankar, Thanks for submitting the patch. But I am afraid it fixes symptoms, and not the cause of the problem. Actually there are multiple problems. clang-based xdev is broken due to this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213217 gcc-based xdev (I've just checked sparc64) is broken for another reason I have no idea about so far. Both failures are in sysroot part of xdev (libraries) Some time ago I suggested to get rid of sysroot part and reduce it down to cross-toolchain: compiler + binutils. Although system clang in theory can act as a cross-comipler it's useless without binutils: = https://lists.freebsd.org/pipermail/freebsd-arch/2016-October/018000.html Since you're probably the only person other than me who uses xdev I am interested in hearing about your use case. May be it's easier to move cross-toolchain part to packages and get rid of xdev altogether.=20=