[Bug d/88462] All D execution tests FAIL on Solaris/SPARC

johannespfau at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 14 15:02:00 GMT 2018


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

Johannes Pfau <johannespfau at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannespfau at gmail dot com

--- Comment #10 from Johannes Pfau <johannespfau at gmail dot com> ---
I guess the proper fix to the alignment problem is using
'https://dlang.org/phobos/std_traits.html#classInstanceAlignment' (or rather
the druntime equivalent) instead of Mutex.alignof + the rounding / slice
assignment fixes?

Regarding the ModuleInfo problem: Although ModuleInfo does have a variable
size, _flags ist the first field in the struct. So the whole struct instance
has to be misaligned for some reason? Is the minfo section aligned properly?


More information about the Gcc-bugs mailing list