Re: Migrating from FreeBSD 9.0-STABLE/amd to 10.0-CURRENT/amd64?
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4C4031A4D0EE757566B331A4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
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 exactl=
y,
>> it was somewhere with lots of locale stuff), the buildworld process
>> fails so I couldn't build a world.
>=20
> 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=3D3
-DUSE_XREAD -DUFS1_AND_UFS2 -DFLAGS=3D0x80 -DSIOPRT=3D0x3f8 -DSIOFMT=3D=
0x3
-DSIOSPD=3D9600 -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=3D100 -mllvm -stack-alignment=3D8 -mllvm
-inline-threshold=3D3 -mllvm -enable-load-pre=3Dfalse -ffreestanding
-mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -msoft-float -m32 -march=3Di386 -std=3Dgnu99 -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=3D100'
clang: warning: argument unused during compilation:
'-mpreferred-stack-boundary=3D2'
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=3D1.02 size=3D690 load=3D9000 entry=3D9010 map=3D16M pgctl=3D=
1:1
client: fmt=3Dbin size=3D15a1 text=3D0 data=3D0 bss=3D0 entry=3D0
output: fmt=3Dbin size=3D1e31 text=3D200 data=3D1c31 org=3D0 entry=3D0
-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.
--------------enig4C4031A4D0EE757566B331A4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----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-----
--------------enig4C4031A4D0EE757566B331A4--
討論串 (同標題文章)
完整討論串 (本文為第 10 之 10 篇):