<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/Makefile, branch v3.12.72</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.12.72</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.12.72'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2017-03-14T13:14:18Z</updated>
<entry>
<title>Linux 3.12.72</title>
<updated>2017-03-14T13:14:18Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2017-03-14T13:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7a7a4d0abbf2630eabbcb833ee54b716ec33568b'/>
<id>urn:sha1:7a7a4d0abbf2630eabbcb833ee54b716ec33568b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.12.71</title>
<updated>2017-03-06T09:10:22Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2017-03-06T09:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6733ad64746e249e149efd8c01a342bcd51a906d'/>
<id>urn:sha1:6733ad64746e249e149efd8c01a342bcd51a906d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.12.70</title>
<updated>2017-01-27T16:15:03Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2017-01-27T10:52:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d7f41d3b297086cd8a263eb3c8b5dd97b7e70a32'/>
<id>urn:sha1:d7f41d3b297086cd8a263eb3c8b5dd97b7e70a32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.12.69</title>
<updated>2016-12-13T19:52:06Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2016-12-13T19:52:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3c3714c3bfc473a667c5d906a8fea778bedc0edb'/>
<id>urn:sha1:3c3714c3bfc473a667c5d906a8fea778bedc0edb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.12.68</title>
<updated>2016-11-28T21:22:53Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2016-11-25T08:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f19260acb98e5791e0429bcd1567aa422eeb585e'/>
<id>urn:sha1:f19260acb98e5791e0429bcd1567aa422eeb585e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kbuild: Steal gcc's pie from the very beginning</title>
<updated>2016-11-24T15:23:54Z</updated>
<author>
<name>Borislav Petkov</name>
<email>bp@suse.de</email>
</author>
<published>2016-11-14T18:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1899316d2b583b20c0751c1b1bf09333447bea90'/>
<id>urn:sha1:1899316d2b583b20c0751c1b1bf09333447bea90</id>
<content type='text'>
commit c6a385539175ebc603da53aafb7753d39089f32e upstream.

So Sebastian turned off the PIE for kernel builds but that was too late
- Kbuild.include already uses KBUILD_CFLAGS and trying to disable gcc
options with, say cc-disable-warning, fails:

  gcc -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
  ...
  -Wno-sign-compare -fno-asynchronous-unwind-tables -Wframe-address -c -x c /dev/null -o .31392.tmp
  /dev/null:1:0: error: code model kernel does not support PIC mode

because that returns an error and we can't disable the warning. For
example in this case:

KBUILD_CFLAGS   += $(call cc-disable-warning,frame-address,)

which leads to gcc issuing all those warnings again.

So let's turn off PIE/PIC at the earliest possible moment, when we
declare KBUILD_CFLAGS so that cc-disable-warning picks it up too.

Also, we need the $(call cc-option ...) because -fno-PIE is supported
since gcc v3.4 and our lowest supported gcc version is 3.2 right now.

Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Cc: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Cc: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</content>
</entry>
<entry>
<title>kbuild: add -fno-PIE</title>
<updated>2016-11-24T15:23:53Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>bigeasy@linutronix.de</email>
</author>
<published>2016-11-04T18:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a2729c7d5a6336411ad1ab7a518701e38ef8a44c'/>
<id>urn:sha1:a2729c7d5a6336411ad1ab7a518701e38ef8a44c</id>
<content type='text'>
commit 8ae94224c9d72fc4d9aaac93b2d7833cf46d7141 upstream.

Debian started to build the gcc with -fPIE by default so the kernel
build ends before it starts properly with:
|kernel/bounds.c:1:0: error: code model kernel does not support PIC mode

Also add to KBUILD_AFLAGS due to:

|gcc -Wp,-MD,arch/x86/entry/vdso/vdso32/.note.o.d … -mfentry -DCC_USING_FENTRY … vdso/vdso32/note.S
|arch/x86/entry/vdso/vdso32/note.S:1:0: sorry, unimplemented: -mfentry isn’t supported for 32-bit in combination with -fpic

Tagging it stable so it is possible to compile recent stable kernels as
well.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</content>
</entry>
<entry>
<title>Linux 3.12.67</title>
<updated>2016-11-08T15:38:32Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2016-11-07T12:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f39d88a0973bf45e3937e39b5cbbb93b8b161a62'/>
<id>urn:sha1:f39d88a0973bf45e3937e39b5cbbb93b8b161a62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.12.66</title>
<updated>2016-10-20T08:49:58Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2016-10-20T08:19:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e5dbd4b84ad7bfe4653876f9ea4411e699fac9ce'/>
<id>urn:sha1:e5dbd4b84ad7bfe4653876f9ea4411e699fac9ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 3.12.65</title>
<updated>2016-10-17T07:48:06Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2016-10-17T07:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=64124d136db6d4fe8508125c6378d8d3fe89ad0c'/>
<id>urn:sha1:64124d136db6d4fe8508125c6378d8d3fe89ad0c</id>
<content type='text'>
</content>
</entry>
</feed>
