Nick Glencross wrote:

Leopold Toetsch wrote:

Nick Glencross wrote:

Strangely all the segfaults have now gone away (perhaps the assembler aligns data differently?), although the 'l != left' assertions are still there.



Looking at the code this is very likely caused by unaligned function pointers. To verify it please set:

#define PARROT_HASH_ALIGNED_FUNCPTR 0

Actually, where it uses this in mmd.c is actually an #ifndef which means that really the above line should be commented out.

Brilliant! That seems to have fixed it! (Thanks Leo!)

I've made some progress on the dynclasses too. Where the libraries are copied into runtime/parrot/dynext they lose their execute flag, which is really important to HP-UX. I'll provide a patch this evening which will probably replace copy with syscopy in build_dynclasses.pl.

Still some hangs in dynamic loading, but real close now...

Regards,

Nick

Reply via email to