On 10/20/07, Shahzad Muzaffar <[EMAIL PROTECTED]> wrote:
> I have this Makefile (attached) and when I run it with -j 8 then I get
> random segmentation fault(not always on same point). Running it without
> -j option works fine and I do not get segmentation fault all the time
> (it is just random).

This makefile causes no problems for me under OpenBSD, running either
version 3.80 or 3.81.  Yes, I ran it many times.  You should have
included the actual operating system that you're using in your bug
report.

You should also check whether you can reproduce this with GNU make
version 3.81, which has been out for over 18 months.


> My guess is that as I calculate values for some
> variable only on fly so may be when run with -j option, two threads try
> to calculate/access the same variable and that causes a crash.

GNU make does not use threads, so this explanation cannot be correct.


Philip Guenther


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to