unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#22342: Infinite loop when GUILE_FOR_BUILD == guile
@ 2016-01-10 20:28 Peter TB Brett
  2016-08-07 11:29 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Peter TB Brett @ 2016-01-10 20:28 UTC (permalink / raw)
  To: 22342

I ran across an interesting problem while cross-compiling Guile 2.0.11 
with MinGW.

"GEN guile-procedures.texi" sat in an infinite loop, due to meta/guile 
exec-ing itself in a tight loop.

This was because I had set GUILE_FOR_BUILD to "guile" in my configure 
invocation.  In the uninstalled_env environment, "guile" is 
"meta/guile", not my installed version of guile in my PATH.

It might be helpful for configure to insist that GUILE_FOR_BUILD is an 
absolute path in order to avoid this happening to other naive 
cross-compiling users!

                                   Peter






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#22342: Infinite loop when GUILE_FOR_BUILD == guile
  2016-01-10 20:28 bug#22342: Infinite loop when GUILE_FOR_BUILD == guile Peter TB Brett
@ 2016-08-07 11:29 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2016-08-07 11:29 UTC (permalink / raw)
  To: Peter TB Brett; +Cc: 22342-done

Fixed in master; we capture the full path to GUILE_FOR_BUILD.  Cheers :)

Andy

On Sun 10 Jan 2016 21:28, Peter TB Brett <peter@peter-b.co.uk> writes:

> I ran across an interesting problem while cross-compiling Guile 2.0.11
> with MinGW.
>
> "GEN guile-procedures.texi" sat in an infinite loop, due to meta/guile
> exec-ing itself in a tight loop.
>
> This was because I had set GUILE_FOR_BUILD to "guile" in my configure
> invocation.  In the uninstalled_env environment, "guile" is
> "meta/guile", not my installed version of guile in my PATH.
>
> It might be helpful for configure to insist that GUILE_FOR_BUILD is an
> absolute path in order to avoid this happening to other naive
> cross-compiling users!
>
>                                   Peter





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-07 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-10 20:28 bug#22342: Infinite loop when GUILE_FOR_BUILD == guile Peter TB Brett
2016-08-07 11:29 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).