https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41091

Bobby Reynolds <boreynol at microsoft dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boreynol at microsoft dot com

--- Comment #9 from Bobby Reynolds <boreynol at microsoft dot com> ---
My team is also impacted by this issue (also with tracing code, as it turns
out).

FWIW there's a great writeup explaining the issue on Stack Overflow:

https://stackoverflow.com/questions/35091862/inline-static-data-causes-a-section-type-conflict

In this writeup, the author suggests that perhaps -fno-gnu-unique should
additionally cause GCC to _not_ use section grouping for the associated symbol;
in this case GCC would simply emit a weak symbol without grouping, which I
believe would match the (admittedly less robust) behavior of Clang.
  • [Bug c++/41091] Using section a... boreynol at microsoft dot com via Gcc-bugs

Reply via email to