[Mesa-dev] Updated debdiff for mesa to compile on m68k
Thorsten Glaser
t.glaser at tarent.de
Thu Jul 17 07:26:51 PDT 2014
On Thu, 17 Jul 2014, Jan Vesely wrote:
> why not use __attribute__ ((aligned(X))) for explicit padding?
That’s ① GCC-specific and ② relies on environmental guarantees
that cannot always be given (e.g. you cannot align a struct
more than the stack alignment if it is ever passed on the
stack; for static or auto storage, it relies on the linker;
for malloc, it relies on libc).
The approach here is not to make the struct aligned, but
rather, to make it consistent within itself. In a portable
way, even (although we do use GCC 4.9 on Debian/m68k).
bye,
//mirabilos
--
«MyISAM tables -will- get corrupted eventually. This is a fact of life. »
“mysql is about as much database as ms access” – “MSSQL at least descends
from a database” “it's a rebranded SyBase” “MySQL however was born from a
flatfile and went downhill from there” – “at least jetDB doesn’t claim to
be a database” ‣‣‣ Please, http://deb.li/mysql and MariaDB, finally die!
More information about the mesa-dev
mailing list