Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2012 20:11:28 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        David Wolfskill <david@catwhisker.org>, stable@freebsd.org
Subject:   Re: Problem in sys/boot/i386/cdboot/cdboot.S with clang @237770
Message-ID:  <4FEDEFD0.2030604@FreeBSD.org>
In-Reply-To: <20120629133430.GK10247@albert.catwhisker.org>
References:  <20120629133430.GK10247@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FEDEFD0.2030604>