this is caused by the config calling gnu ld with solaris ld flags. workaround: ./configure --with-gnu-ld works. I have no idea why this doesnt happen automatically.