I pkg-upgraded-all yesterday, & my gcc5-devel port got reinstalled due
to 'options changed'. Sitting in /usr/ports/lang/gcc5-devel, I observe
the following:
[root@devbox, gcc5-devel, 10:00:54am] 915 % lltr
total 1065
-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 Nov 27 17:29 distinfo
-rw-r--r-- 1 root wheel 5342 Nov 27 17:29 Makefile
drwxr-xr-x 2 root wheel 6 Dec 2 17:55 files/
-rw-r--r-- 1 root wheel 1498 Dec 2 18:07 LIST.install.fubared.txt
drwxr-xr-x 5 root wheel 22 Dec 2 19:01 work/
-rw-r--r-- 1 root wheel 12157560 Dec 2 19:01 LIST.install.AOK.txt
-rw-r--r-- 1 root wheel 250 Dec 11 09:43 LIST
[root@devbox, gcc5-devel, 10:00:57am] 916 % make showconfig
===> The following configuration options are available for
gcc5-devel-5.2.1.s20151124:
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:01:06am] 917 % lltr /usr/local/bin/*gcc*
-r-xr-xr-x 3 root wheel 643768 Nov 30 21:34
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc48*
-r-xr-xr-x 2 root wheel 24880 Nov 30 21:34
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ranlib48*
-r-xr-xr-x 2 root wheel 24880 Nov 30 21:34
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-nm48*
-r-xr-xr-x 2 root wheel 24920 Nov 30 21:34
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ar48*
-r-xr-xr-x 3 root wheel 643768 Nov 30 21:34
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-4.8.5*
-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 1 root wheel 25704 Nov 30 21:55
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ranlib*
-r-xr-xr-x 1 root wheel 25704 Nov 30 21:55
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-nm*
-r-xr-xr-x 1 root wheel 25736 Nov 30 21:55
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ar*
-r-xr-xr-x 2 root wheel 742608 Nov 30 21:55
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-5.2.0*
-r-xr-xr-x 2 root wheel 742608 Nov 30 21:55
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc*
-r-xr-xr-x 3 root wheel 895144 Dec 9 02:05
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc5*
-r-xr-xr-x 2 root wheel 25912 Dec 9 02:05
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ranlib5*
-r-xr-xr-x 2 root wheel 25912 Dec 9 02:05
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-nm5*
-r-xr-xr-x 2 root wheel 25944 Dec 9 02:05
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ar5*
-r-xr-xr-x 3 root wheel 895144 Dec 9 02:05
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-5.2.1*
-r-xr-xr-x 3 root wheel 895144 Dec 9 02:05 /usr/local/bin/gcc5*
-r-xr-xr-x 2 root wheel 25912 Dec 9 02:05 /usr/local/bin/gcc-ranlib5*
-r-xr-xr-x 2 root wheel 25912 Dec 9 02:05 /usr/local/bin/gcc-nm5*
-r-xr-xr-x 2 root wheel 25944 Dec 9 02:05 /usr/local/bin/gcc-ar5*
-r-xr-xr-x 3 root wheel 846360 Dec 9 05:58
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc49*
-r-xr-xr-x 2 root wheel 25464 Dec 9 05:58
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ranlib49*
-r-xr-xr-x 2 root wheel 25464 Dec 9 05:58
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-nm49*
-r-xr-xr-x 2 root wheel 25464 Dec 9 05:58
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-ar49*
-r-xr-xr-x 3 root wheel 846360 Dec 9 05:58
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-4.9.4*
-r-xr-xr-x 3 root wheel 846360 Dec 9 05:58 /usr/local/bin/gcc49*
-r-xr-xr-x 2 root wheel 25464 Dec 9 05:58 /usr/local/bin/gcc-ranlib49*
-r-xr-xr-x 2 root wheel 25464 Dec 9 05:58 /usr/local/bin/gcc-nm49*
-r-xr-xr-x 2 root wheel 25464 Dec 9 05:58 /usr/local/bin/gcc-ar49*
[root@devbox, gcc5-devel, 10:01:12am] 918 %
When I try to compile this port up ('make'), nothing happens. 'make
force' says 'no Makefile entry 'force'.
When I try to use the compiler, I get messages like the following:
Beginning background make O3
Initiated at 09:36:21 AM MCST on Friday, December 11, 2015
make.3.8.2[1]: Entering directory
`/home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/utils'
gcc5 -DNDEBUG -DUNDER_SCORE_SYS -DLOSE_GAMMAL -I../include
-I../Properties -I../TEST -I../pre -I/usr/local/include
-I/usr/local/include/vtk-6.1 -fpermissive -Wno-write-strings -std=c99
-march=opteron -mtune=opteron -O3 -fprefetch-loop-arrays
-floop-parallelize-all -ftree-parallelize-loops=4
-fopt-info-loop-optimized -march=opteron -mtune=opteron -c Cutils.c
Vutils.c CadData.c GeomUtils.c MathUtils.c StringUtils.c Array.c Ids.c
IntA.c UintA.c RealA.c PtrA.c PtrStack.c String.c Words.c LabelledData.c
Gauss.c Getopt.c TimeStamp.c convection.c cfd.c TaggedM.c VTK.c XML.c
BLAS.c SVD.c SysUtils.c VectorIO.c ArrayIDs.c SegIDs.c simplex.c runge.c
cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++
but not for C
Cutils.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot
be used (ISL is not available)(-fgraphite, -fgraphite-identity,
-floop-block, -floop-interchange, -floop-strip-mine,
-floop-parallelize-all, -floop-unroll-and-jam, and -ftree-loop-linear)
i.e. no Graphite support. As seen below, the pkg-installed gcc5 & the
port-compiled version are identical:
[root@devbox, gcc5-devel, 10:03:47am] 919 % diff
/usr/local/bin/x86_64-portbld-freebsd9.3-gcc-5.2.1 /usr/local/bin/gcc5
[root@devbox, gcc5-devel, 10:03:48am] 919 %
The isl pkg is indeed installed:
[root@devbox, gcc5-devel, 10:04:43am] 920 % lltr /usr/local/lib/*isl*
-rw-r--r-- 1 root wheel 3939 Nov 5 22:11
/usr/local/lib/libisl.so.15.0.0-gdb.py
-rwxr-xr-x 1 root wheel 1837643 Nov 5 22:11
/usr/local/lib/libisl.so.15.0.0*
lrwxr-xr-x 1 root wheel 16 Nov 5 22:11
/usr/local/lib/libisl.so.15@ -> libisl.so.15.0.0
lrwxr-xr-x 1 root wheel 16 Nov 5 22:11
/usr/local/lib/libisl.so@ -> libisl.so.15.0.0
-rw-r--r-- 1 root wheel 2840094 Nov 5 22:11 /usr/local/lib/libisl.a
-rwxr-xr-x 1 root wheel 191941 Nov 6 00:04
/usr/local/lib/libcloog-isl.so.4.0.0*
lrwxr-xr-x 1 root wheel 21 Nov 6 00:04
/usr/local/lib/libcloog-isl.so.4@ -> libcloog-isl.so.4.0.0
lrwxr-xr-x 1 root wheel 21 Nov 6 00:04
/usr/local/lib/libcloog-isl.so@ -> libcloog-isl.so.4.0.0
-rw-r--r-- 1 root wheel 257274 Nov 6 00:04
/usr/local/lib/libcloog-isl.a
/usr/local/lib/cloog-isl:
total 5
-rw-r--r-- 1 root wheel 813 Nov 6 00:04 cloog-isl-config.cmake
/usr/local/lib/isl:
total 5
-rw-r--r-- 1 root wheel 670 Nov 6 00:04 isl-config.cmake
[root@devbox, gcc5-devel, 10:04:44am] 920 %
Why are the port-compiled gcc5-devel & the pkg-installed gcc5 identical ?
How do I get the gcc5-devel to recompile (not just relink) to recover
Graphite support ?
--
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"