From owner-freebsd-questions@FreeBSD.ORG Sun Oct 28 16:43:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 181269BC for ; Sun, 28 Oct 2012 16:43:30 +0000 (UTC) (envelope-from cuicui@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id BB6AF8FC0A for ; Sun, 28 Oct 2012 16:43:29 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so5674745vcb.13 for ; Sun, 28 Oct 2012 09:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=k/IcnbYsR6GICVFKpBkxSlQiZMi1KIBt3/cfb1ybtRc=; b=DGDNbj+rpg4jB/QiMMw7Jd2p2RR346Uyu5xyCE6guNc1+1+o/TMoo1dOPesXbW4tyt WGNZMI2wwTlTBf2ONB4e0nwxX5zPDajvsYkfRc1T9QidUO9hIp5JP/cUn8uNYmPZMxYU qtL9gBbJa9DDskojKUf6bixkmdE48E80bz/ZYF31/xfRtDP4bY0KaseiwBsw2cWQ+2UW ItOypAorbKa/WtMBU9l4+zXnVUiurr9gNkIlM77X4jieK0jNak2dBXTsSbwFnNts247+ x2MI408Lps/5y6kaakPtcc1T1sqH//DxWzd8Szk45VxH72bHkiU+xNSJ3sfB/zBTsvJk xd7A== MIME-Version: 1.0 Received: by 10.221.12.9 with SMTP id pg9mr5413071vcb.68.1351442608905; Sun, 28 Oct 2012 09:43:28 -0700 (PDT) Received: by 10.220.52.204 with HTTP; Sun, 28 Oct 2012 09:43:28 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Oct 2012 09:43:28 -0700 Message-ID: Subject: Re: 9.1-RC2: clang can no longer build a kernel that boots From: Mike Cui To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 16:43:30 -0000 Let me clarify. If I build the 9.1-RC2 kernel using the clang binary from 9.0-RELEASE, it boots fine. On Sun, Oct 28, 2012 at 9:41 AM, Mike Cui wrote: > I'm seeing that on 9.1-RC2 (i386), clang can no longer build a kernel > that boots. Any kernel I build would get stuck at "Timecounters tick > every 1.000 msec". However, building the same kernel with gcc has no > problems. Also, if I build the kernel with clang from 9.0-RELEASE, it > also works fine. I tried this with both my custom kernel config as > well as GENERIC, and I'm seeing the same thing. > > Anyone else seeing this?