Presently running: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #708 241627M: Wed Oct 17 06:05:26 PDT 2012 [email protected]:/usr/obj/usr/src/sys/CANARY i386
buildkernel proceeds:
...
>>> stage 3.2: building everything
...
===> mxge (all)
===> mxge/mxge (all)
clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
-DHAVE_KERNEL_OPTION_HEADERS -include
/common/S4/obj/usr/src/sys/CANARY/opt_global.h -I. -I@ -I@/contrib/altq
-fno-common -g -I/common/S4/obj/usr/src/sys/CANARY -mno-aes -mno-avx -mno-mmx
-mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999
-Qunused-arguments -fstack-protector -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-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality -c
/usr/src/sys/modules/mxge/mxge/../../../dev/mxge/mxge_lro.c
clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
-DHAVE_KERNEL_OPTION_HEADERS -include
/common/S4/obj/usr/src/sys/CANARY/opt_global.h -I. -I@ -I@/contrib/altq
-fno-common -g -I/common/S4/obj/usr/src/sys/CANARY -mno-aes -mno-avx -mno-mmx
-mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999
-Qunused-arguments -fstack-protector -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-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality -c
/usr/src/sys/modules/mxge/mxge/../../../dev/mxge/if_mxge.c
ctfconvert -L VERSION -g mxge_lro.o
/usr/src/sys/modules/mxge/mxge/../../../dev/mxge/if_mxge.c:3020:29: error:
implicit conversion from 'unsigned long long' to 'u_long' (aka 'unsigned long')
changes value from 10000000000 to 1410065408 [-Werror,-Wconstant-conversion]
sc->ifp->if_baudrate = IF_Gbps(10UL);
~ ^~~~~~~~~~~~~
@/net/if.h:184:21: note: expanded from macro 'IF_Gbps'
#define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */
^
@/net/if.h:183:21: note: expanded from macro 'IF_Mbps'
#define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */
^
@/net/if.h:182:36: note: expanded from macro 'IF_Kbps'
#define IF_Kbps(x) ((uintmax_t)(x) * 1000) /* kilobits/sec. */
~~~~~~~~~~~~~~~^~~~~~
/usr/src/sys/modules/mxge/mxge/../../../dev/mxge/if_mxge.c:4776:21: error:
implicit conversion from 'unsigned long long' to 'u_long' (aka 'unsigned long')
changes value from 10000000000 to 1410065408 [-Werror,-Wconstant-conversion]
ifp->if_baudrate = IF_Gbps(10UL);
~ ^~~~~~~~~~~~~
@/net/if.h:184:21: note: expanded from macro 'IF_Gbps'
#define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */
^
@/net/if.h:183:21: note: expanded from macro 'IF_Mbps'
#define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */
^
@/net/if.h:182:36: note: expanded from macro 'IF_Kbps'
#define IF_Kbps(x) ((uintmax_t)(x) * 1000) /* kilobits/sec. */
~~~~~~~~~~~~~~~^~~~~~
2 errors generated.
*** [if_mxge.o] Error code 1
1 error
*** [all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [modules-all] Error code 2
1 error
*** [buildkernel] Error code 2
Peace,
david
--
David H. Wolfskill [email protected]
Taliban: Evil men with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
pgpZ3BYoAUqRv.pgp
Description: PGP signature
