[bug #67046] .EXTRA_PREREQS causes a segfault.
Dmitry Goncharov <[email protected]>
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #1, bug #67046 (group make):
A user reported a crash caused by .EXTRA_PREREQS carrying a large number of
prerequisites.
The original bug report is here
https://lists.gnu.org/archive/html/bug-make/2025-04/msg00009.html.
$ ls
makefile
$ cat makefile
list := $(shell for n in $$(seq 1 1000); do echo file_$$n; done)
all: .EXTRA_PREREQS := $(list)
all:; echo "fin"
$ make
Segmentation fault (core dumped)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67046>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaAhUDgAKCRCqLAuaBUf3 TkRjAQDYmsi9RfCD9e5dfn2GIxFFf0cXcDQyMnFKucP1grmQFQEA6KBT7IaTWBNp Eah5G12EyHwfedddCt8O5smuhvmOJgo= =+wol -----END PGP SIGNATURE-----