On Fri, Jan 27, 2017 at 11:14:23AM +0000, James Cowgill wrote:
> On Fri, 20 Jan 2017 18:21:39 +0100 Matthias Klose <[email protected]> wrote:
> > Package: src:gprolog
> > Version: 1.4.5-4
> > Severity: serious
> > Tags: sid stretch
> > User: [email protected]
> > Usertags: non-standard-compiler, gcc-5, gcc-5-legacy
> >
> > This package builds with a non standard compiler version; please check
> > if this package can be built with the default version of gcc/g++, or
> > with gcc-6/g++-6.
>
> It looks like the original GCC ICE (which is the reason gcc-5 is used)
> might be this upstream bug:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78580
>
> However it is only fixed in gcc-7 at the moment.
You found the correct upstream bug (thanks!), but it seems this is not
sufficient for building gprolog with gcc 6 on i386.
After applying the pr78580 fix to gcc 6, the build fails later with:
...
gplc -c --fast-math fd2c.pl
compilation failed
Makefile:10: recipe for target 'fd2c.o' failed
As a workaround, the build succeeds on i386 (even without the pr78580 fix)
when I configure with --disable-regs.
> James
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed