<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_kernel_zuk_msm8996.git/scripts/gcc-wrapper.py, branch master</title>
<subtitle>null
</subtitle>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/'/>
<entry>
<title>Revert "scripts: gcc-wrapper: Use wrapper to check compiler warnings"</title>
<updated>2020-02-01T23:40:01+00:00</updated>
<author>
<name>Thierry Strudel</name>
<email>tstrudel@google.com</email>
</author>
<published>2016-10-19T19:12:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=287df0c4d9f48c534a477d4d808b3e1e4db767bb'/>
<id>287df0c4d9f48c534a477d4d808b3e1e4db767bb</id>
<content type='text'>
This reverts commit cc95d2b6c234982b6b54a0b82e0ca5c5c1361f57.

Change-Id: I40fa79992814f1a24174137f7b95a1e19a86828d
Link: https://android.googlesource.com/kernel/msm/+/0a659ab3a797c3311d0f697e9b443054ace9a4aa
Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit cc95d2b6c234982b6b54a0b82e0ca5c5c1361f57.

Change-Id: I40fa79992814f1a24174137f7b95a1e19a86828d
Link: https://android.googlesource.com/kernel/msm/+/0a659ab3a797c3311d0f697e9b443054ace9a4aa
Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts: gcc-wrapper: Route the GCC errors to stderr</title>
<updated>2019-04-08T09:48:17+00:00</updated>
<author>
<name>Shadab Naseem</name>
<email>snaseem@codeaurora.org</email>
</author>
<published>2019-02-20T07:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=3c2fc2e200ee1011f9d510c752782a4bdcab49b6'/>
<id>3c2fc2e200ee1011f9d510c752782a4bdcab49b6</id>
<content type='text'>
The GCC wrapper writes any error message from GCC to stdout
along with the messages from the wrapper itself. This is okay
for most case, but when GCC is used with -print-xxx flags,
the stdout output is supposed to be taken as input to some
other build command, so putting error messages in there is
pretty bad. Fix this by writing error messages to stderr.

Change-Id: I4656033f11ba5212fdcc884cc588f8b9d2c23419
Signed-off-by: Shadab Naseem &lt;snaseem@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The GCC wrapper writes any error message from GCC to stdout
along with the messages from the wrapper itself. This is okay
for most case, but when GCC is used with -print-xxx flags,
the stdout output is supposed to be taken as input to some
other build command, so putting error messages in there is
pretty bad. Fix this by writing error messages to stderr.

Change-Id: I4656033f11ba5212fdcc884cc588f8b9d2c23419
Signed-off-by: Shadab Naseem &lt;snaseem@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts: gcc-wrapper: allow a few forbidden warnings</title>
<updated>2016-03-24T03:57:41+00:00</updated>
<author>
<name>David Keitel</name>
<email>dkeitel@codeaurora.org</email>
</author>
<published>2016-03-21T17:42:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=6ccaf2a5942735433b0a5f2600f6a93e8dce4b54'/>
<id>6ccaf2a5942735433b0a5f2600f6a93e8dce4b54</id>
<content type='text'>
Bypass a few forbidden warnings to allow msm_defconfig to build.

Signed-off-by: David Keitel &lt;dkeitel@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bypass a few forbidden warnings to allow msm_defconfig to build.

Signed-off-by: David Keitel &lt;dkeitel@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts: Call out python2 explicitly</title>
<updated>2016-03-24T03:51:59+00:00</updated>
<author>
<name>David Brown</name>
<email>davidb@codeaurora.org</email>
</author>
<published>2015-04-23T21:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=0bba5777adc04175f19ba9fedb40c02c157b5e6e'/>
<id>0bba5777adc04175f19ba9fedb40c02c157b5e6e</id>
<content type='text'>
Many systems these days have both python2 and python3 installed.  The
unversioned executable `python` may point to either version.  Per
https://www.python.org/dev/peps/pep-0394/ , scripts that need Python 2
should explicitly call this out in the shebang line.

These build scripts are both specific to python 2, so call this out in
the shebang line.

Change-Id: I11f70c341e484254dc1679db65c2ed5ac61e510f
Signed-off-by: David Brown &lt;davidb@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many systems these days have both python2 and python3 installed.  The
unversioned executable `python` may point to either version.  Per
https://www.python.org/dev/peps/pep-0394/ , scripts that need Python 2
should explicitly call this out in the shebang line.

