<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/Makefile, branch v4.19</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2018-10-22T06:37:37Z</updated>
<entry>
<title>Linux 4.19</title>
<updated>2018-10-22T06:37:37Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-10-22T06:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d'/>
<id>urn:sha1:84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 4.19-rc8</title>
<updated>2018-10-15T05:20:24Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-10-15T05:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=35a7f35ad1b150ddf59a41dcac7b2fa32982be0e'/>
<id>urn:sha1:35a7f35ad1b150ddf59a41dcac7b2fa32982be0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge tag 'kbuild-fixes-v4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild</title>
<updated>2018-10-11T17:23:07Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-10-11T17:23:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e5337178f7023bd06a39c06e1fab88817559c0f3'/>
<id>urn:sha1:e5337178f7023bd06a39c06e1fab88817559c0f3</id>
<content type='text'>
Masahiro writes:
  "Kbuild fixes for v4.19 (2nd)
   - Fix warnings from recordmcount.pl when building with Clang
   - Allow Clang to use GNU toolchains correctly
   - Disable CONFIG_SAMPLES for UML to avoid build error"

* tag 'kbuild-fixes-v4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
  samples: disable CONFIG_SAMPLES for UML
  kbuild: allow to use GCC toolchain not in Clang search path
  ftrace: Build with CPPFLAGS to get -Qunused-arguments
</content>
</entry>
<entry>
<title>Linux 4.19-rc7</title>
<updated>2018-10-07T15:26:02Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-10-07T15:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0238df646e6224016a45505d2c111a24669ebe21'/>
<id>urn:sha1:0238df646e6224016a45505d2c111a24669ebe21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 4.19-rc6</title>
<updated>2018-09-30T14:15:35Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-09-30T14:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=17b57b1883c1285f3d0dc2266e8f79286a7bef38'/>
<id>urn:sha1:17b57b1883c1285f3d0dc2266e8f79286a7bef38</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 4.19-rc5</title>
<updated>2018-09-23T17:15:18Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-09-23T17:15:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84'/>
<id>urn:sha1:6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kbuild: allow to use GCC toolchain not in Clang search path</title>
<updated>2018-09-19T14:55:45Z</updated>
<author>
<name>Stefan Agner</name>
<email>stefan@agner.ch</email>
</author>
<published>2018-09-18T02:31:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ef8c4ed9db80261f397f0c0bf723684601ae3b52'/>
<id>urn:sha1:ef8c4ed9db80261f397f0c0bf723684601ae3b52</id>
<content type='text'>
When using a GCC cross toolchain which is not in a compiled in
Clang search path, Clang reverts to the system assembler and
linker. This leads to assembler or linker errors, depending on
which tool is first used for a given architecture.

It seems that Clang is not searching $PATH for a matching
assembler or linker.

Make sure that Clang picks up the correct assembler or linker by
passing the cross compilers bin directory as search path.

This allows to use Clang provided by distributions with GCC
toolchains not in /usr/bin.

Link: https://github.com/ClangBuiltLinux/linux/issues/78
Signed-off-by: Stefan Agner &lt;stefan@agner.ch&gt;
Reviewed-and-tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'linux-kselftest-4.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest</title>
<updated>2018-09-17T05:24:28Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2018-09-17T05:24:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c0747ad363fff90c2edf490fc089e3ae0920b410'/>
<id>urn:sha1:c0747ad363fff90c2edf490fc089e3ae0920b410</id>
<content type='text'>
Pulled kselftest fixes from Shuah:
 "This Kselftest fixes update for 4.9-rc5 consists of:

  -- fixes to build failures
  -- fixes to add missing config files to increase test coverage
  -- fixes to cgroup test and a new cgroup test for memory.oom.group"
</content>
</entry>
<entry>
<title>Linux 4.19-rc4</title>
<updated>2018-09-16T18:52:37Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2018-09-16T18:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7876320f88802b22d4e2daf7eb027dd14175a0f8'/>
<id>urn:sha1:7876320f88802b22d4e2daf7eb027dd14175a0f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tracing/Makefile: Fix handling redefinition of CC_FLAGS_FTRACE</title>
<updated>2018-09-12T18:32:18Z</updated>
<author>
<name>Paulo Zanoni</name>
<email>paulo.r.zanoni@intel.com</email>
</author>
<published>2018-09-10T17:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b1f4ff74fcb0e82664e8633cc225c2ad4234878a'/>
<id>urn:sha1:b1f4ff74fcb0e82664e8633cc225c2ad4234878a</id>
<content type='text'>
As a Kernel developer, I make heavy use of "make targz-pkg" in order
to locally compile and remotely install my development Kernels. The
nice feature I rely on is that after a normal "make", "make targz-pkg"
only generates the tarball without having to recompile everything.

That was true until commit f28bc3c32c05 ("tracing: Handle
CC_FLAGS_FTRACE more accurately"). After it, running "make targz-pkg"
after "make" will recompile the whole Kernel tree, making my
development workflow much slower.

The Kernel is choosing to recompile everything because it claims the
command line has changed. A diff of the .cmd files show a repeated
-mfentry in one of the files. That is because "make targz-pkg" calls
"make modules_install" and the environment is already populated with
the exported variables, CC_FLAGS_FTRACE being one of them. Then,
-mfentry gets duplicated because it is not protected behind an ifndef
block, like -pg.

To complicate the problem a little bit more, architectures can define
their own version CC_FLAGS_FTRACE, so our code not only has to
consider recursive Makefiles, but also architecture overrides.

So in this patch we move CC_FLAGS_FTRACE up and unconditionally
define it to -pg. Then we let the architecture Makefiles possibly
override it, and finally append the extra options later. This ensures
the variable is always fully redefined at each invocation so recursive
Makefiles don't keep appending, and hopefully it maintains the
intended behavior on how architectures can override the defaults..

Thanks Steven Rostedt and Vasily Gorbik for the help on this
regression.

Cc: Michal Marek &lt;michal.lkml@markovi.net&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Tvrtko Ursulin &lt;tvrtko.ursulin@intel.com&gt;
Cc: linux-kbuild@vger.kernel.org
Fixes: commit f28bc3c32c05 ("tracing: Handle CC_FLAGS_FTRACE more accurately")
Acked-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
Signed-off-by: Paulo Zanoni &lt;paulo.r.zanoni@intel.com&gt;
Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
</feed>
