develooper Front page | perl.perl5.porters | Postings from May 2013

Re: [perl #117501] t/op/pack.t fails when compiled with Open64

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
May 3, 2013 11:33
Subject:
Re: [perl #117501] t/op/pack.t fails when compiled with Open64
Message ID:
20130503113254.GW3729@plum.flirble.org
On Tue, Apr 30, 2013 at 03:49:51PM -0300, Brian Fraser wrote:
> On Tue, Apr 30, 2013 at 9:36 AM, Nicholas Clark <nick@ccl4.org> wrote:
> 
> > On Sat, Apr 06, 2013 at 04:36:31AM -0700, Brian Fraser wrote:
> >
> > > $ opencc --version
> > > Open64 Compiler Suite: Version 4.5.2.1
> > > Built on: 2013-04-06 06:04:55 -0300
> > > Thread model: posix
> > > GNU gcc version 4.2.0 (Open64 4.5.2.1 driver)
> >
> > Which version *is* that?
> > As best I can work out, there has never been a 4.5 release. 5.0 is current
> > (Nov 2011), and 4.2.4 was the previous branch:
> >
> > http://www.open64.net/news.html
> 
> 
> http://developer.amd.com/tools-and-sdks/cpu-development/x86-open64-compiler-suite/

Oh, interesting. So which one is the fork? :-)

That looks like a compiler with more of a future than the open64.net version.

> > I first tried to build the current release, 5.0.0, from source from the
> > tarball, on a 6 month old Ubuntu install on x86_64 linux.
> >
> 
> Hm... My experience was also troublesome, but nowhere as annoying as all of
> this. I had to change that file and remove a line from another, and install
> some fortran stuff for gcc, but after that it compiled without issues.

I infer that this is because we were using versions from different alternate
realities. The one where "5" never happened looks to be more useful.

It's not obvious how to reduce pp_pack.c down to any sort of test case that
a compiler writer could use.

I hope that a refactoring of pp_pack.c (with the side effect of making it
clearer and hopefully smaller) would avoid hitting the bug.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About