Bill Allombert on Fri, 16 Apr 2021 10:24:08 +0200


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

Re: Apple ARM M1 processor - gp2c


On Fri, Apr 16, 2021 at 10:05:37AM +0200, Alessandro Languasco wrote:
> Dear All,
> 
> I am trying to install pari/gp and gp2c on a new macbook pro
> which has an Apple M1 processor.
> 
> For pari/gp I can use the homebrew formula, but I am not able
> to install gp2c.
> First I tried to use the pari.cfg file which comes from the brew formula
> (with no success) and then I compiled pari/gp and then gp2c.

Dear Alessandro,

> ld: warning: ignoring file stack.o, building for macOS-arm64 but
> attempting to link with file built for unknown-x86_64

It seems you are mixing arm64 binary with intel binaries, which
seems strange.

You can try to do 'make clean' and rebuild.

If it does not work, please send me the full buildlog.
Cheers,
Bill.