Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2011 01:28:39 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Michael Butler <imb@protected-networks.net>
Cc:        Attilio Rao <attilio@freebsd.org>, Mark Linimon <linimon@lonesome.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: gcc-4.5 and 4.6 needs to be recompiled due to /usr/src/UPDATE: 20110608:
Message-ID:  <20110609222839.GC48734@deviant.kiev.zoral.com.ua>
In-Reply-To: <4DF142A0.9030903@protected-networks.net>
References:  <4DF10BD3.2030006@zedat.fu-berlin.de> <BANLkTinNxnaRaN-XFkhciOfMe-9MKAvPiw@mail.gmail.com> <4DF12EA7.80807@protected-networks.net> <BANLkTimPkyc5TjLY_Xb2bYAMq8__yawc4Q@mail.gmail.com> <20110609211232.GA17188@lonesome.com> <BANLkTik7k=mME-7swsNbPrhV9b5EDb1p5w@mail.gmail.com> <4DF142A0.9030903@protected-networks.net>

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

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

On Thu, Jun 09, 2011 at 06:01:04PM -0400, Michael Butler wrote:
> On 06/09/11 17:18, Attilio Rao wrote:
> > 2011/6/9 Mark Linimon <linimon@lonesome.com>:
> >> Things that change the way the base system behaves w/rt ports need
> >> version bumps.
> >=20
> > BTW, could someone provide an actual error message?
> >=20
> > I assume these errors are caused by cpumask_t going away.
>=20
> For emulators/virtualbox-ose-kmod ..
>=20
> cc -O2 -pipe -march=3Dprescott -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0
> -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -w -DVBOX_WITH_HARDENING
> -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_X86 -fno-strict-aliasing -Werror
> -D_KERNEL -DKLD_MODULE -nostdinc  -Iinclude -I. -Ir0drv -I. -I@
> -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100
> --param large-function-growth=3D1000 -fno-common   -mno-align-long-strings
> -mpreferred-stack-boundary=3D2 -mno-sse -mno-mmx -msoft-float
> -ffreestanding -fstack-protector -std=3Diso9899:1999 -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 -c
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.8_OSE/out/fr=
eebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c
>=20
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.8_OSE/out/fr=
eebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c:
> In function 'RTMpOnOthers':
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.8_OSE/out/fr=
eebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c:167:
> error: 'cpumask_t' undeclared (first use in this function)
>=20
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.8_OSE/out/fr=
eebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c:167:
> error: (Each undeclared identifier is reported only once
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.8_OSE/out/fr=
eebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c:167:
> error: for each function it appears in.)
>=20
> Without a version bump, it becomes impossible to determine if a
> version-specific patch can be applied to accommodate the ABI change,

This is a problem with KPI (Kernel Programming Interface) change.
It is not something I would worry about, since this happens during
the build of kernel module.

I am worried about the vague hints on the breakage of gcc and other
usermode ports.

--mFOTU3doHY2V53n6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk3xSRYACgkQC3+MBN1Mb4hVSwCg5e5zon9IiB6zYjCbiHvdobjV
Kg0AnjJjr00SjTDq9zrp5CxiwFcgzSuc
=YGmR
-----END PGP SIGNATURE-----

--mFOTU3doHY2V53n6--



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