From owner-freebsd-current@FreeBSD.ORG Fri May 11 19:57:17 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 6F2FF10657E7; Fri, 11 May 2012 19:57:17 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 214F28FC08; Fri, 11 May 2012 19:57:17 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SSvxk-0004AJ-9E>; Fri, 11 May 2012 21:57:16 +0200 Received: from e178023079.adsl.alicedsl.de ([85.178.23.79] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SSvxk-0004AP-3L>; Fri, 11 May 2012 21:57:16 +0200 Message-ID: <4FAD6F1B.6060007@zedat.fu-berlin.de> Date: Fri, 11 May 2012 21:57:15 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: Andriy Gapon References: <4FAD4F67.7030400@zedat.fu-berlin.de> <4FAD6DF0.6020208@FreeBSD.org> In-Reply-To: <4FAD6DF0.6020208@FreeBSD.org> X-Enigmail-Version: 1.5pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1690BF4AC291A6D56A884C02" X-Originating-IP: 85.178.23.79 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 19:57:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1690BF4AC291A6D56A884C02 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. >=20 > Thank you. Unfortunately I do not see the "following error" :-) >=20 =2E.. it WAS this error, one in cdboot.S: [...] clang -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing -march=3Dnative -I/usr/src/sys/boot/i386/cdboot/../common -ffreestanding -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -m32 -march=3Di386 -std=3Dgnu99 -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 |=3D ^ /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 --------------enig1690BF4AC291A6D56A884C02 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPrW8bAAoJEOgBcD7A/5N8gH8H/jDP3llkVO8/RaIvDCRSOIml gRmmmeY1G4yAMgfL6qNUvtNu6ogZUb3e5Q9NEXLxmu/TFhdvXu/Ckt0eC0uQ0B+E DuI+wr9MseUAA+3nLku09tWhuSCaGlwBufKsMBePimXodoEB7m/fyTvFPLtXvLFR t4rdfUuysXwGhRACUZd2Qy63IvUcJewaCshTvOn5VHqQ8ljoRmvaZ8z7u9ydqs2J P/nXtKLUqB/O8zi3u4qNZeYQUuxqmIZyqOs2c9b2bLLWiAOGK1IHfgeVuiAQ8ksU nCkDJh55VboqiDbsZWtw1DEEzG6UgvlNJTIgqPN70o5C5bSpipop4Be8VeXaxCQ= =xMan -----END PGP SIGNATURE----- --------------enig1690BF4AC291A6D56A884C02--