Bug 19886 – Bitfields template instantiation introduces unnecessary GOT symbol

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-05-20T13:16:57Z
Last change time
2024-12-13T19:03:27Z
Assigned to
No Owner
Creator
Alexandru Militaru
Moved to GitHub: dmd#19567 →

Comments

Comment #0 by alexandru.cmilitaru — 2019-05-20T13:16:57Z
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
Comment #1 by robert.schadek — 2024-12-13T19:03:27Z
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