From owner-freebsd-current@FreeBSD.ORG Fri May 11 20:05:38 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9ACFD1065670 for ; Fri, 11 May 2012 20:05:38 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id DF7D08FC12 for ; Fri, 11 May 2012 20:05:37 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA22683; Fri, 11 May 2012 23:05:33 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SSw5l-0004wQ-LH; Fri, 11 May 2012 23:05:33 +0300 Message-ID: <4FAD710D.3020605@FreeBSD.org> Date: Fri, 11 May 2012 23:05:33 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: "O. Hartmann" References: <4FAD4F67.7030400@zedat.fu-berlin.de> <4FAD6DF0.6020208@FreeBSD.org> <4FAD6F1B.6060007@zedat.fu-berlin.de> In-Reply-To: <4FAD6F1B.6060007@zedat.fu-berlin.de> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Garrett Cooper , Current FreeBSD Subject: Re: can not build world or kernel: /usr/src/sys/boot/i386/cdboot/cdboot.S:597:10: error: .code16 not supported yet 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: Fri, 11 May 2012 20:05:38 -0000 on 11/05/2012 22:57 O. Hartmann said the following: > On 05/11/12 21:52, Andriy Gapon wrote: >> on 11/05/2012 20:50 Garrett Cooper said the following: >>> On Fri, May 11, 2012 at 10:41 AM, O. Hartmann >>> wrote: >>>> I can not build FreeBSD 10.0-CURRENT/amd64, the build terminates with >>>> the following error when building with CLANG either worl or kernel. >>>> >>>> Is there something I missed? How to solve? >>> >>> Andriy CCed. >> >> Thank you. Unfortunately I do not see the "following error" :-) >> > > ... it WAS this error, one in cdboot.S: Yeah, I think that dim@ has fixed this. Sorry for being clang-inconsiderate. (I think that we need a clang tinderbox). > [...] clang -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing > -march=native -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 -m32 -march=i386 -std=gnu99 -Qunused-arguments -m32 > -c /usr/src/sys/boot/i386/cdboot/cdboot.S > /usr/src/sys/boot/i386/cdboot/cdboot.S:112:10: error: .code16 not > supported yet .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 |= ^ > /usr/src/sys/boot/i386/cdboot/cdboot.S:272:10: error: .code16 not > supported yet .code16 ^ /usr/src/sys/boot/i386/cdboot/cdboot.S:597:10: > error: .code16 not supported yet .code16 ^ *** [cdboot.o] Error code 1 > > Stop in /usr/src/sys/boot/i386/cdboot. *** [all] Error code 1 > > Stop in /usr/src/sys/boot/i386. *** [all] Error code 1 > > Stop in /usr/src/sys/boot. *** [all] Error code 1 > > Stop in /usr/src/sys. *** [all] Error code 1 > > Stop in /usr/src. *** [all] Error code 1 > -- Andriy Gapon