Re: Can't update CLang-based system

From: datastream datastream.freecity <datastream.freecity_at_gmail.com>
Date: Mon, 28 Feb 2011 16:08:05 +0800
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_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Mon Feb 28 2011 - 07:08:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC