From owner-freebsd-current@FreeBSD.ORG Thu Jun 9 22:51:56 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80087106568C; Thu, 9 Jun 2011 22:51:56 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6A3588FC22; Thu, 9 Jun 2011 22:51:56 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.5/8.14.5) with ESMTP id p59Mptmp023570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 9 Jun 2011 15:51:55 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 4CEFB1CC0B; Thu, 9 Jun 2011 15:51:55 -0700 (PDT) To: Attilio Rao In-reply-to: Your message of "Thu, 09 Jun 2011 18:26:56 EDT." Date: Thu, 09 Jun 2011 15:51:55 -0700 From: "Kevin Oberman" Message-Id: <20110609225155.4CEFB1CC0B@ptavv.es.net> Cc: Mark Linimon , Michael Butler , FreeBSD Current Subject: Re: gcc-4.5 and 4.6 needs to be recompiled due to /usr/src/UPDATE: 20110608: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2011 22:51:56 -0000 > Date: Thu, 9 Jun 2011 18:26:56 -0400 > From: Attilio Rao > Sender: owner-freebsd-current@freebsd.org > > 2011/6/9 Michael Butler : > > On 06/09/11 17:18, Attilio Rao wrote: > >> 2011/6/9 Mark Linimon : > >>> 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 > > -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=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, > > Well, the ports should be working against -CURRENT, so what you say is > not entirely true. > Second thing, yeah, it is cpumask_t going away, so someone needs to > sit there, check what usage of cpumask_t was done and replace with > proper code. > It seems usual port maintenance due by the maintainer IMHO. > > I'm not entirely sure how bumping __FreeBSD_version may help right now. I don't think it will. mjpegtools also fails under stable. I suspect it is really not related though the error I get is a bit different. c++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -I../utils -I/usr/local/include -DNDEBUG -finline-functions -fno-PIC -O2 -pipe -fno-strict-aliasing -D_THREAD_SAFE -MT newdenoise.o -MD -MP -MF .deps/newdenoise.Tpo -c -o newdenoise.o newdenoise.cc SkipList.hh: In member function 'void SkipList::Init(Status_t&, bool, const SkipList::InitParams&) [with KEY = VariableSizeAllocator::Block, VALUE = VariableSizeAllocator::Block, KEYFN = Ident, PRED = VariableSizeAllocator::Block::SortBySize, int HC = 10, ALLOC = PlacementAllocator]': SkipList.hh:546: internal compiler error: in do_SUBST, at combine.c:502 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[2]: *** [newdenoise.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0/y4mdenoise' -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Last work day before retirement is Jun 17, 2011