Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2016 16:12:45 +0100
From:      =?UTF-8?Q?Pierre-Yves_P=c3=a9neau?= <pierre-yves.peneau@lirmm.fr>
To:        freebsd-questions@freebsd.org
Subject:   CURRENT does not compile on i386
Message-ID:  <56E2E06D.9060003@lirmm.fr>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--XjPHKlea6BRlHOIQPMTV9iku6bc4veou8
Content-Type: multipart/mixed; boundary="mLg3fOHnkqjc8gOLjQA5bBK86HV3vHSAM"
From: =?UTF-8?Q?Pierre-Yves_P=c3=a9neau?= <pierre-yves.peneau@lirmm.fr>
To: freebsd-questions@freebsd.org
Message-ID: <56E2E06D.9060003@lirmm.fr>
Subject: CURRENT does not compile on i386

--mLg3fOHnkqjc8gOLjQA5bBK86HV3vHSAM
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi everyone,

I am trying to compile FreeBSD-CURRENT downloaded from
https://svn.freebsd.org/base/head. The source tree is at revision
296654. The command to build is the following:

> make buildkernel KERNEL=3DGENERIC -j 2

The compilation failed with this message:

> =3D=3D=3D> bxe (all)
> --- bxe.o ---
> cc -O2 -pipe -Wno-shift-negative-value -fno-strict-aliasing -Werror -D_=
KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/dev/bxe -DHAVE_KERNEL_OPTION=
_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/sr=
c/sys -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-mmx -mno-sse -ms=
oft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredu=
ndant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wp=
ointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-exte=
nsions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-prag=
mas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pare=
ntheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -mno-=
aes -mno-avx -std=3Diso9899:1999 -c /usr/src/sys/dev/bxe/bxe.c -o bxe.o
> error: unknown warning option '-Wno-shift-negative-value'; did you mean=
 '-Wno-shift-sign-overflow'? [-Werror,-Wunknown-warning-option]
> *** [bxe.o] Error code 1
>=20
> make[4]: stopped in /usr/src/sys/modules/bxe
> 1 error

I am running FreeBSD-10.2 on i386 (fresh install from yesterday):

> root@beastie:/usr/src # uname -a
> FreeBSD beastie 10.2-RELEASE FreeBSD 10.2-RELEASE #1 r296608M: Thu Mar =
10 14:42:55 CET 2016 pierre-yves@beastie:/usr/obj/usr/src/sys/GENERIC i38=
6

I am using the default compiler:

> root@beastie:/usr/src # clang -v
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 2014051=
2
> Target: i386-unknown-freebsd10.2
> Thread model: posix
> Selected GCC installation:

Am I doing something wrong ? I read the official documentation and it
looks like I am using the good way to compile the FreeBSD kernel.

Thank you.

--=20
+-------------------------------------------------------------+
| Pierre-Yves P=C3=A9neau - PhD student |  first.last at lirmm.fr  |
| LIRMM / CNRS - SYSMIC team       |    + 33 4 67 41 85 85    |
| Building 4 Office H2.2           |    http://walafc0.org    |
+-------------------------------------------------------------+


--mLg3fOHnkqjc8gOLjQA5bBK86HV3vHSAM--

--XjPHKlea6BRlHOIQPMTV9iku6bc4veou8
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

iQIcBAEBCAAGBQJW4uBwAAoJEPy7VC2L9m/AusUP/2J0gAm4KoHUUNJPebkv4oc6
vdmlMlM4W+W3e2iau+82oK+X76qy788T6w2DAAHVBWbYF0AwlCMjhnbIRtQHB1I+
Xr69jm/rtWsg6gFdyhDZrM0/4MJT2jsKdDmnUa2V40B2W8Zdo9qSxKhCeypQSVx2
QNb8u8YXJHul+Rg6y7gvlCVuPQXTGYAMyoizdadaanSR4mbnuE+HG3e+ZF4ZR9+0
NbDE5iDFOJU+xOPTRBDBjGcizSHggoIOYntIzag2BKZJW4uRR1oSe93wwF1b01pi
9IuetkcjFxTLaOO7po3EgHzBxj9DM6UMKN+reKWTUXwlY921zcuSBtzdJOO7p4ZO
mnU9jC/JriO/8qzIdVf1i4C5qTtwAGhjZBgXXGOJThx1+Dp4aiGLe1ZdXrrMvH6b
I6kFLPspdeWVOiooecpZqgy3IMIKUck06GBvGQGqGpJLPTjMJnUyQDQxk40Ms/CB
WHS1RVJWjZtVx8RDT/wqUIoIrKeN8VfDteXspYbkHmv8gNoRRZ3SRPS9db6uyWLS
KDu+nJdfxCY8ie7gtaTfk1EfVL0OC4qcxXUbDcdSFf3ai/5Tp38zek4GVutkTO40
Uc37Zejt/4sGbXINz7u18vqFzHB7g2UnVUi45+fN7hvbkFw/5EOG/dyIs1CrgnU1
uSY9DQVd9CvksFN8agxg
=kWXO
-----END PGP SIGNATURE-----

--XjPHKlea6BRlHOIQPMTV9iku6bc4veou8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56E2E06D.9060003>