Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2012 19:41:59 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   can not build world or kernel: /usr/src/sys/boot/i386/cdboot/cdboot.S:597:10: error: .code16 not supported yet
Message-ID:  <4FAD4F67.7030400@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6F3414C82BEBB3392CBE1EF0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I can not build FreeBSD 10.0-CURRENT/amd64, the build terminates with
the following error when building with CLANG either worl or kernel.

Is there something I missed? How to solve?

regards,
Oliver




clang -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing
-march=3Dnative -I/usr/src/sys/boot/i386/cdboot/../common -ffreestanding
-mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -msoft-float -m32 -march=3Di386 -std=3Dgnu99 -Qunused-arguments=

 -m32 -c /usr/src/sys/boot/i386/cdboot/cdboot.S
/usr/src/sys/boot/i386/cdboot/cdboot.S:112:10: error: .code16 not
supported yet
  .code16
         ^
/usr/src/sys/boot/i386/cdboot/cdboot.S:144:3: error: ambiguous
instructions require an explicit suffix (could be 'orb', 'orw', 'orl',
or 'orq')
  or $0x1,0x8(%bx) # kargs->bootflags |=3D
  ^
/usr/src/sys/boot/i386/cdboot/cdboot.S:272:10: error: .code16 not
supported yet
  .code16
         ^
/usr/src/sys/boot/i386/cdboot/cdboot.S:597:10: error: .code16 not
supported yet
  .code16
         ^
*** [cdboot.o] Error code 1

Stop in /usr/src/sys/boot/i386/cdboot.
*** [all] Error code 1

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

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

Stop in /usr/src/sys.
*** [all] Error code 1

Stop in /usr/src.
*** [all] Error code 1


--------------enig6F3414C82BEBB3392CBE1EF0
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.19 (FreeBSD)

iQEcBAEBAgAGBQJPrU9vAAoJEOgBcD7A/5N8QmoIAOQjdE/KyJnssDH+tTX1XK4E
giugle53qOevEK1ppawM9kI0+VzZuJ/nUBr0/NjnGsFrqo/JHRpXOaD/7VTfT5jO
k0iVC6pz3Cb5MMhdapOVKtYOpNCEWUOvVZUVSMd67HMh3JWzN4ZUnR4zndTOCaP/
KpwXZlF9ABZOs55Xq7btMJAEdQvYuO6S1XcoRxJEh1o0Fdyox4ClaE6UP9AiTS/o
SrhgzKrdyDUwXoQu8rjQo64JGUoKEm4BPXSlBj6ShVkaNQ9Xz3kewIhKlcAjrqVu
/cS1BTgJtVJeSGE8t7m60saaZOq2JOSy+TOjxTbwH4Hradc6GfVEB9cDNhjGPek=
=i8Pk
-----END PGP SIGNATURE-----

--------------enig6F3414C82BEBB3392CBE1EF0--



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