From owner-freebsd-toolchain@freebsd.org Sun Nov 15 20:03:47 2015 Return-Path: Delivered-To: freebsd-toolchain@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 CF918A3016B for ; Sun, 15 Nov 2015 20:03:47 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 706401F79 for ; Sun, 15 Nov 2015 20:03:47 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wmww144 with SMTP id w144so86164056wmw.1 for ; Sun, 15 Nov 2015 12:03:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=otzcnN/KzbM81m13apZKF2SdFetl/7qToszFZ0eysj8=; b=Z1z0a0t80rvE/zEFmpWJKOfB029Geh/5WOeQC/s7qq1QvT7ZNp2x4nFpMsrqB8yHQp engWRVBTBDLRs+bHeYrK14rMsZqEJyvQ8kXdH+u9tyWOqdSXSgfdOrD4jO4uJyJJirT0 TDTkpo9vccn/V1SUAuFqeXNiU2mMhEpgUbXowPo9hJyJ51Hw/rPOsMwIsJ5tEQk77R91 CsQrCP1d/eZhustsPO8ZknGiMw2sPFuIJSGbtYr8AGg3kGJFu4t9XKK00L5VX6ovysUF A++UWvusH9Wi6qtvMVHoK1tDmhrFYk+gU2gILxlSu8qOHftKm8FMyHk3QAlPx7Th7Cai XQIQ== X-Received: by 10.28.52.213 with SMTP id b204mr5736369wma.32.1447617825918; Sun, 15 Nov 2015 12:03:45 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id e79sm14932961wmd.16.2015.11.15.12.03.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Nov 2015 12:03:45 -0800 (PST) Sender: Baptiste Daroussin Date: Sun, 15 Nov 2015 21:03:43 +0100 From: Baptiste Daroussin To: Gerald Pfeifer Cc: "William A. Mahaffey III" , freebsd-toolchain@freebsd.org Subject: Re: [toolchain] amd64-gcc question Message-ID: <20151115200342.GI93991@ivaldir.etoilebsd.net> References: <56449EF8.7070806@hiwaay.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+PbGPm1eXpwOoWkI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2015 20:03:47 -0000 --+PbGPm1eXpwOoWkI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 15, 2015 at 08:52:00PM +0100, Gerald Pfeifer wrote: > On Thu, 12 Nov 2015, William A. Mahaffey III wrote: > > I pkg-installed amd64-gcc over the weekend hoping for Graphite=20 > > (auto-loop parallelization) support, but no go. >=20 > When you say "amd64-gcc" where did you obtain that from? As a=20 > FreeBSD port/package, or somewhere else? This is a port which is only intended to be used for cross building base wi= th a modern gcc, it is a "bastardized gcc" that should only be used as an extern= al toolchain for building base. >=20 > > just did a 'portsnap fetch upgrade' & there is now a port=20 > > for amd64-gcc, but it includes no files & no pkg-descr file. >=20 > This is a little weird. I have packaged GCC 4.6 (lang/gcc46),=20 > GCC 4.7 (lang/gcc47), GCC 4.8 (lang/gcc48), GCC 4.9 (lang/gcc49),=20 > GCC 5 (lang/gcc5 and lang/gcc5-devel) and GCC 6 snapshot (lang/gcc6-devel) > as well as the "canonical" version of GCC (lang/gcc, currently=20 > GCC 4.8 and in the process of being moved to GCC 4.9). >=20 > All of these build and package on amd64, feature pkg-descr, etc. > And as a FreeBSD user leveraging the official FreeBSD Ports Collection > is the recommended approach. >=20 > None of them would be called amd64-gcc or similar, though. >=20 > > I have gotten as far as running 'make showconfig' in the various gcc* & > > amd64-gcc directories to see what info I could get on default config > > options. In all cases they gave options & said to run 'make config' to > > change options. I didn't even see a 'config:' entry in the Makefiles > > (probably included from elsewhere, but I didn't chase it).=20 >=20 > Let's focus on lang/gcc5-devel, which is the most reasonable version > to enable Graphite for right now since GCC 5 is the current release > series and hence most stable, but also advanced, and the -devel port > is more suitable for making changes like this than the "production" > variant. >=20 > And indeed lang/gcc5-devel/Makefile already had the following lines,=20 > which is how options handling actually works: >=20 > OPTIONS_DEFINE=3D BOOTSTRAP > OPTIONS_DEFINE_i386=3D JAVA > OPTIONS_DEFINE_amd64=3D JAVA > OPTIONS_DEFAULT=3D BOOTSTRAP > OPTIONS_DEFAULT_i386=3D JAVA > OPTIONS_DEFAULT_amd64=3D JAVA >=20 > > I see no configure files for any of the gcc ports (I have the entire=20 > > ports tree downloaded & local, & freshly updated as of a few min. ago).= =20 > > What is the canonical/BPP (FreeBSD 9.3R) way of recompiling a port with= =20 > > different config flags ? > >=20 > > I did find ports/pkgs for the 2 main components apparently needed for= =20 > > Graphite support (cloog & ppl) & pkg-installed them over the weekend,= =20 > > so I am ready to go on that front. >=20 > If you check out the GCC release notes at=20 > https://gcc.gnu.org/gcc-5/changes.html > you will find that "The Graphite framework for loop optimizations no=20 > longer requires the CLooG library, only ISL version 0.14 (recommended)=20 > or 0.12.2." >=20 > I just committed changes to lang/gcc6-devel and lang/gcc5-devel to > add support for Graphite with a new option GRAPHITE. This is off > by default, but you can enable it, rebuild the port, and then have > what you've been looking for. >=20 > Gerald > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.o= rg" --+PbGPm1eXpwOoWkI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlZI5R4ACgkQ8kTtMUmk6EzmxACggT7dJGDDbxmuKjttIrAfH7sf 47UAnA+rjtuaST2K8Xb9/8s0A2opiocR =lq/0 -----END PGP SIGNATURE----- --+PbGPm1eXpwOoWkI--