<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/Makefile, branch v5.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=v5.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2022-07-31T21:03:01Z</updated>
<entry>
<title>Linux 5.19</title>
<updated>2022-07-31T21:03:01Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-07-31T21:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3d7cb6b04c3f3115719235cc6866b10326de34cd'/>
<id>urn:sha1:3d7cb6b04c3f3115719235cc6866b10326de34cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.19-rc8</title>
<updated>2022-07-24T20:26:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-07-24T20:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e0dccc3b76fb35bb257b4118367a883073d7390e'/>
<id>urn:sha1:e0dccc3b76fb35bb257b4118367a883073d7390e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.19-rc7</title>
<updated>2022-07-17T20:30:22Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-07-17T20:30:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ff6992735ade75aae3e35d16b17da1008d753d28'/>
<id>urn:sha1:ff6992735ade75aae3e35d16b17da1008d753d28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.19-rc6</title>
<updated>2022-07-10T21:40:51Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-07-10T21:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=32346491ddf24599decca06190ebca03ff9de7f8'/>
<id>urn:sha1:32346491ddf24599decca06190ebca03ff9de7f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.19-rc5</title>
<updated>2022-07-03T22:39:28Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-07-03T22:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=88084a3df1672e131ddc1b4e39eeacfd39864acf'/>
<id>urn:sha1:88084a3df1672e131ddc1b4e39eeacfd39864acf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.19-rc4</title>
<updated>2022-06-26T21:22:10Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-06-26T21:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=03c765b0e3b4cb5063276b086c76f7a612856a9a'/>
<id>urn:sha1:03c765b0e3b4cb5063276b086c76f7a612856a9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)</title>
<updated>2022-06-25T21:15:05Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>masahiroy@kernel.org</email>
</author>
<published>2022-06-23T19:11:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=53632ba87d9f302a8d97a11ec2f4f4eec7bb75ea'/>
<id>urn:sha1:53632ba87d9f302a8d97a11ec2f4f4eec7bb75ea</id>
<content type='text'>
If CONFIG_TRIM_UNUSED_KSYMS is enabled and the kernel is built from
a pristine state, the vmlinux is linked twice.

Commit 3fdc7d3fe4c0 ("kbuild: link vmlinux only once for
CONFIG_TRIM_UNUSED_KSYMS") explains why this happens, but it did not fix
the issue at all.

Now I realized I had applied a wrong patch.

In v1 patch [1], the autoksyms_recursive target correctly recurses to
"$(MAKE) -f $(srctree)/Makefile autoksyms_recursive".

In v2 patch [2], I accidentally dropped the diff line, and it recurses to
"$(MAKE) -f $(srctree)/Makefile vmlinux".

Restore the code I intended in v1.

[1]: https://lore.kernel.org/linux-kbuild/1521045861-22418-8-git-send-email-yamada.masahiro@socionext.com/
[2]: https://lore.kernel.org/linux-kbuild/1521166725-24157-8-git-send-email-yamada.masahiro@socionext.com/

Fixes: 3fdc7d3fe4c0 ("kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS")
Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
Tested-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
</content>
</entry>
<entry>
<title>Linux 5.19-rc3</title>
<updated>2022-06-19T20:06:47Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-06-19T20:06:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a111daf0c53ae91e71fd2bfe7497862d14132e3e'/>
<id>urn:sha1:a111daf0c53ae91e71fd2bfe7497862d14132e3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 5.19-rc2</title>
<updated>2022-06-12T23:11:37Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-06-12T23:11:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3'/>
<id>urn:sha1:b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gcc-12: disable '-Warray-bounds' universally for now</title>
<updated>2022-06-09T17:11:12Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-06-09T17:11:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f0be87c42cbd341d436d06da4792e6b0c83c3aeb'/>
<id>urn:sha1:f0be87c42cbd341d436d06da4792e6b0c83c3aeb</id>
<content type='text'>
In commit 8b202ee21839 ("s390: disable -Warray-bounds") the s390 people
disabled the '-Warray-bounds' warning for gcc-12, because the new logic
in gcc would cause warnings for their use of the S390_lowcore macro,
which accesses absolute pointers.

It turns out gcc-12 has many other issues in this area, so this takes
that s390 warning disable logic, and turns it into a kernel build config
entry instead.

Part of the intent is that we can make this all much more targeted, and
use this conflig flag to disable it in only particular configurations
that cause problems, with the s390 case as an example:

        select GCC12_NO_ARRAY_BOUNDS

and we could do that for other configuration cases that cause issues.

Or we could possibly use the CONFIG_CC_NO_ARRAY_BOUNDS thing in a more
targeted way, and disable the warning only for particular uses: again
the s390 case as an example:

  KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_CC_NO_ARRAY_BOUNDS),-Wno-array-bounds)

but this ends up just doing it globally in the top-level Makefile, since
the current issues are spread fairly widely all over:

  KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds

We'll try to limit this later, since the gcc-12 problems are rare enough
that *much* of the kernel can be built with it without disabling this
warning.

Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Nathan Chancellor &lt;nathan@kernel.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
