From owner-freebsd-questions@freebsd.org Sun Nov 8 02:34:26 2015 Return-Path: Delivered-To: freebsd-questions@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 B5253A271B9 for ; Sun, 8 Nov 2015 02:34:26 +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 79355129A for ; Sun, 8 Nov 2015 02:34:26 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tA82YN2t003309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 7 Nov 2015 20:34:24 -0600 Subject: Re: GCC48 question To: FreeBSD Questions !!!! References: <563B7869.4010409@hiwaay.net> From: "William A. Mahaffey III" Message-ID: <563EB4AE.20502@hiwaay.net> Date: Sat, 7 Nov 2015 20:39:52 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <563B7869.4010409@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2015 02:34:26 -0000 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.