From owner-freebsd-toolchain@freebsd.org Tue Mar 1 22:00:22 2016 Return-Path: Delivered-To: freebsd-toolchain@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 A8207AC0C7B for ; Tue, 1 Mar 2016 22:00:22 +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 7C45C136C for ; Tue, 1 Mar 2016 22:00:22 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-244-25.knology.net [216.186.244.25] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u21M0JdL025957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 1 Mar 2016 16:00:20 -0600 Subject: Re: [toolchain] gcc5-devel question References: <56D5C11B.3050805@hiwaay.net> Cc: FreeBSD toolchain mailing list !!!! From: "William A. Mahaffey III" Message-ID: <56D610F3.1030304@hiwaay.net> Date: Tue, 1 Mar 2016 16:05:49 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 22:00:22 -0000 On 03/01/16 15:33, Gerald Pfeifer wrote: > On Tue, 1 Mar 2016, William A. Mahaffey III wrote: >> When I run gcc5 from the CLI or under make as a regular user, it reports no >> Graphite support compiled in. When I update the gcc5-devel port, it reports >> Graphite enabled: >> >> >> [root@devbox, gcc5-devel, 10:24:47am] 504 % make showconfig >> ===> The following configuration options are available for >> gcc5-devel-5.3.1.s20160223: >> BOOTSTRAP=on: Build using a full bootstrap >> GRAPHITE=on: Support for Graphite loop optimizations >> JAVA=on: Java platform support >> ===> Use 'make config' to modify these settings >> [root@devbox, gcc5-devel, 10:24:51am] 505 % > This appears odd. > > Just to make sure, in both cases it's the gcc5-devel port / package? > > Or might one be gcc5, and the other gcc5-devel? That should not make > a difference (cf. `diff gcc5/Makefile gcc5-devel/Makefile`), but might > if there are local changes on your system somewhere. Best of my knowlege, yes. That's why I included some of the other info in my OP. When I did the pkg upgrade, the /usr/local/bin/gcc5 upgraded to something dated Feb 27. When I build the port (make install), I get some error trying to install it, but it builds OK & leaves everything in a deep 'staging' directory. The binaries are different. pkg output: [root@devbox, /etc, 4:00:55pm] 512 % grep gcc5 LIST.installed.txt gcc5-devel-5.3.1.s20160223 GNU Compiler Collection 5 [root@devbox, /etc, 4:01:04pm] 513 % pkg info | grep -i gcc5 gcc5-devel-5.3.1.s20160223 GNU Compiler Collection 5 [root@devbox, /etc, 4:01:14pm] 514 % uname -a FreeBSD devbox 9.3-RELEASE-p33 FreeBSD 9.3-RELEASE-p33 #0: Wed Jan 13 17:55:39 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@devbox, /etc, 4:01:19pm] 515 % Checking the actual files (as regular user, from earlier today): [wam@devbox, pre, 10:34:26am] 576 % !566 find /usr/local/bin/ -name gcc\* -exec ls -CFltr {} + -r-xr-xr-x 3 root wheel 643768 Nov 30 21:34 /usr/local/bin/gcc48* -r-xr-xr-x 2 root wheel 24880 Nov 30 21:34 /usr/local/bin/gcc-ranlib48* -r-xr-xr-x 2 root wheel 24880 Nov 30 21:34 /usr/local/bin/gcc-nm48* -r-xr-xr-x 2 root wheel 24920 Nov 30 21:34 /usr/local/bin/gcc-ar48* lrwxr-xr-x 1 root wheel 20 Nov 30 21:35 /usr/local/bin/gcc@ -> /usr/local/bin/gcc48 -r-xr-xr-x 3 root wheel 846360 Feb 20 05:07 /usr/local/bin/gcc49* -r-xr-xr-x 2 root wheel 25464 Feb 20 05:07 /usr/local/bin/gcc-ranlib49* -r-xr-xr-x 2 root wheel 25464 Feb 20 05:07 /usr/local/bin/gcc-nm49* -r-xr-xr-x 2 root wheel 25464 Feb 20 05:07 /usr/local/bin/gcc-ar49* -r-xr-xr-x 3 root wheel 895144 Feb 27 23:00 /usr/local/bin/gcc5* -r-xr-xr-x 2 root wheel 25912 Feb 27 23:00 /usr/local/bin/gcc-ranlib5* -r-xr-xr-x 2 root wheel 25912 Feb 27 23:00 /usr/local/bin/gcc-nm5* -r-xr-xr-x 2 root wheel 25944 Feb 27 23:00 /usr/local/bin/gcc-ar5* [wam@devbox, pre, 10:34:33am] 577 % ( ll /usr/ports/lang/gcc5-devel/work/stage/usr/local/bin/gcc* ) -r-xr-xr-x 2 root wheel 25944 Mar 1 10:27 /usr/ports/lang/gcc5-devel/work/stage/usr/local/bin/gcc-ar5* -r-xr-xr-x 2 root wheel 25912 Mar 1 10:27 /usr/ports/lang/gcc5-devel/work/stage/usr/local/bin/gcc-nm5* -r-xr-xr-x 2 root wheel 25912 Mar 1 10:27 /usr/ports/lang/gcc5-devel/work/stage/usr/local/bin/gcc-ranlib5* -r-xr-xr-x 3 root wheel 895144 Mar 1 10:27 /usr/ports/lang/gcc5-devel/work/stage/usr/local/bin/gcc5* [wam@devbox, pre, 10:34:48am] 578 % diff /usr/local/bin/gcc5 /usr/ports/lang/gcc5-devel/work/stage/usr/local/bin/gcc5 Files /usr/local/bin/gcc5 and /usr/ports/lang/gcc5-devel/work/stage/usr/local/bin/gcc5 differ [wam@devbox, pre, 10:35:03am] 579 % > >> Is it intentional that the port & pkg have different support options >> (specifically Graphite) ? > Nope. Unless you changed it locally. ;-) > > Gerald > Where is that info stored ? When I do a 'ls -ltr' on the port directory, the Makefile shows up as dated Feb 27: [root@devbox, gcc5-devel, 4:05:55pm] 517 % ( lltr ) total 1060 -rw-r--r-- 1 root wheel 239 Aug 23 2014 pkg-descr -rw-r--r-- 1 root wheel 2869 Sep 26 06:09 pkg-plist -rw-r--r-- 1 root wheel 140 Feb 27 16:23 distinfo -rw-r--r-- 1 root wheel 5342 Feb 27 16:23 Makefile drwxr-xr-x 2 root wheel 6 Mar 1 09:29 files/ drwxr-xr-x 5 root wheel 17 Mar 1 10:27 work/ -rw-r--r-- 1 root wheel 12157916 Mar 1 10:27 LIST [root@devbox, gcc5-devel, 4:05:56pm] 517 % I thought that would trump anything else, no ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.