Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: It seems that I find a zle -F full CPU bug
- X-seq: zsh-users 18955
- From: Dominic Hopf <dmaphy@xxxxxxxxxxxxxx>
- To: Nick Cross <nick@xxxxxxxxx>
- Subject: Re: It seems that I find a zle -F full CPU bug
- Date: Thu, 17 Jul 2014 17:52:29 +0200
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, lilydjwg <lilydjwg@xxxxxxxxx>, zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ktin8SYKIa36hvx1aM0u8ZTU/sTQEgf6VGce3oZJhRU=; b=hWlsS0fX6cG5SqmfFjhnPQ4UK5lJq9FqCfwLwQkRmTc+HleihogPLfmgTNGEpUaJoc 7WCT90CLwi57/XHOroT8yMVHtk+zSiqWE//7wGLSZxg4xOKuij/Z/MHyTapTEp9LQ8MA NgStKyBEvLvUyEa5a+a/MNAyh1lSgY644BxKk/2mMGG9WtIw/gqTxxNK6tcJi5SO5eSq z2rexvRcQnM463FTRhqsW0V9IrT593MqlwEuwJSW3BpsBwSFc+Pef8JxzoIbruQSjnUK A04wnWjBoVzv1mS+eMb/Bkv7DILtYv+y8tFH1bdzS8gRlRagFEl/Sar5xFWLXJctOW7H TIJA==
- In-reply-to: <53C7D504.3020401@goots.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20140220050415.GA29027@lilyforest> <CAH+w=7Z+R_ZexSkesp2z+ndooHStOGJcMeWXtD7HCunjqJp9-Q@mail.gmail.com> <20140220094053.137da74f@pwslap01u.europe.root.pri> <20140220131659.GA21182@lilyforest> <53C6845E.7020203@goots.org> <140716090154.ZM2509@torch.brasslantern.com> <53C6B209.8070700@goots.org> <140716105020.ZM2677@torch.brasslantern.com> <53C7D504.3020401@goots.org>
Greetings,
I've tried applying the patch for the Fedora but unfortunately the build fails with attached output. Basically, I just did a
git diff -u 79abe00e1d73b3f0681343a70e3e7f84e5e3d647 7e04c1a53ddada7a848753d151e18f9469788b98 -- Doc/Zsh/zle.yo Src/Zle/zle_main.c >| ~/rpmbuild/SOURCES/0001-zsh-fix-cpuload-issue.patch
to create the patch I'm applying in the SPEC file. Is this something I have done wrong?
Regards,.
Dominic
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_bindings..o zle_bindings.c
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_hist..o zle_hist.c
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_keymap..o zle_keymap.c
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_main..o zle_main.c
zle_main.c: In function ‘zleread’:
zle_main.c:1256:2: warning: implicit declaration of function ‘viinsert_init’ [-Wimplicit-function-declaration]
viinsert_init();
^
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_misc..o zle_misc.c
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_move..o zle_move.c
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_params..o zle_params.c
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_refresh..o zle_refresh.c
zle_refresh.c: In function ‘zrefresh’:
zle_refresh.c:1646:17: warning: ‘rprompt_off’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vcs = winw - rprompt_off;
^
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_thingy..o zle_thingy.c
ccache gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -o zle_tricky..o zle_tricky.c
zle_tricky.c: In function ‘docomplete’:
zle_tricky.c:614:9: error: ‘undoing’ undeclared (first use in this function)
if (undoing)
^
zle_tricky.c:614:9: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [zle_tricky..o] Error 1
make[3]: Leaving directory `/home/dmaphy/rpmbuild/BUILD/zsh-5.0.5/Src/Zle'
make[2]: *** [modules] Error 1
make[2]: Leaving directory `/home/dmaphy/rpmbuild/BUILD/zsh-5.0.5/Src'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/dmaphy/rpmbuild/BUILD/zsh-5.0.5/Src'
make: *** [all] Error 1
Messages sorted by:
Reverse Date,
Date,
Thread,
Author