bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make goes into an infinite loop


From: Ian Lynagh
Subject: Re: make goes into an infinite loop
Date: Tue, 8 Jan 2013 21:57:09 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Jan 08, 2013 at 08:52:59AM -0800, David Boyce wrote:
> On Tue, Jan 8, 2013 at 8:37 AM, Ian Lynagh <address@hidden> wrote:
> > Well, ideally I'd like to find a solution that doesn't require all the
> > users to install a newer make. But I'll do some more diagnosis and see
> > what I find.

With 3.8.1, it's as I remembered:

    $ top
    15972 ian       20   0 84420  42m  884 R  100  1.2   4:20.49 make

    $ pstree -a -p -l 15972
    make,15972 -r --no-print-directory -f ghc.mk phase=final all

    $ strace -p 15972
    Process 15972 attached - interrupt to quit
    ^CProcess 15972 detached

With 3.82.90 the build succeeds.

> Yes. If it's a fixed bug then a little binary searching or a walk
> through the Changes file should find the details of the specific bug
> which may with luck lead to a workaround.

It's not an easy thing to binary search, as each run means 30mins of
compilation followed by looking to see if it's in an infinite loop.

I think what I'll do is to try to track down which change to the
makefiles tickled the bug, and see if that gives any clues for what the
problem might be, and how I might be able to work around it.


Thanks
Ian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]