/srv/irclogs.ubuntu.com/2023/02/10/#ubuntu-kernel.txt

=== chris14_ is now known as chris14
=== alkisg1 is now known as alkisg
=== chris14_ is now known as chris14
xnoxkees_:  heya, we are building linux kernel with rust, and we obviously use gcc to build the kernel, but bindgen/clang for the rust bits, and things seem to explode on the -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clan stuff14:04
xnoxwe build the kernel with CONFIG_INIT_STACK_ALL_ZERO:14:04
xnoxbut i guess we need to filter or pass mor options to bindgen?14:05
xnoxas in bindgen should use both -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang and -ftrivial-auto-var-init=zero in our cases?14:05
xnoxcurrently using clang-1414:05
xnoxand i am confused by all of your Autumn 2022 patches w.r.t. this stuff14:06
xnoxi guess our rust bits calls to bindgen should add '-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang until we upgrade to clang-16?14:08
xnoxi'm not sure if this is worth a patch to mainline14:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!