From owner-freebsd-questions@freebsd.org Wed Dec 23 15:58:52 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BD52A4FF11; Wed, 23 Dec 2015 15:58:52 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5CFDD13E4; Wed, 23 Dec 2015 15:58:51 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tBNFwiDP019052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 23 Dec 2015 09:58:45 -0600 Subject: Re: [toolchain] gcc5-devel question References: <5669A8BB.3030602@hiwaay.net> Cc: freebsd-questions@freebsd.org, freebsd-toolchain@freebsd.org From: "William A. Mahaffey III" Message-ID: <567AC4B3.8090108@hiwaay.net> Date: Wed, 23 Dec 2015 10:04:13 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2015 15:58:52 -0000 On 12/23/15 05:56, Gerald Pfeifer wrote: > Hi William, > > On Thu, 10 Dec 2015, William A. Mahaffey III wrote: >> However, pkg did reinstall gcc5-devel-5.2.1.s20151124 due to changed >> options. I cd'ed to /usr/ports/lang/gcc5-devel & poked around a bit. I >> saw no files or directories dated today, the latest was dated Dec 02, >> the last time I upgraded & did a 'make install'. I did a find in >> /usr/ports & /usr/ports/lang/gcc5-devel was all there was. Did the >> compiler indeed get reinstalled ? If so, where :-) ? > the location should not have changed, nor should have any packaging > (additional files, say). 1st, thanks for your reply. This question was/is stupidly worded :-). What I was/am asking is whether the pkg-installed version of this compiler is compiled for Graphite support OOTB. The answer appears to be 'no'. I just pkg-upgraded to the newest version & it is now called 5.3.1: [29/33] Upgrading gcc5-devel from 5.2.1.s20151124 to 5.3.1.s20151208... [29/33] Extracting gcc5-devel-5.3.1.s20151208: .......... done However, when queried from the command line, it doesn't mention 'libisl' (req'd for Graphite support) & when I try to compile code using Graphite optimization (-floop-parallelize-all for me) it fails w/ an error message saying Graphite support not available: f951: sorry, unimplemented: Graphite loop optimizations cannot be used (ISL is not available)(-fgraphite, -fgraphite-identity, -floop-block, -floop-interchange, -floo p-strip-mine, -floop-parallelize-all, -floop-unroll-and-jam, and -ftree-loop-linear) libisl is indeed available, pkg installed & ready to go. When I upgraded ports (portsnap fetch update) this A.M., nothing got upgraded, everything still dated 12/09 or earlier (when I last rebuilt it to turn on Graphite support, which apparently worked AOK) except for the log files from my compile. The port showed/shows Graphite enabled by default (I think). So, another question is whether the pkg & port have different build configurations ? > >> Also, when I did a 'make showconfig', it showed graphite support ready >> to go (*yippeeee*, kudos), but no executable that I could locate on >> short notice. Do I still need to compile it up, or is there an >> executable ready to go somewhere not-so-obvious to me :-) ? > Graphite support means additional optimizations GCC can perform (if > you specify the respective options). > > You need to build the lang/gcc* ports that support Graphite with the > respective option (GRAPHITE) enabled. It is off by default, and thus > not part of packages. > >> When I last compiled it up last week, I did a 'make install >> FORCE_PKG_REGISTER=1' which overwrote /usr/local/bin/gcc5 (not a huge >> issue, but still ....), how do I tell it to install the executable under >> a different name ? BTW, I am *NOT* particularly familiar w/ the 'GNU >> way', so pardon me if this is a bit noobish :-/ .... TIA & have a good >> one. > I am not aware of the FreeBSD packaging system supporting the renaming > of individual files within a package. You could try to install into a > different location and then tweak things there, I guess. > > Gerald > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.