From owner-freebsd-stable@FreeBSD.ORG Fri Jun 29 18:11:35 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D352B106566B for ; Fri, 29 Jun 2012 18:11:35 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8B1608FC1B for ; Fri, 29 Jun 2012 18:11:35 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 3076A5C59; Fri, 29 Jun 2012 20:11:29 +0200 (CEST) Message-ID: <4FEDEFD0.2030604@FreeBSD.org> Date: Fri, 29 Jun 2012 20:11:28 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120619 Thunderbird/14.0 MIME-Version: 1.0 To: David Wolfskill , stable@freebsd.org References: <20120629133430.GK10247@albert.catwhisker.org> In-Reply-To: <20120629133430.GK10247@albert.catwhisker.org> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Problem in sys/boot/i386/cdboot/cdboot.S with clang @237770 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 18:11:35 -0000 On 2012-06-29 15:34, David Wolfskill wrote: ... > FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #201 237770M: Fri Jun 29 04:46:48 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 > > OK using gcc, but with clang (separate bootable slice), I get whines and > a failure: > > clang -O2 -pipe -I/usr/src/sys/boot/i386/cdboot/../common -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -std=gnu99 -Qunused-arguments -c /usr/src/sys/boot/i386/cdboot/cdboot.S > .code16 > ^ > /usr/src/sys/boot/i386/cdboot/cdboot.S:144:3: error: ambiguous instructions require an explicit suffix (could be 'orb', 'orw', 'orl', or 'orq') > or $0x1,0x8(%bx) # kargs->bootflags |= > ^ I had not merged r235281 from head to stable/9 yet. Please try again with r237812.