From owner-freebsd-questions@freebsd.org Fri Mar 11 15:18:50 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77CD2ACB7B5 for ; Fri, 11 Mar 2016 15:18:50 +0000 (UTC) (envelope-from pierre-yves.peneau@lirmm.fr) Received: from kirkenes.lirmm.fr (kirkenes.lirmm.fr [193.49.104.30]) by mx1.freebsd.org (Postfix) with ESMTP id 10D66BC4 for ; Fri, 11 Mar 2016 15:18:49 +0000 (UTC) (envelope-from pierre-yves.peneau@lirmm.fr) Received: from [0.0.0.0] (tronhinavi.com [158.69.172.225]) by kirkenes.lirmm.fr (Postfix) with ESMTPSA id 1D512A4FB7 for ; Fri, 11 Mar 2016 16:12:51 +0100 (CET) From: =?UTF-8?Q?Pierre-Yves_P=c3=a9neau?= Subject: CURRENT does not compile on i386 To: freebsd-questions@freebsd.org Message-ID: <56E2E06D.9060003@lirmm.fr> Date: Fri, 11 Mar 2016 16:12:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XjPHKlea6BRlHOIQPMTV9iku6bc4veou8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 15:18:50 -0000 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?= 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--