Re: Bug#698315: [build] openmsx: FTBFS due to invalid alignment assumptions

2013-11-27 Thread Geert Uytterhoeven
On Tue, Nov 26, 2013 at 11:49 PM, Thorsten Glaser wrote: > 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))); That's not true: the alignment of a struc

Re: Bug#698315: [build] openmsx: FTBFS due to invalid alignment assumptions

2013-11-26 Thread Thorsten Glaser
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 ba

[build] openmsx: FTBFS due to invalid alignment assumptions

2013-11-26 Thread Bas Wijnen
Hello Thorsten and other m68k porters, Sorry for not replying to this for so long. Thank you for reporting the issue. I am not sure how to solve it, however. Your patch looks like it should work. The assertion that fails is an alignment check, which means that forcing the alignment the way you