From owner-freebsd-stable@FreeBSD.ORG Fri Jun 29 13:34:31 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A432106566C for ; Fri, 29 Jun 2012 13:34:31 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 057BE8FC17 for ; Fri, 29 Jun 2012 13:34:30 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q5TDYU8e029720 for ; Fri, 29 Jun 2012 06:34:30 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q5TDYUwe029719 for stable@freebsd.org; Fri, 29 Jun 2012 06:34:30 -0700 (PDT) (envelope-from david) Date: Fri, 29 Jun 2012 06:34:30 -0700 From: David Wolfskill To: stable@freebsd.org Message-ID: <20120629133430.GK10247@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , stable@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HTLCc13+3hfAZ6SL" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: 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 13:34:31 -0000 --HTLCc13+3hfAZ6SL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running on: FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #200 237701M: T= hu Jun 28 06:31:33 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr/src= /sys/CANARY i386 I was able to build FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #201 237770M: F= ri 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=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-= sse3 -msoft-float -std=3Dgnu99 -Qunused-arguments -c /usr/src/sys/boot/i= 386/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 |=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 1 error (I've been doing these "parallel gcc/clang" builds of stable/9 on a daily basis for a few weeks, now; thus is the first time I've encountered a problem like this.) More complete logs are available for interested folks -- I do the builds within script(1). Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --HTLCc13+3hfAZ6SL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/truUACgkQmprOCmdXAD1hdgCfeR9Kp2RcE+5Hr9s/gAUK3ef9 uLgAni3vkxZhUqGkbtMkgbw+ZPuDVe1e =Xcf/ -----END PGP SIGNATURE----- --HTLCc13+3hfAZ6SL--