Re: Bug#698315: [build] openmsx: FTBFS due to invalid alignment assumptions
Bas Wijnen dixit:
>The assertion that fails is an alignment check, which means that forcing
>the alignment the way you do should must have been ineffective. Any
No idea, C++ is out of my depth.
I know that GCC will need the alignment attribute twice in structs, e.g.
struct foo {
int bar __attribute__((__aligned__(8)));
int baz;
} __attribute__((__aligned__(8)));
>idea how this is possible? Does this happen for other programs as well?
Not normally, although these implicit-alignment-assumptions are very
common, sadly.
(To be honest, I personally think that most code that explicitly checks
for alignment of data types is doing something wrong, and (objectively)
probably something unportable.)
>Ps: Please Cc me (or better yet, the bug); I'm not subscribed.
Sure.
bye,
//mirabilos
--
„Also irgendwie hast du IMMER recht. Hier zuckelte gerade ein Triebwagen mit
der Aufschrift "Ostdeutsche Eisenbahn" durch Wuppertal. Ich glaubs machmal
nicht…“ -- Natureshadow, per SMS
„Hilf mir mal grad beim Denken“ -- Natureshadow, IRL, 2x
Reply to: