William Stein on Sat, 06 Aug 2011 18:15:38 +0200


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

Re: MacOs X Lion compiler and PARI


On Fri, Aug 5, 2011 at 5:30 AM, Bill Allombert
<Bill.Allombert@math.u-bordeaux1.fr> wrote:
> Hello PARI developers,
>
> I received reports that MacOs X Lion default compiler is unable to compile PARI
> correctly. Precisely this version:
>
> GNU compiler version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
>
> So far I got two kind of issues:
> With --with-gmp, PARI build, but the resulting code is broken (see bug #1222)
> With --without-gmp, PARI fails to build (see
> <http://pari.math.u-bordeaux.fr/buildlogs/dac98dec-af1e-4e54-97ba-f001b69bf7a9>)
>
> Concerning, the first issue, I do not have access to such a system and in any
> case I cannot fix Apple compiler, so I would appreciate if one of you Mac OS X
> users would report the problem to Apple.

To encourage porting efforts to Lion, I setup a computer with the
latest OS and XCode 4.1 on it.
I made an account for you:

    ballombe@sqrt5.cs.washington.edu

It's actually exactly the same credentials you had for
bsd.math.washington.edu, with your files from there:

By the way, Mike Hansen was able to build the PARI that is in Sage
(along with its dependency MPIR) on this machine and it works:

wstein@sqrt5:/Users/mhansen/sage-4.7.1.rc1$ ./sage -gp
                                      GP/PARI CALCULATOR Version 2.4.3
(development svn-12623)
                                    i386 running darwin
(x86-64/GMP-5.0.1 kernel) 64-bit version
                      compiled: Jul 26 2011, gcc-4.2.1 (Based on Apple
Inc. build 5658) (LLVM build 2335.15.00)
                                           (readline v6.1 enabled,
extended help enabled)

                                               Copyright (C) 2000-2008
The PARI Group

PARI/GP is free software, covered by the GNU General Public License,
and comes WITHOUT ANY WARRANTY WHATSOEVER.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

parisize = 8000000, primelimit = 500509


>
> Concerning the second issue, it might be a bug in some recently added assembly code
> (for twice faster integer addition without GMP support).
> However I would need to see the file /var/tmp//cc5x6CUr.s in the log.
> I hope whoever send this buidlog read this list :).
>
> Thanks in advance,
> Bill.
>
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org