These build scripts are both specific to python 2, so call this out in
the shebang line.

Change-Id: I11f70c341e484254dc1679db65c2ed5ac61e510f
Signed-off-by: David Brown &lt;davidb@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts: gcc-wrapper: bypass forbidden warnings with gcc5</title>
<updated>2016-03-24T03:51:59+00:00</updated>
<author>
<name>Se Wang (Patrick) Oh</name>
<email>sewango@codeaurora.org</email>
</author>
<published>2015-06-26T02:15:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=f98d3ccfabe542416cc8ba6163f1b4f12dae08a1'/>
<id>f98d3ccfabe542416cc8ba6163f1b4f12dae08a1</id>
<content type='text'>
Bypass forbidden warnings in code coming from upstream in order to
avoid compilation errors with gcc5.
sysrq.c:956:33: warning: array subscript is above array bounds
hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit'
discards 'const' qualifier from pointer target type

Change-Id: I5056078112fdc457c424c0f49c4dca70c6b97c29
Signed-off-by: Se Wang (Patrick) Oh &lt;sewango@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bypass forbidden warnings in code coming from upstream in order to
avoid compilation errors with gcc5.
sysrq.c:956:33: warning: array subscript is above array bounds
hci_sock.c:980:8: warning: passing argument 2 of 'hci_test_bit'
discards 'const' qualifier from pointer target type

Change-Id: I5056078112fdc457c424c0f49c4dca70c6b97c29
Signed-off-by: Se Wang (Patrick) Oh &lt;sewango@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts: gcc-wrapper: Allow upstream forbidden warnings</title>
<updated>2016-03-24T03:51:55+00:00</updated>
<author>
<name>Ian Maund</name>
<email>imaund@codeaurora.org</email>
</author>
<published>2015-05-27T01:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=f47e8c37436c82494c3604fa36326da2d444299e'/>
<id>f47e8c37436c82494c3604fa36326da2d444299e</id>
<content type='text'>
Bypass forbidden warnings in code coming from upstream in order to
avoid compilation errors for msm-3.18 and remove bypassed warnings
from msm-3.14.

Signed-off-by: Ian Maund &lt;imaund@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bypass forbidden warnings in code coming from upstream in order to
avoid compilation errors for msm-3.18 and remove bypassed warnings
from msm-3.14.

Signed-off-by: Ian Maund &lt;imaund@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts: gcc-wrapper: Use wrapper to check compiler warnings</title>
<updated>2016-03-24T03:51:51+00:00</updated>
<author>
<name>David Brown</name>
<email>davidb@codeaurora.org</email>
</author>
<published>2014-09-14T18:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.compromyse.xyz/android/android_kernel_zuk_msm8996.git/commit/?id=cc95d2b6c234982b6b54a0b82e0ca5c5c1361f57'/>
<id>cc95d2b6c234982b6b54a0b82e0ca5c5c1361f57</id>
<content type='text'>
Rather than telling gcc to make warnings as errors, and then hunting
down make rules to disable this, leave them as warnings, but invoke
gcc through a wrapper that checks the warnings against a whitelist.

The initial whitelist comes from the warnings in the current build,
all of which have been allowed through Make overrides.

Change-Id: I5e0b199f9803d072537eeb77cb38d91cc06e951b
Signed-off-by: David Brown &lt;davidb@codeaurora.org&gt;
[mattw@codeaurora.org: update allowed_warnings for msm-3.14]
Signed-off-by: Matt Wagantall &lt;mattw@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than telling gcc to make warnings as errors, and then hunting
down make rules to disable this, leave them as warnings, but invoke
gcc through a wrapper that checks the warnings against a whitelist.

The initial whitelist comes from the warnings in the current build,
all of which have been allowed through Make overrides.

Change-Id: I5e0b199f9803d072537eeb77cb38d91cc06e951b
Signed-off-by: David Brown &lt;davidb@codeaurora.org&gt;
[mattw@codeaurora.org: update allowed_warnings for msm-3.14]
Signed-off-by: Matt Wagantall &lt;mattw@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
