Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2011 05:56:42 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Error building src/sys/modules/mlx4 @r219821
Message-ID:  <20110321125642.GF1431@albert.catwhisker.org>

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

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

Sources actually updated to r219820; change from r219821 was
hand-applied.  That got me through the buildworld.  :-}

Building kernel modules fails, though:

>>> stage 3.1: making dependencies
=2E..
>>> stage 3.2: building everything
=2E..
=3D=3D=3D> mlx (all)
=2E..
=3D=3D=3D> mlx4 (all)
cc -O2 -pipe -DINET6 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -n=
ostdinc  -I/usr/src/sys/modules/mlx4/../../ofed/drivers/net/mlx4 -I/usr/src=
/sys/modules/mlx4/../../ofed/include/ -DHAVE_KERNEL_OPTION_HEADERS -include=
 /common/S4/obj/usr/src/sys/CANARY/opt_global.h -I. -I@ -I@/contrib/altq -f=
inline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function=
-growth=3D1000 -fno-common -g -I/common/S4/obj/usr/src/sys/CANARY  -mno-ali=
gn-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse=
 -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -std=3Di=
so9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wst=
rict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =
 -Wundef -Wno-pointer-sign -fformat-extensions -Wno-cast-qual -Wno-pointer-=
arith -fms-extensions -c /usr/src/sys/modules/mlx4/../../ofed/drivers/net/m=
lx4/alloc.c
cc1: warnings being treated as errors
In file included from /usr/src/sys/modules/mlx4/../../ofed/include/linux/sl=
ab.h:37,
                 from /usr/src/sys/modules/mlx4/../../ofed/drivers/net/mlx4=
/alloc.c:35:
/usr/src/sys/modules/mlx4/../../ofed/include/linux/gfp.h: In function 'page=
_address':
/usr/src/sys/modules/mlx4/../../ofed/include/linux/gfp.h:59: warning: cast =
to pointer from integer of different size
*** Error code 1

Stop in /usr/src/sys/modules/mlx4.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Building while running:
FreeBSD g1-222.catwhisker.org. 9.0-CURRENT FreeBSD 9.0-CURRENT #172 r219794=
: Sun Mar 20 05:25:47 PDT 2011     root@g1-222.catwhisker.org.:/usr/obj/usr=
/src/sys/CANARY  i386

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--qoTlaiD+Y2fIM3Ll
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAk2HSwkACgkQmprOCmdXAD34LwCeJrap5e2Q7mcLf2PGYkihSlhA
f6sAnAlgzGb3DHYgTZhaMquQ+lKFm6Ne
=Ov6U
-----END PGP SIGNATURE-----

--qoTlaiD+Y2fIM3Ll--



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