From owner-freebsd-current@FreeBSD.ORG Wed Jul 25 08:04:05 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A365106566B; Wed, 25 Jul 2012 08:04:05 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0EAD38FC0C; Wed, 25 Jul 2012 08:04:04 +0000 (UTC) Received: from [192.168.0.2] (cpc2-cmbg15-2-0-cust445.5-4.cable.virginmedia.com [86.26.13.190]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id q6P841tK033900 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Wed, 25 Jul 2012 08:04:03 GMT (envelope-from theraven@freebsd.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: <20120724224338.GZ2676@deviant.kiev.zoral.com.ua> Date: Wed, 25 Jul 2012 09:03:58 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <50097BF0.9010103@FreeBSD.org> <20120721211628.GE2676@deviant.kiev.zoral.com.ua> <6006581B-6B1C-4DFB-8662-3EB35869CA5F@FreeBSD.org> <20120722180119.GJ2676@deviant.kiev.zoral.com.ua> <20120723191856.GR2676@deviant.kiev.zoral.com.ua> <088BF877-50E6-42C5-98EF-DAB0FA52C348@freebsd.org> <05368BFA-F5F6-49D4-BE63-7C9360E54F54@FreeBSD.org> <20120724224338.GZ2676@deviant.kiev.zoral.com.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1278) Cc: Kim Culhan , freebsd-current@freebsd.org, Dimitry Andric Subject: Re: -current build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 08:04:05 -0000 On 24 Jul 2012, at 23:43, Konstantin Belousov wrote: > As kan rightfully notes, the assumption that &%fs:0 =3D=3D *%fs:0 = holds for > userspace on amd64, and the same is true for %gs userspace on i386. > The change you committed to clang/llvm/whatever it called just breaks > useful optimization for FreeBSD. If you can suggest a way of differentiating the kernel and userspace = compilation targets, then I would be happy to hear it and will make the = appropriate change. Until then, I would rather have slightly = sub-optimal code in userspace than incorrect code in kernelspace. > Sigh Very helpful, thank you. David=