From owner-freebsd-current@FreeBSD.ORG Thu Jun 9 23:01:20 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 6CC001065673; Thu, 9 Jun 2011 23:01:20 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id BFB708FC13; Thu, 9 Jun 2011 23:01:19 +0000 (UTC) Received: by bwz12 with SMTP id 12so2491182bwz.13 for ; Thu, 09 Jun 2011 16:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-type; bh=H2qjto7ZIVBy5MRb56MSRECglVpt+9aMKNHqgN7ayBM=; b=GA/nV2lPvRjf70v604pc6+q17EovZBqgSDPTHhUxEn1Ci7q3SqRG25kUr1adiaZW0E iPH8fmrMqmWTAYxVA4I/R8lvP5o2hJ6Q23RstDz9Z7fjjl5IqB8uXWzLxCQ/qQQkeIdp YJP/6wEgqOHlfdUwqB5PwNd/IDoegHxsFNS/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=ckRGNTPTqkW8sG4mApAAXN91IEH1SSnyjik1xR/3FYkECdIOt4AC0iGESCOcAb/fmV cnMe1ZNM8fNipPHI+hS8ToaTohJfUK0+L8T3WQFRAREphgPzvG9bEgXvhuoyVohh5y7K T1uFg1JJnxpYgTHnjZoQzsX9pn+cEu7SuAabs= Received: by 10.204.48.210 with SMTP id s18mr302359bkf.176.1307660478545; Thu, 09 Jun 2011 16:01:18 -0700 (PDT) Received: from localhost ([98.158.25.61]) by mx.google.com with ESMTPS id af13sm450853bkc.19.2011.06.09.16.01.07 (version=SSLv3 cipher=OTHER); Thu, 09 Jun 2011 16:01:17 -0700 (PDT) From: Pan Tsu To: "Hartmann\, O." References: <4DF10BD3.2030006@zedat.fu-berlin.de> Date: Fri, 10 Jun 2011 03:00:52 +0400 Message-ID: <867h8uehjv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD Current , freebsd-ports@FreeBSD.org 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 23:01:20 -0000 "Hartmann, O." writes: > Since the notice mentioned in /usr/src/UPDATE (20110608) both gcc-4.5 > and 4.6 seems to need to be recompiled. I tried some ports with > "USE_FORTRAN= yes" setand they failed as with gcc-4.6. There was > always an error reporting: undefined reference to __cpumask_t or > similar. Do you mean stale typedef in gcc's private copy under PREFIX/lib/gccXY/gcc/*/*/include-fixed/sys/types.h ? You can fix the file manually instead of wasting cpu cycles. $ gcc46 foo.c In file included from /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.1/include-fixed/unistd.h:46:0, from foo.c:1: /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.1/include-fixed/sys/types.h:111:1: error: unknown type name '__cpumask_t' Exit 1 $ sed -n 111p /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd9.0/4.6.1/include-fixed/sys/types.h typedef __cpumask_t cpumask_t;