Bitfields template instantiation introduces unnecessary _GLOBAL_OFFSET_TABLE_ symbol. Because of this symbol, it is not possible to use D code inside the Linux kernel. import std.bitmanip; struct MyStruct { mixin(bitfields!( uint, "x", 2, uint, "", 6)); } https://gist.github.com/alexandrumc/ce2363b4f344289e7c8386fa6c3d614d
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19567 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB