On Tue, May 22, 2012 at 05:23:50PM +0200, gregor herrmann wrote:
> On Sat, 12 May 2012 16:50:18 +0200, Anton Ertl wrote:
> > This may be due to a bug in Gforth uncovered by gcc-4.7.  The fix is:
> > 
> > http://www.complang.tuwien.ac.at/viewcvs/cgi-bin/viewcvs.cgi/gforth/prim?sortby=date&r2=1.271&r1=1.270
> 
> With the patch it fails later; log attached.

Your log shows a much earlier failure (before the engine is even
compiled).

What it shows is that it is actually trying to bootstrap itself, which
needs an installed Gforth; not sure if you have that in the
dependencies (if you don't have that, that may be the cause of the
failure).  That's certainly not necessary for the GNU .tar.gz package
we distribute, which contains all the generated files that are
generated in bootstrapping.

> GFORTH="./preforth -p ".:~+:."" ./gfgen

This step requires either an already-installed Gforth or it must be
performed only after the engine is built.

My guess is that the way you patch it makes prim newer than prim.i, so
it wants to build prim.i, and for that step a running Gforth engine is
needed.

The options you have are

1) Require an installed gforth for building gforth.

2) Patch prim.b and engine/prim.i as well, and make sure that prim.b
is not older than prim and engine/prim.i is not older than prim.b.

- anton



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to