From owner-freebsd-current@FreeBSD.ORG Fri Feb 1 17:07:44 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C1A32EDE for ; Fri, 1 Feb 2013 17:07:44 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC22223 for ; Fri, 1 Feb 2013 17:07:44 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r11H7bUs076671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 1 Feb 2013 09:07:37 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r11H7bd1076670 for current@FreeBSD.org; Fri, 1 Feb 2013 09:07:37 -0800 (PST) (envelope-from jmg) Date: Fri, 1 Feb 2013 09:07:37 -0800 From: John-Mark Gurney To: current@FreeBSD.org Subject: -current broken on pre-PPro machines (w/ work around) Message-ID: <20130201170737.GP1410@funkthat.com> Mail-Followup-To: current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Fri, 01 Feb 2013 09:07:37 -0800 (PST) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 01 Feb 2013 17:07:44 -0000 Just a warning to others so they don't hit the same issue I did, and spend time trying to figure it out. clang (in -current) does not compile code properly for pre-PPro machines... Compiled output includes the cmov instructions... This affects both loader, and kernel, so if you update loader, you'll see a few spins, and the machine will probably reset... if you use an older loader, your kernel will fault a/ an illegal instruction... If you want to run -current on one of these machines, make sure you set WITHOUT_CLANG_IS_CC= for *BOTH* buildworld and installworld so that you use gcc instead of clang... A bug has been filed: http://llvm.org/bugs/show_bug.cgi?id=15115 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."