On 24/04/17 21:51, Jeffrey Lee wrote:
> Hi,
>
> Over the weekend I had a go at building GCCSDK on a fresh install of
> Lubuntu 17.04, using the default GCC + makeinfo/texinfo packages (GCC
> 6.3.0 & makeinfo 6.3).
>
> GCC 6.3 didn't like the version of PPL we're using (it complained about
> some classes which contained a "[]" flexible array as the last member).
> So I've fixed that by updating to the latest version of PPL (which
> allows us to drop some now redundant patches, but also introduces a
> couple of new patches because GCC and cloog had bogus PPL version
> checks). AIUI more recent versions of GCC have dropped PPL in favour of
> a different library ("isl"), so I'll leave it to you to decide whether
> updating the PPL version is worth it or not (it's possible it's affected
> code generation/optimisation, since GCC built with new PPL seems to
> produce different binaries compared to other builds of GCC with old PPL)
>
> Meanwhile, makeinfo barfed at a couple of pieces of dodgy syntax in the
> GCC docs. Checking against the latest GCC sources shows that they've
> changed that part of the docs to use an alternative syntax, which looks
> like it should be supported under all the makeinfo versions we support:
>
> https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/doc/gcc.texi?r1=203064&r2=203065&
>
>
> After patching the above issues I was able to build functioning versions
> of the cross-compiler and native compiler. Patches attached.
Thanks for that Jeffrey, I'll probably update PPL to begin with and look
at ISL later.
Lee.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment