From owner-freebsd-current@FreeBSD.ORG Fri Jun 10 15:25:23 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 63B82106564A; Fri, 10 Jun 2011 15:25:23 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E99A28FC12; Fri, 10 Jun 2011 15:25:22 +0000 (UTC) Received: by vws18 with SMTP id 18so3254591vws.13 for ; Fri, 10 Jun 2011 08:25:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NrYP8Q13j7AAt0apMcJwQ+3hhzZtnDPcHc7PEMzDg6g=; b=QUCklkvbZzk0MSNl91g6eaFINDwwxdZUfBGc9x/fB9uozGtneSpNQv5atQPT2rjy0R gyL9cgjojXp7xFlx/mYNdsnrHtV6wnMimU+dehv5zZIm1Y+KDrtb5xLs+jErQlljwIPx EPLYpx8Ujt54YuT84fQJLkqh9UMLZObu5eJz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WQjrJQP4SIxyQ9+wZZj6LTmqiZjswqfxHuCvg5PdsgDINQGcerJkVi7KYuf0HlXz7E UtB1HAANHQC/DfGxdLQQF74qzyOycaPzByA5Rm75aJHDmLhdw7zg81sj6N6E6jEQtQHU yuahls3ycbmws4F+6kk39+6S+AMzxDTRoTxME= MIME-Version: 1.0 Received: by 10.52.32.2 with SMTP id e2mr3148821vdi.189.1307719521631; Fri, 10 Jun 2011 08:25:21 -0700 (PDT) Received: by 10.220.189.202 with HTTP; Fri, 10 Jun 2011 08:25:21 -0700 (PDT) In-Reply-To: References: <4DF10BD3.2030006@zedat.fu-berlin.de> <4DF12EA7.80807@protected-networks.net> <20110609211232.GA17188@lonesome.com> <4DF142A0.9030903@protected-networks.net> Date: Fri, 10 Jun 2011 08:25:21 -0700 Message-ID: From: Garrett Cooper To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Fri, 10 Jun 2011 15:25:23 -0000 On Fri, Jun 10, 2011 at 8:22 AM, Garrett Cooper wrote: > On Thu, Jun 9, 2011 at 3:26 PM, Attilio Rao wrote: >> 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 =A0-Iinclude -I. -Ir0drv -I. -I@ >>> -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 >>> --param large-function-growth=3D1000 -fno-common =A0 -mno-align-long-st= rings >>> -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 =A0-Wundef >>> -Wno-pointer-sign -fformat-extensions =A0-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 =A0to >> 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. > > =A0 =A0This also impacts recompiling the base system if you don't nuke > /usr/obj (output from make buildworld buildkernel, no -j). > Thanks, > -Garrett > > c++ -O2 -pipe -fno-strict-aliasing -pipe > -I/usr/obj/usr/src/sys/FALLOUT > -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-strict-aliasing -pipe > -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc > c++ -O2 -pipe -fno-strict-aliasing -pipe > -I/usr/obj/usr/src/sys/FALLOUT > -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-strict-aliasing -pipe > -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc > In file included from > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc:25: > /usr/include/sys/types.h:102: error: '__cpumask_t' does not name a type > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/gperf. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. I just realized that my environment may be at fault for this item (I was trying to debug something -- note the first -I argument). Please ignore and move on unless more reports come in. Thanks, -Garrett