gcc-4.5 and 4.6 needs to be recompiled due to /usr/src/UPDATE: 20110608:

Kostik Belousov kostikbel at gmail.com
Thu Jun 9 22:28:44 UTC 2011

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 at lonesome.com>:
> >> Things that change the way the base system behaves w/rt ports need
> >> version bumps.
> > 
> > BTW, could someone provide an actual error message?
> > 
> > I assume these errors are caused by cpumask_t going away.
> For emulators/virtualbox-ose-kmod ..
> cc -O2 -pipe -march=prescott -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0
> -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=8000 --param inline-unit-growth=100
> --param large-function-growth=1000 -fno-common   -mno-align-long-strings
> -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float
> -ffreestanding -fstack-protector -std=iso9899: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/freebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.8_OSE/out/freebsd.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/freebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c:167:
> error: 'cpumask_t' undeclared (first use in this function)
> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.0.8_OSE/out/freebsd.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/freebsd.x86/release/bin/src/vboxdrv/r0drv/freebsd/mp-r0drv-freebsd.c:167:
> error: for each function it appears in.)
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110609/63bad738/attachment.pgp

More information about the freebsd-current mailing list