[bug #54549] Segfault caused by makefile in make version 4.2.1

2018-08-21 Thread Martin Dorey
Follow-up Comment #1, bug #54549 (project make): Reproduced in yesterday's (or so) git: (gdb) bt #0 __memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:62 #1 0x00411468 in hash_find_slot (ht=ht@entry=0x124d550, key=key@entry=0x1248820) at src/hash.c:108 #2

[bug #54549] Segfault caused by makefile in make version 4.2.1

2018-08-21 Thread anonymous
URL: Summary: Segfault caused by makefile in make version 4.2.1 Project: make Submitted by: None Submitted on: Tue 21 Aug 2018 10:19:50 PM UTC Severity: 3 - Normal Item

Re: [bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-21 Thread Mark Galeck
I see, thank you Paul this is very helpful.  I know unfortunately this is going to happen to some of my users, and I don't want them to blame me :)  All these comments I will be able to give them some idea what the problem was.   From: Paul Smith To: Mark Galeck ; Andreas Schwab ;

Re: [bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-21 Thread Paul Smith
On Tue, 2018-08-21 at 06:32 +, Mark Galeck wrote: > Then why does the error say "make: ***" ? Shouldn't Make be more > robust and assertive in such a case, if a child crashes, to inform > the user that it is not Make code? That's the format that make uses when it shows that the recipe of a

Re: [bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-21 Thread Edward Welbourne
On Aug 21 2018, Mark Galeck wrote: >> Then why does the error say "make: ***" ? Andreas Schwab (21 August 2018 09:42) replied: > Because it's the messenger. Indeed. It remains that the message is apt to confuse a user. If the message included (at least the name of) the command that failed,

Re: [bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-21 Thread Andreas Schwab
On Aug 21 2018, Mark Galeck wrote: > Then why does the error say "make: ***" ? Because it's the messenger. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [bug #54529] [Makefile:5: foobar] Segmentation fault

2018-08-21 Thread Mark Galeck
No problem, thank you for explaining.  I still think that Make if it invokes a program directly, and the program crashes, Make should say something that will help the user understand it is not Make bug.  There has to be a way to print a more informative error message.  Does the error message as