The problem is gcc using the wrong bits when linking... if '-shared' is passed to gcc when linking the .so files the problem goes away. Replace pkgsrc/lang/perl5/patches/patch-ai with the attached file, then: cd pkgsrc/lang/perl5 rm -rf work bmake distinfo bmake and let me know if that fixes it. (the bmake distinfo creates a new checksum value for patch-ai in the distinfo file and without doing that the patch will be ignored) I still need to test the 32-bit case to be sure this does not break anything before committing the patch... (and probably the sunpro case too since perl is such a core tool.) - Tim
Attachment:
patch-ai
Description: Binary data