[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)
The following reply was made to PR pkg/44999; it has been noted by GNATS.
From: Dmitry Afanasiev <KOT%MATPOCKuH.Ru@localhost>
To: Tim Zingelman <tez%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost,
Subject: Re: pkg/44999 (lang/perl5 fails to build on Solaris10 with gcc in
Date: Wed, 01 Jun 2011 10:53:00 +0400
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 :(
Main Index |
Thread Index |