From owner-freebsd-stable@FreeBSD.ORG Thu Nov 15 01:41:00 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 E3375A00 for ; Thu, 15 Nov 2012 01:40:59 +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 8C0D48FC0C for ; Thu, 15 Nov 2012 01:40:59 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so1472161vba.13 for ; Wed, 14 Nov 2012 17:40:53 -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=Azx6bbNa3CA4AdJm15SyQR1b8/UuaITFJ3eaqFLD4Zk=; b=VkfKWR2fZ6/+U1dK5Xl2SSCpIkKmpKiAi5eC1ZSYtySycYHJLQ8ntEGKfiUZf41S3G rY8bLAhmo6Q2PMnXW7lMrDW/XBT2AD6Uad550xWkCgwKkEjzr2/UChr3SzJ76u+L4GeY cyycq96XGzxO88Ef4mJEpp028eLlev+P4/shqKbuPGoaAuVS8IpTZ78vKxPnfkKHagpb ullfYPu2Txkjz6F55QuWGiYTOzdgWCKz4vIwxYjqoGbM+qGr3ONM9b55noiBlzTDdxd0 rOpNb7/QadnT62n5Wcw8qqzxGoqhMH7r9G/HeyAABMVjh5I9BwH2IwPVy7wgo+klG3no 54MQ== MIME-Version: 1.0 Received: by 10.220.229.133 with SMTP id ji5mr13596012vcb.51.1352943652862; Wed, 14 Nov 2012 17:40:52 -0800 (PST) Received: by 10.58.178.234 with HTTP; Wed, 14 Nov 2012 17:40:52 -0800 (PST) In-Reply-To: References: <50A390BE.1090702@FreeBSD.org> Date: Thu, 15 Nov 2012 09:40:52 +0800 Message-ID: Subject: Re: Compilation error while compiling FreeBSD9-STABLE with Clang From: Alie Tan To: Alexandre X-Gm-Message-State: ALoCoQmybC2fATGj9nrakvQnrZbUiaKp+79/J0oaBetX6/0fBrXLDTpXIpxvOffrxxemD+I5q1Q4 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-stable@freebsd.org" , Dimitry Andric 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: Thu, 15 Nov 2012 01:41:00 -0000 Hi, Strange, this issue happens when I use cvsup only. Did I miss something here? Is FreeBSD CVS still syncing with SVN or otherwise? Regards, Alie T On Wed, Nov 14, 2012 at 10:41 PM, Alie Tan wrote: > Ok thanks. > > I will try again and delete the src folder before making any compilation. > > Regards, > Alie Tan > > On Wednesday, November 14, 2012, Alexandre wrote: > > On Wed, Nov 14, 2012 at 3:02 PM, Alie Tan wrote: > >> 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. > >>> > > Hi, > > I encountered the problem, but has been resolved yesterday. > > > > # uname -a > > 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r242957: Tue Nov 13 15:24:22 > > CET 2012 root@DL380G4:/usr/obj/usr/src/sys/GENERIC amd64 > >