[MacPorts] #39046: zsh-5.0.2 fails with clang
#39046: zsh-5.0.2 fails with clang ---------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: zsh ---------------------+-------------------------------- zsh is currently failing to compile with clang due to it working around a bug in Apple's GCC. Don't use this workaround when compiling with clang. Patch attached. -- Ticket URL: <https://trac.macports.org/ticket/39046> MacPorts <http://www.macports.org/> Ports system for OS X
#39046: zsh-5.0.2 fails with clang ----------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: zsh | ----------------------+-------------------------------- Comment (by ionic@…): Also sent upstream: http://www.zsh.org/mla/workers/2013/msg00449.html -- Ticket URL: <https://trac.macports.org/ticket/39046#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39046: zsh-5.0.2 fails with clang ----------------------+---------------------- Reporter: ionic@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: zsh | ----------------------+---------------------- Changes (by larryv@…): * cc: larryv@… (removed) * keywords: => haspatch * status: new => assigned * owner: macports-tickets@… => larryv@… Comment: Replying to [ticket:39046 ionic@…]:
zsh is currently failing to compile with clang due to it working around a bug in Apple's GCC.
I just rebuilt zsh @5.0.2+universal, using clang-425.0.28. Please attach a log of your build failure. -- Ticket URL: <https://trac.macports.org/ticket/39046#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39046: zsh-5.0.2 fails with clang ----------------------+---------------------- Reporter: ionic@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: zsh | ----------------------+---------------------- Comment (by ionic@…): I can confirm zsh as such is building fine with clang, but not with ccache+clang. It's ccache messing up the source fed into clang. -- Ticket URL: <https://trac.macports.org/ticket/39046#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39046: zsh-5.0.2 fails with clang ----------------------+---------------------- Reporter: ionic@… | Owner: larryv@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: haspatch Port: zsh | ----------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => invalid Comment: Cool. The patch is probably fine for upstream, but I don’t like patching/`reinplace`-ing/molesting the source more than is necessary. -- Ticket URL: <https://trac.macports.org/ticket/39046#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39046: zsh-5.0.2 fails with clang ----------------------+---------------------- Reporter: ionic@… | Owner: larryv@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: haspatch Port: zsh | ----------------------+---------------------- Comment (by larryv@…): ccache does have a taste for mischief: http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html -- Ticket URL: <https://trac.macports.org/ticket/39046#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts