CURRENT does not compile on i386

Pierre-Yves Péneau pierre-yves.peneau at lirmm.fr
Fri Mar 11 15:48:45 UTC 2016


Ok, according to Jenkins, i386 does not compile since this morning
(5:14am), but the error message is not the same.

https://jenkins.freebsd.org/job/FreeBSD_HEAD_i386/

On 11/03/2016 16:12, Pierre-Yves Péneau wrote:
> 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=GENERIC -j 2
> 
> The compilation failed with this message:
> 
>> ===> 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/src/sys -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -mno-aes -mno-avx -std=iso9899: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
>>
>> make[4]: stopped in /usr/src/sys/modules/bxe
>> 1 error
> 
> I am running FreeBSD-10.2 on i386 (fresh install from yesterday):
> 
>> root at 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 at beastie:/usr/obj/usr/src/sys/GENERIC i386
> 
> I am using the default compiler:
> 
>> root at beastie:/usr/src # clang -v
>> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
>> 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.
> 

-- 
+-------------------------------------------------------------+
| Pierre-Yves Péneau - 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    |
+-------------------------------------------------------------+

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160311/54784946/attachment.sig>


More information about the freebsd-questions mailing list