pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/44999 (lang/perl5 fails to build on Solaris10 with gcc in 64bit mode)

On 01.06.2011 09:08, Tim Zingelman wrote:
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.
Omg. I'm crazy.
It's my own perlbug
registered for perl 5.8., but still exists in 5.12.2 :(

Replace pkgsrc/lang/perl5/patches/patch-ai with the attached file, then:

cd pkgsrc/lang/perl5
rm -rf work
bmake distinfo

and let me know if that fixes it.
Yes, it fixes my problem.

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.)
On 32bit it does not affect, because we changes options for 64bit compiling, not 32bit.
But it may brake Sun's cc :(

Home | Main Index | Thread Index | Old Index