From owner-freebsd-i386@FreeBSD.ORG Fri Jun 29 18:10:06 2012 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE40410657CD for ; Fri, 29 Jun 2012 18:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A4A78FC19 for ; Fri, 29 Jun 2012 18:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5TIA59Y091399 for ; Fri, 29 Jun 2012 18:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5TIA5kL091398; Fri, 29 Jun 2012 18:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 29 Jun 2012 18:10:05 GMT Resent-Message-Id: <201206291810.q5TIA5kL091398@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Wolfskill Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55C37106566C for ; Fri, 29 Jun 2012 18:01:36 +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 15E0A8FC12 for ; Fri, 29 Jun 2012 18:01:36 +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 q5TI1TCP035146 for ; Fri, 29 Jun 2012 11:01:29 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q5TI1Tsv035145; Fri, 29 Jun 2012 11:01:29 -0700 (PDT) (envelope-from david) Message-Id: <201206291801.q5TI1Tsv035145@albert.catwhisker.org> Date: Fri, 29 Jun 2012 11:01:29 -0700 (PDT) From: David Wolfskill To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: i386/169550: stable/9 @237770 buildworld breaks with clang X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Wolfskill List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 18:10:06 -0000 >Number: 169550 >Category: i386 >Synopsis: stable/9 @237770 buildworld breaks with clang >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 29 18:10:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: David Wolfskill >Release: FreeBSD 9.0-STABLE i386 >Organization: Wolfskill & Dowling Residence >Environment: System: FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #200 237701M: Thu Jun 28 06:31:33 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 >Description: Attempting an in-place source update to an i386 system running the above, after updating sources to r237770, "make buildworld" succeeds when using gcc as CC, but fails for CC=clang: ===> sys/boot/i386/cdboot (all) clang -O2 -pipe -I/usr/src/sys/boot/i386/cdboot/../common -ffreestanding -mpref erred-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 /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 requ ire 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 1 error *** [all] Error code 2 1 error *** [all] Error code 2 1 error *** [all] Error code 2 1 error *** [sys.all__D] Error code 2 >How-To-Repeat: As described above. Logs are available. (I had first tried my usual "make -j4 -DNOCLEAN buildworld" and when that failed, I tried "make -j4 buildworld"; the failure was the same in each case.) For what it's worth, I have been tracking stable/9 daily since it branched; during BSDCan, I (also) started tracking stable/9 with clang (vs. the gcc default). (I have & use 4 bootable slices on the laptop; each slice has its own / and /usr. I also maintain a local private mirror of the FreeBSD SVN repo on it; the /usr/src working copies for each slice are thus updated separately, but since the mirror is only updated overnight, there's a fair degree of confidence that the only salient difference here is CC=clang vs. CC=gcc.) (The other 2 slices are for stable/8 and head.) >Fix: >Release-Note: >Audit-Trail: >Unformatted: