Bug 74031 - xorg/util/imake/Makefile.am: gcc4.8's cpp breaks shebangs in xmkmf, others
Summary: xorg/util/imake/Makefile.am: gcc4.8's cpp breaks shebangs in xmkmf, others
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Monolithic (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-24 21:09 UTC by Greg Turner
Modified: 2014-03-24 19:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix Makefile.am (1.23 KB, text/plain)
2014-01-24 21:09 UTC, Greg Turner
no flags Details

Description Greg Turner 2014-01-24 21:09:05 UTC
Created attachment 92745 [details]
Fix Makefile.am

see #69439.

Makefile.am's recipes for shell scripts result in tons of blank lines before the shabangs, against gcc4.8+ cpp's.  Zany antics ensue.

Enclosed patch replicates fix that went in for #69439.  W4M and other reporter in #69439.

But... I wasn't sure if Makefile.am here is generated?

If so, sorry, but actual right thing to do should be readily deducible from the enclosed to the appropriate SME.
Comment 1 Julien Cristau 2014-03-24 19:48:31 UTC
http://cgit.freedesktop.org/xorg/util/imake/commit/?id=16e54de5d8c58a1d051a5f4bcb7357aa9f9facff

commit 16e54de5d8c58a1d051a5f4bcb7357aa9f9facff
Author: Greg Turner <gmt@be-evil.net>
Date:   Mon Mar 24 20:37:15 2014 +0100

    Pass files to cpp via CLI arg instead of stdin to workaround gcc 4.8 change
    
    Replicates Alan Coopersmith's fix for xinit.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74031
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.