Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2015 21:03:43 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        "William A. Mahaffey III" <wam@hiwaay.net>, freebsd-toolchain@freebsd.org
Subject:   Re: [toolchain] amd64-gcc question
Message-ID:  <20151115200342.GI93991@ivaldir.etoilebsd.net>
In-Reply-To: <alpine.LSU.2.20.1511151211480.4990@anthias>
References:  <56449EF8.7070806@hiwaay.net> <alpine.LSU.2.20.1511151211480.4990@anthias>

next in thread | previous in thread | raw e-mail | index | archive | help

--+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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151115200342.GI93991>