develooper Front page | perl.perl5.porters | Postings from September 2012

Re: unhappy darwin -Dusemorebits (was Re: Smoke [5.17.4]v5.17.3-184-g699aa44 FAIL(F) darwin 12.1.0 (Intel Core 2 Duo/))

From:
Andy Dougherty
Date:
September 5, 2012 04:14
Subject:
Re: unhappy darwin -Dusemorebits (was Re: Smoke [5.17.4]v5.17.3-184-g699aa44 FAIL(F) darwin 12.1.0 (Intel Core 2 Duo/))
Message ID:
alpine.DEB.2.02.1209050708160.15239@fractal.phys.lafayette.edu
On Wed, 5 Sep 2012, Tony Cook wrote:

> On Tue, Sep 04, 2012 at 10:02:45AM -0400, Andy Dougherty wrote:
> > On Tue, 4 Sep 2012, Nicholas Clark wrote:
> > 
> > > On Sun, Sep 02, 2012 at 10:04:03AM +1000, Tony Cook wrote:
> > > > On Sun, Sep 02, 2012 at 09:28:04AM +1000, Tony Cook wrote:
> > > > > neptune:perl tony$ grep alignbytes config.sh
> > > > > alignbytes='8'
> > > > 
> > > > Even if I set -Dalignbytes=16, it's ignored, because of:
> > > > 
> > > > #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
> > > > #  define MEM_ALIGNBYTES 8
> > > > #else
> > > > #define MEM_ALIGNBYTES 16
> > > > #endif
> > > > 
> > > > This appears to have been this way since the dawn of (metaconfig)
> > > > time.
> > 
> > Just verifying -- If you change that first 8 to a 16, does it work?
> 
> I tested removing the first branch of the #if combined with
> -Dalignbytes=16, which worked.

Thank you for testing.  I'm still polishing a fix, but should get 
something up in the next few days.  It's complicated because metaconfig 
(the tool used to build Configure) doesn't seem to work under recent 
perls, though I haven't figured out why.


> This worked, passing all tests except porting/regen.t (since the
> canned config files aren't updated.)

Right.  I'd probably have caught those too, but thanks for the 
reminder.

Again, thank you for the quick testing.

-- 
    Andy Dougherty		doughera@lafayette.edu




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