linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] kcsan: Re-add GCC support, and compiler flags improvements
@ 2020-06-18  9:31 Marco Elver
  2020-06-18  9:31 ` [PATCH 1/3] kcsan: Re-add GCC as a supported compiler Marco Elver
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Marco Elver @ 2020-06-18  9:31 UTC (permalink / raw)
  To: elver, paulmck
  Cc: will, peterz, bp, tglx, mingo, dvyukov, cai, kasan-dev, linux-kernel

Re-add GCC as a supported compiler and clean up compiler flags.

To use KCSAN with GCC before GCC 11 is released, the following will get
a stable GCC 10 and cherry-pick the patches required for KCSAN support:

	git clone git://gcc.gnu.org/git/gcc.git && cd gcc
	git checkout -b gcc-10-for-kcsan releases/gcc-10.1.0
	git cherry-pick \
	    4089df8ef4a63126b0774c39b6638845244c20d2 \
	    ab2789ec507a94f1a75a6534bca51c7b39037ce0 \
	    06712fc68dc9843d9af7c7ac10047f49d305ad76
	./configure --prefix <your-prefix> --enable-languages=c,c++
	make -j$(nproc) && make install

Marco Elver (3):
  kcsan: Re-add GCC as a supported compiler
  kcsan: Simplify compiler flags
  kcsan: Disable branch tracing in core runtime

 Documentation/dev-tools/kcsan.rst | 3 ++-
 kernel/kcsan/Makefile             | 4 ++--
 lib/Kconfig.kcsan                 | 3 ++-
 scripts/Makefile.kcsan            | 2 +-
 4 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.27.0.290.gba653c62da-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-19 21:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18  9:31 [PATCH 0/3] kcsan: Re-add GCC support, and compiler flags improvements Marco Elver
2020-06-18  9:31 ` [PATCH 1/3] kcsan: Re-add GCC as a supported compiler Marco Elver
2020-06-18  9:31 ` [PATCH 2/3] kcsan: Simplify compiler flags Marco Elver
2020-06-18  9:31 ` [PATCH 3/3] kcsan: Disable branch tracing in core runtime Marco Elver
2020-06-19  3:25 ` [PATCH 0/3] kcsan: Re-add GCC support, and compiler flags improvements Paul E. McKenney
2020-06-19 21:49   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).