Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 547950

Summary: app-shells/zsh-5.0.7-r2 builds but has runtime errors with GCC 5
Product: Gentoo Linux Reporter: Aric Belsito <lluixhi>
Component: [OLD] GCC PortingAssignee: Tim Harder <radhermit>
Status: RESOLVED FIXED    
Severity: normal CC: lucy, martin, rhill
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 536984    
Attachments: Fixes ZSH problems with GCC 5.

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.