Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 2015 20:39:52 -0553.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
To:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: GCC48 question
Message-ID:  <563EB4AE.20502@hiwaay.net>
In-Reply-To: <563B7869.4010409@hiwaay.net>
References:  <563B7869.4010409@hiwaay.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?563EB4AE.20502>