Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Mar 2012 15:15:48 +0100
From:      "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: Migrating from FreeBSD 9.0-STABLE/amd to 10.0-CURRENT/amd64?
Message-ID:  <4F576D94.8030909@mail.zedat.fu-berlin.de>
In-Reply-To: <4F5660A5.60707@FreeBSD.org>
References:  <4F5636AA.2060703@mail.zedat.fu-berlin.de> <4F5660A5.60707@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 03/06/12 20:08, Dimitry Andric wrote:
> On 2012-03-06 17:09, O. Hartmann wrote:
> ...
>> Well, I tried to switch by doing a "svn switch" in /usr/src, building a
>> kernel, restarting the kernel in single user mode and then trying to
>> build the world. At some point in /usr/src/share (I forgot were exactly,
>> it was somewhere with lots of locale stuff), the buildworld process
>> fails so I couldn't build a world.
> 
> Try doing a fresh checkout instead.  And don't try to build the latest
> head with clang, it's unfortunately broken at the moment.  Use r232569
> if you want to use clang.

Mmmmhhhh .... I still end up here building "buildworld":

5 warnings generated.
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp
clang  -m32 -c boot2.s
clang -Os  -fno-guess-branch-probability  -fomit-frame-pointer
-fno-unit-at-a-time  -mno-align-long-strings  -mrtd  -mregparm=3
-DUSE_XREAD  -DUFS1_AND_UFS2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3
 -DSIOSPD=9600  -I/usr/src/sys/boot/i386/boot2/../../common
-I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall -Waggregate-return
-Wbad-function-cast -Wcast-align  -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow
-Wstrict-prototypes -Wwrite-strings  -Winline --param
max-inline-insns-single=100  -mllvm -stack-alignment=8 -mllvm
-inline-threshold=3  -mllvm -enable-load-pre=false -ffreestanding
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -msoft-float -m32 -march=i386 -std=gnu99     -m32 -c
/usr/src/sys/boot/i386/boot2/sio.S
clang: warning: the clang compiler does not support '-fno-unit-at-a-time'
clang: warning: argument unused during compilation:
'-fno-guess-branch-probability'
clang: warning: argument unused during compilation:
'-mno-align-long-strings'
clang: warning: argument unused during compilation: '--param
max-inline-insns-single=100'
clang: warning: argument unused during compilation:
'-mpreferred-stack-boundary=2'
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=15a1 text=0 data=0 bss=0 entry=0
output: fmt=bin size=1e31 text=200 data=1c31 org=0 entry=0
-49 bytes available
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBAgAGBQJPV22aAAoJEOgBcD7A/5N89iMH+wUayj7NFG7awS6pVDnB8Unv
MvZSsuld835KamEe3Db2zthYon59DDv4KveIt/4BE0i+/NZULd/xYGgsc8IS3gDs
KmYYBkxpL+xs5IR6Io9v5ChO+6UTSLchgtpkM1d0a73tTAb6rHCMOr/fH/kkKFpw
LI6mdXaWZFKHLs/YSLFOLo8qnUNQmdN8TiKhAQuAH8IQf+Vmzcz57lkhRiS5WXRy
ynkvt0BKryR6obaFSEEAI8N3Y1cv7U8rSj9JnPav86VEWA4n4mWXYaeDBxHAAZ5D
mbNYaRPAyuH+RaeXfTAWmGMEJJ0cVFmEIZYV6PRwCq03jDdwOEtYj2KEautQnFY=
=xQ5s
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F576D94.8030909>