Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Mike Marques
Sat, 01 Jul 1989 23:38
Making GNU Make 3.54 core dump
Author: Mike Marques
Date: Sat, 01 Jul 1989 23:38
Date: Sat, 01 Jul 1989 23:38
65 lines
3462 bytes
3462 bytes
Greetings... This is a really strange bug. The following Makefile causes GNU Make 3.54 to core dump but not GNU Make 3.48. Changing the Makefile by for instance removing the line 'dir: dir.o' or removing one of the elements of AMSMODULES seems to make the bug go away. yunexus$ ls Makefile Makefile~ core yunexus$ cat Makefile AMSMODULES= util.o bm.o io.o crc32.o queue.o groups.o databases.o field.o authorize.o userlog.o menu.o lastlog.o amsfunc.o quotas.o dir: dir.o libams.a: $(foreach filename, $(AMSMODULES), libams.a($(filename))) ranlib $@ yunexus$ make -v GNU Make version 3.54, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Segmentation fault (core dumped) yunexus$ /usr1/sys/gnu/make-3.48/make -v GNU Make version 3.48, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 1989 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make: *** No way to make target `dir.o'. Stop. yunexus$ gdb /usr/local/gnu/make core GDB 3.1.2, Copyright (C) 1988 Free Software Foundation, Inc. There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details. GDB is free software and you are welcome to distribute copies of it under certain conditions; type "info copying" to see the conditions. Reading symbol data from /usr/local/gnu/make...done. Core file is from "make". Program terminated with signal 11, Segmentation fault. Type "help" for a list of commands. (gdb) where #0 0x1b5e0 in kill () #1 0x3ca0 in fatal_error_signal (sig=11) (commands.c line 442) #2 0x18744 in _sigtramp () #3 0xd4b6 in define_variable (name=(char *) 0x33508 "filename", length=8, value=(char *) 0x22f94 "", origin=o_automatic, recursive=0) (variable.c line 127) #4 0xf2ba in expand_function (o=(char *) 0x2c952 "", function=function_foreach, text=(char *) 0x334c0 " libams.a($(filename))", end=(char *) 0x3328a ")") (function.c line 580) #5 0x10696 in handle_function (op=(char **) 0xeffecf8, stringp=(char **) 0xeffecf4) (function.c line 1107) #6 0xe180 in variable_expand (line=(char *) 0x33248 "libams.a: $(foreach filename, $(AMSMODULES), libams.a($(filename)))") (expand.c line 94) #7 0x89e8 in read_makefile (filename=(char *) 0x2cb10 "Makefile", type=0) (read.c line 452) #8 0x8016 in read_all_makefiles (makefiles=(char **) 0x0) (read.c line 145) #9 0x6f30 in main (argc=2, argv=(char **) 0xefffa04, envp=(char **) 0xefffa10) (main.c line 575) (gdb) Thanks for being so quick with bug fixes Roland. Mike -- Mike Marques | Usenet: ......!utzoo!yunexus!mike York University (Computing Services) | mike@nexus.yorku.ca -------------------------------------| Bitnet: mike@libra.yorku.ca Only visiting this planet... | Voice: (416) 736-5257
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads