From owner-freebsd-stable@FreeBSD.ORG Wed Nov 14 14:02:14 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B628110 for ; Wed, 14 Nov 2012 14:02:14 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 12FA18FC0C for ; Wed, 14 Nov 2012 14:02:13 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so568071vba.13 for ; Wed, 14 Nov 2012 06:02:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=aclwJ/6vnpt7+hs+pWKKXCn9i+LmaNbS3IOBylqHnmM=; b=nPeb/e4AFeHPkbkyH9uXNng8oxeO5FmHctlbwxoxA83P8m6WQ4xQcjQ3BDZz7UB90L HBHdLewpE6d1ApmgsmCSeW6WJk9qrnN7Sd3f3TztEuaRyidvdix8Lqy799jc4eq1UJL0 dM2oTONP9LV+YLDSwVuRGfLfP2QxO2wzCG/+coSavpkpxcZ4WAvVGG1Slgf5aLS+mYRx W/A+6//FFSwweEf9zETkwzcX6U9w15wFCePAtOVuj64T4K4q9D2zj6JcZbjDe4k+pGpG pTuhgSBxuiI2SFAY1f47AFKRzTEKVpZ92qXVL5vAqquVqw1sf/hHEYSxfjOTXOQ502+r cIPw== MIME-Version: 1.0 Received: by 10.220.16.4 with SMTP id m4mr11013781vca.43.1352901733333; Wed, 14 Nov 2012 06:02:13 -0800 (PST) Received: by 10.58.178.234 with HTTP; Wed, 14 Nov 2012 06:02:12 -0800 (PST) In-Reply-To: <50A390BE.1090702@FreeBSD.org> References: <50A390BE.1090702@FreeBSD.org> Date: Wed, 14 Nov 2012 22:02:12 +0800 Message-ID: Subject: Re: Compilation error while compiling FreeBSD9-STABLE with Clang From: Alie Tan To: Dimitry Andric X-Gm-Message-State: ALoCoQm/5E1mRVNzlCwLFf2KkB+CWFdJwGaNwDpFE6MCHFkDkNGu4nlXLOLwutis7nFCdZXp0GHB Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 14:02:14 -0000 Hi Mine is already the latest. I slready synched my src today. Seems r242907 only for i386? Cmiiw. Regards, Alie T On Wednesday, November 14, 2012, Dimitry Andric wrote: > On 2012-11-14 04:05, Alie Tan wrote: >> >> I got compilation error while compiling FreeBSD9-STABLE with Clang: >> -m32 -c /usr/src/sys/boot/i386/boot2/sio.S >> clang: warning: the clang compiler does not support '-fno-unit-at-a-time' >> ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o >> boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o >> sio.o >> objcopy -S -O binary boot2.out boot2.bin >> btxld -v -E 0x2000 -f bin -b >> /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o >> boot2.ld -P 1 boot2.bin >> kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 >> client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0 >> output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0 >> -5 bytes available >> *** [boot2] Error code 1 > > Please update your source tree to at least r242907. >