Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh parser segmentation fault in strcatsub



On Mon, May 15, 2017 at 6:36 PM, Eduardo Bustamante <dualbus@xxxxxxxxx>
wrote:
> On Mon, May 15, 2017 at 7:48 PM, Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
> [...]
>> You are not using "-f". Is it possible that a setting in a startup
>> file is affecting this?
>
> How do you build Zsh?

However "configure" does by default; I'm not attempting anything special
with CFLAGS.

For the .o files the command is e.g.:
gcc -c -I. -I../Src -I../Src -I../Src/Zle -I. -DHAVE_CONFIG_H -Wall
-Wmissing-prototypes -ggdb -o mem.o mem.c

For the final link:
gcc -g -rdynamic -o zsh main.o `cat stamp-modobjs`
-L/usr/lib/x86_64-linux-gnu -lpcre -ldl -lncursesw -lrt -lm -lc

If I run it without -n, I get something like
strcatsub:1: command not found: 14507000000000000


Messages sorted by: Reverse Date, Date, Thread, Author