Comment 8 for bug 219276

Revision history for this message
Allison Randal (allison) wrote : Re: Please sync parrot (1.0.0-1) from Debian unstable

Okay, I've got it. Apparently on karmic, lpia builds with -Os by default (thanks to Robert Collins for digging up that tip). Among other things, -Os disables the -falign-functions optimization (in order to save space). Parrot can build with or without aligned function pointers, but it was detecting lpia as ordinary i386, and so expecting them, and failing on an assert. I added a config patch to detect the lpia architecture (using the "-gnulp" element of the arch-os-gnu triplet) and correctly set Parrot's config value for "aligned_funcptr" to 0. Parrot now successfully builds on karmic lpia.