Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help

--ByM1h5nouWwd3kz8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Presently running:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #708 241627=
M: Wed Oct 17 06:05:26 PDT 2012     root@g1-227.catwhisker.org:/usr/obj/usr=
/src/sys/CANARY  i386


buildkernel proceeds:
=2E..
>>> stage 3.2: building everything
=2E..
=3D=3D=3D> mxge (all)
=3D=3D=3D> mxge/mxge (all)
clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdi=
nc   -DHAVE_KERNEL_OPTION_HEADERS -include /common/S4/obj/usr/src/sys/CANAR=
Y/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 -ffreesta=
nding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prot=
ector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissi=
ng-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-si=
gn -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -=
Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parenthese=
s-equality -c /usr/src/sys/modules/mxge/mxge/../../../dev/mxge/mxge_lro.c
clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdi=
nc   -DHAVE_KERNEL_OPTION_HEADERS -include /common/S4/obj/usr/src/sys/CANAR=
Y/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 -ffreesta=
nding -fstack-protector -std=3Diso9899:1999 -Qunused-arguments -fstack-prot=
ector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissi=
ng-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-si=
gn -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -=
Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parenthese=
s-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 lo=
ng') changes value from 10000000000 to 1410065408 [-Werror,-Wconstant-conve=
rsion]
                                 sc->ifp->if_baudrate =3D 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 lo=
ng') changes value from 10000000000 to 1410065408 [-Werror,-Wconstant-conve=
rsion]
        ifp->if_baudrate =3D 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
--=20
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.

--ByM1h5nouWwd3kz8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlCABc8ACgkQmprOCmdXAD00TgCcCYyIR2jzGxpM3y2p3b76tS3J
JD0An380iyw75ipNe/igHJ9C5y93yBrm
=36wM
-----END PGP SIGNATURE-----

--ByM1h5nouWwd3kz8--



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