GCC48 question

William A. Mahaffey III wam at hiwaay.net
Sun Nov 8 02:34:26 UTC 2015


On 11/05/15 09:45, William A. Mahaffey III wrote:
>
>
> I am attempting to compile some inhouse code using gcc48 under FreeBSD 
> 9.3R. The man page describes in detail how to get it to produce 
> multi-threaded parallel code (-apo under SGI IRIX (snif), -parallel 
> under icc/ifort). When I add those options to my makefile & try to use 
> them to compile my code, I get the following:
>
>
> gcc48 -DNDEBUG -DUNDER_SCORE_SYS -DLOSE_GAMMAL -I../include -I~/inc 
> -I../Properties -I../TEST -I../pre  -march=opteron -mtune=opteron -O3 
> -floop-strip-mine -floop-blo
> ck -fprefetch-loop-arrays -floop-parallelize-all 
> -ftree-parallelize-loops=4 -fopt-info -c mpi.c mpprime.c
> mpi.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot be 
> used (-fgraphite, -fgraphite-identity, -floop-block, 
> -floop-interchange, -floop-strip-mine, -fl
> oop-parallelize-all, and -ftree-loop-linear)
>  /*
>  ^
> mpprime.c:1:0: sorry, unimplemented: Graphite loop optimizations 
> cannot be used (-fgraphite, -fgraphite-identity, -floop-block, 
> -floop-interchange, -floop-strip-mine,
>  -floop-parallelize-all, and -ftree-loop-linear)
>  /*
>  ^
> *** [../lib/R4/opteron/libmpi.a] Error code 1
> 1 error
> `usual' not remade because of errors.
>
>
> for each 'arch' tried (opteron, barcelone, etc.). How do I find out 
> how to get my gcc48 to use those optimizations ? TIA & have a good one.



Update: I also pkg-installed amd64-gcc-5.2.0 & get the same thing. Is 
there some sort of licensing issue w/ including Graphite in the various 
FreeBSD GCC's ? TIA for any info & have a good one.

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list