Date: Thu, 18 Oct 2012 06:36:16 -0700 From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Cc: emax@freebsd.org Subject: buildkernel fails for i386 @r241679 -- suspect r241646 Message-ID: <20121018133616.GX1817@albert.catwhisker.org>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Presently running:
FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #708 241627M: Wed Oct 17 06:05:26 PDT 2012 root@g1-227.catwhisker.org:/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 david@catwhisker.org
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.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlCABc8ACgkQmprOCmdXAD00TgCcCYyIR2jzGxpM3y2p3b76tS3J
JD0An380iyw75ipNe/igHJ9C5y93yBrm
=36wM
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121018133616.GX1817>
