Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547950 - app-shells/zsh-5.0.7-r2 builds but has runtime errors with GCC 5
Summary: app-shells/zsh-5.0.7-r2 builds but has runtime errors with GCC 5
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
Depends on:
Blocks: gcc-5
  Show dependency tree
Reported: 2015-04-28 03:08 UTC by Aric Belsito
Modified: 2015-10-02 13:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

Fixes ZSH problems with GCC 5. (zsh-5.0.7-gcc5.patch,978 bytes, patch)
2015-04-28 03:09 UTC, Aric Belsito
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aric Belsito 2015-04-28 03:08:33 UTC
CPP needs to be passed the "-P" option when parsing two files.

Reproducible: Always

Steps to Reproduce:
1.Try to build zsh with gcc 5.1
2.It builds
3.Try to run zsh
4.It sometimes segfaults, sometimes works with wonky completion errors.
Comment 1 Aric Belsito 2015-04-28 03:09:41 UTC
Created attachment 402132 [details, diff]
Fixes ZSH problems with GCC 5.

Here's a patch that fixes the bug.
Comment 2 Martin Väth 2015-10-02 11:31:35 UTC
Is the issue still there with zsh-5.1.1?
I seem to recall that upstream had added code to some awk files to hande line number markers correctly.