From owner-freebsd-current@FreeBSD.ORG Thu Jun 9 22:26:58 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 74BBB106566B for ; Thu, 9 Jun 2011 22:26:58 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 292368FC0C for ; Thu, 9 Jun 2011 22:26:57 +0000 (UTC) Received: by vxc34 with SMTP id 34so2309938vxc.13 for ; Thu, 09 Jun 2011 15:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=y5qdlLKfWWVVt7CF6rHuOIfuMwpyPkvSTZnhRYORn2I=; b=vJY5WHdMK8R+ZY+IqOI9IZiLEsredapdKNBWjRVq0CGMEJP06W3yJBZlln//ZMkpDL ECEzC1AdqQB65R9nIi5uMrmD6gWmzh/oq2LBoGtKxF6k9K1tywtnAChsVbxqtLnIoPqX YONvjqrtVgrtZINPvQnK8/HLg2d5PbPE3RjOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=WbmKsD1Xw35XTlo0rgU39Qx4gz1axTu3rjhtQsxXCkMZCh2MuMuYATp9gO8IEnYvEo ctH9LxA0+u3DuKCP+WJQMVt+DnIbzR9aiB2vjVZWZl6aSWRzdK+l4f/kCh/bZxd+stBK Jbht5TLemlzz8o4nzljZ22b2DA+YdQ7LnjftA= MIME-Version: 1.0 Received: by 10.236.168.33 with SMTP id j21mr1564927yhl.356.1307658416891; Thu, 09 Jun 2011 15:26:56 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.236.67.81 with HTTP; Thu, 9 Jun 2011 15:26:56 -0700 (PDT) In-Reply-To: <4DF142A0.9030903@protected-networks.net> References: <4DF10BD3.2030006@zedat.fu-berlin.de> <4DF12EA7.80807@protected-networks.net> <20110609211232.GA17188@lonesome.com> <4DF142A0.9030903@protected-networks.net> Date: Thu, 9 Jun 2011 18:26:56 -0400 X-Google-Sender-Auth: Pp3a8ajSxYVFjDjW-cqKRpfOSiA Message-ID: From: Attilio Rao To: Michael Butler Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Mark Linimon , 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:26:58 -0000 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=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 =C2=A0-Iinclude -I. -Ir0drv -I. -I@ > -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 > --param large-function-growth=3D1000 -fno-common =C2=A0 -mno-align-long-s= trings > -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 =C2=A0-Wundef > -Wno-pointer-sign -fformat-extensions =C2=A0-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 > > /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) > > /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.) > > 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. Attilio --=20 Peace can only be achieved by understanding - A. Einstein