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 r...@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.

_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to