From owner-freebsd-current@FreeBSD.ORG Wed Aug 3 22:24:57 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 CCB74106566B for ; Wed, 3 Aug 2011 22:24:57 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 24BD38FC14 for ; Wed, 3 Aug 2011 22:24:56 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA20070; Thu, 04 Aug 2011 01:24:53 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Qojrw-000LHd-Qy; Thu, 04 Aug 2011 01:24:52 +0300 Message-ID: <4E39CAB3.8030004@FreeBSD.org> Date: Thu, 04 Aug 2011 01:24:51 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: Aric Gregson References: <201108031521.24663.aorchid@mac.com> In-Reply-To: <201108031521.24663.aorchid@mac.com> X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: Compile Question with _cpumask_t Error 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: Wed, 03 Aug 2011 22:24:58 -0000 on 04/08/2011 01:21 Aric Gregson said the following: > Hello, > > I am running 9.0-CURRENT FreeBSD amd64 from Tue Jul 18 16:18:20 PDT 2011. I > am trying to compile an R-project package that is using g++45 to compile and > it fails due (apparently) to an error with _cpumask_t as noted below. I have > seen some discussions about this that I do not completely understand > (http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025092.html). > Essentially, I am wondering what the work-around is for this. A solution for this is to rebuild/reinstall gcc45 first. > Thanks in advance, Aric > ---------------------------- > freeenv# R CMD INSTALL ./RBGL_1.29.0.tar > * installing to library '/usr/local/lib/R/library' > * installing source package 'RBGL' ... > untarring boost include tree... > ** libs > g++45 -I/usr/local/lib/R/include -IboostIncl -fpic -O2 -pipe > -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing -c bbc.cpp -o bbc.o > In file included from > /usr/local/lib/gcc45/include/c++/backward/hash_set:60:0, > from boostIncl/boost/graph/adjacency_list.hpp:25, > from RBGL.hpp:26, > from bbc.cpp:1: > /usr/local/lib/gcc45/include/c++/backward/backward_warning.h:28:2: > warning: #warning This file includes at least one deprecated or > antiquated header which may be removed without further notice at a > future date. Please use a non-deprecated interface with equivalent > functionality instead. For a listing of replacement headers and > interfaces, consult the file backward_warning.h. To disable this > warning use -Wno-deprecated. > In file included from > /usr/local/lib/gcc45/gcc/x86_64-portbld-freebsd9.0/4.5.4/include- > fixed/unistd.h:46:0, > from > /usr/local/lib/gcc45/include/c+ > +//x86_64-portbld-freebsd9.0/bits/gthr-default.h:42, from > /usr/local/lib/gcc45/include/c+ > +//x86_64-portbld-freebsd9.0/bits/gthr.h:162, from > /usr/local/lib/gcc45/include/c++/ext/atomicity.h:34, > from > /usr/local/lib/gcc45/include/c++/bits/ios_base.h:41, > from /usr/local/lib/gcc45/include/c++/ios:43, > from /usr/local/lib/gcc45/include/c++/ostream:40, > from /usr/local/lib/gcc45/include/c++/iostream:40, > from RBGL.hpp:7, > from bbc.cpp:1: > /usr/local/lib/gcc45/gcc/x86_64-portbld-freebsd9.0/4.5.4/include- > fixed/sys/types.h:111:9: > error: '__cpumask_t' does not name a type > *** Error code 1 > > Stop in /tmp/Rtmpd52RCc/R.INSTALL7fb40f0b/RBGL/src. > ERROR: compilation failed for package 'RBGL' > * removing '/usr/local/lib/R/library/RBGL' > > > freeenv# pkg_info | grep boost > boost-jam-1.45.0 Build tool from the boost.org > boost-libs-1.45.0_1 Free portable C++ libraries (without Boost.Python) > boost-python-libs-1.45.0_1 Framework for interfacing Python and C++ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Andriy Gapon