Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2011 16:08:05 +0800
From:      "datastream datastream.freecity" <datastream.freecity@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        FreeBSD-current Current <freebsd-current@freebsd.org>
Subject:   Re: Can't update CLang-based system
Message-ID:  <AANLkTinbe-GfUR=8gjTcmPE2Dwe%2BuMma_Ekr%2BEWkvhiQ@mail.gmail.com>
In-Reply-To: <4D6B54F6.2000804@FreeBSD.org>
References:  <11C58791-9103-4C0E-8B35-EE46A4A6D3D4@kientzle.com> <4D6B54F6.2000804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Me too.
#make buildkernel
....
clang -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh G9laptop
/usr/local/bin/svnversion
clang -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone
 -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector   vers.c
clang: warning: argument unused during compilation: '-frename-registers'
clang: warning: argument unused during compilation: '-mfpmath=387'
linking kernel


load: 0.01  cmd: ctfmerge 33795 [umtxn] 1241.95r 0.00u 0.03s 0% 428k
load: 0.20  cmd: ctfmerge 33795 [umtxn] 1646.21r 0.00u 0.03s 0% 428k
load: 0.18  cmd: ctfmerge 33795 [umtxn] 1650.68r 0.00u 0.03s 0% 428k
load: 0.14  cmd: ctfmerge 33795 [umtxn] 2697.40r 0.00u 0.03s 0% 428k
load: 0.12  cmd: ctfmerge 33795 [umtxn] 3371.61r 0.00u 0.03s 0% 428k
load: 0.13  cmd: ctfmerge 33795 [umtxn] 3651.02r 0.00u 0.03s 0% 428k
load: 0.51  cmd: ctfmerge 33795 [umtxn] 5262.95r 0.00u 0.03s 0% 428k

On Mon, Feb 28, 2011 at 3:55 PM, Doug Barton <dougb@freebsd.org> wrote:

> On 02/27/2011 19:30, Tim Kientzle wrote:
>
>> I have a FreeBSD-CURRENT AMD64 system here that was last updated at
>> r215029.
>>
>> I'm trying to update it to r219079, but the build fails in lib/libz when
>> it tries to compile gvmat64.S.  It looks like the Makefile here has a
>> workaround for clang on AMD64, but it doesn't seem to actually be working in
>> this case.
>>
>
> I have a different problem on r219092. Everything builds find, but "linking
> kernel.debug" hangs forever. It can't even be killed with ^C. My existing
> system is r218985M, which was built with clang. This is my first time trying
> to build a system with clang ON a system that was itself built with clang
> (if that makes sense).
>
>
> Doug
>
> --
>
>        Nothin' ever doesn't change, but nothin' changes much.
>                        -- OK Go
>
>        Breadth of IT experience, and depth of knowledge in the DNS.
>        Yours for the right price.  :)  http://SupersetSolutions.com/
>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinbe-GfUR=8gjTcmPE2Dwe%2BuMma_Ekr%2BEWkvhiQ>