Re: how to use a different /bin/sh with GNU Make?

2015-10-16 Thread Mark Galeck
Make 3.81 segfaults if "goto slow" is inserted just before line 2340: if (shell == 0) shell = default_shell; because then, the following line shell = default_shell; is not executed and shell is still 0 at (current) line 2710: bcopy(shell, ap, shell_len); The next suitable place to

Re: how to use a different /bin/sh with GNU Make?

2015-10-16 Thread Tim Murphy
It's just a slight shame to now be debugging 3.81 instead of 4. Regards, Tim On 16 October 2015 at 09:27, Mark Galeck wrote: > Make 3.81 segfaults if "goto slow" is inserted just before line 2340: > > if (shell == 0) > shell = default_shell; > > > because then, the following line > >

Re: how to use a different /bin/sh with GNU Make?

2015-10-16 Thread Paul Smith
On Fri, 2015-10-16 at 08:27 +, Mark Galeck wrote: > Here. Please don't be offended that I criticize the code you possibly > wrote. I did not mean to. I just want to excuse why I find it > necessary to ask you to help me. I didn't write it; it's existed since forever. But the main problem i

Please help check one issue with make[3.82] for Android source code build

2015-10-16 Thread liny_pyp
Hi: I am using Ubuntu(15.04) environment to build the android source code. For the android K version, it needs the Make version as 3.81 or 3.82, and I used the 3.82 version as below: liny@liny:~/mine/$ make --version GNU Make 3.82 Built for x86_64-unknown-linux-gnu Copyright (C) 2010 Free Softwa

Re: Please help check one issue with make[3.82] for Android source code build

2015-10-16 Thread Paul Smith
Please choose just one mailing list to ask your question on, rather than sending it to multiple lists at a time. On Fri, 2015-10-16 at 23:18 +0800, liny_pyp wrote: > Hi: > I am using Ubuntu(15.04) environment to build the android source code. > For the android K version, it needs the Make version

Re: how to use a different /bin/sh with GNU Make?

2015-10-16 Thread Mark Galeck
Well, I know I am asking about 3.81 and I am sorry.  I don't have a choice, 3.81 is incompatible with 3.82 and forward and we are using 3.81 in that jail.   From: Tim Murphy To: Mark Galeck Cc: "psm...@gnu.org" ; "help-make@gnu.org" Sent: Friday, October 16, 2015 2:22 AM Subject: Re:

Re: ./configure Make sources runs, but compiled make segfaults - is this a bug?

2015-10-16 Thread Mark Galeck
OK, the reason when I recompile Make 4.1 (without any changes) and then it immediately segfaults on my system is this: in the file main.c on line 1404: define_variable_cname ("MAKE_TERMOUT", TTYNAME (fileno (stdout)),                               o_default, 0)->export = v_export; this is a macro

Re: ./configure Make sources runs, but compiled make segfaults - is this a bug?

2015-10-16 Thread Dan Kegel
You may need this commit, which was after 4.1, if I read git history correctly: commit 292da6f6867b75a5af7ddbb639a1feae022f438f Author: Paul Smith Date: Mon Oct 20 01:54:56 2014 -0400 * main.c (main): [SV 43434] Handle NULL returns from ttyname(). Try getting the latest from git; see http

Re: ./configure Make sources runs, but compiled make segfaults - is this a bug?

2015-10-16 Thread Mark Galeck
Thank you Dan, sorry for being so dumb but...  there is no "configure" script in there, what am I missing?? From: Dan Kegel Try getting the latest from git; see http://savannah.gnu.org/git/?group=make - Dan ___ Help-make mailing list Help

Re: ./configure Make sources runs, but compiled make segfaults - is this a bug?

2015-10-16 Thread Dan Kegel
To generate the configure script (usually something done just before release), I think you run autoreconf -i You may need to install the autoconf and autopoint packages for that to succeed. Then, after running configure, do make update make You may need to install the package texinfo for t

Re: ./configure Make sources runs, but compiled make segfaults - is this a bug?

2015-10-16 Thread Mark Galeck
Yes, I could have read the file README.git after getting the code from git - perhaps it is obvious that this is the file to read, well it was not obvious to me. From: Dan Kegel To: Mark Galeck Cc: Tim Murphy ; Paul D. Smith ; "help-make@gnu.org" Sent: Friday, October 16, 2015 7:29