Re: [sage-devel] Re: ecm failed to build

2017-09-21 Thread Jan Groenewald
Hi On 21 September 2017 at 09:21, Jan Groenewald wrote: > Hi > > This is possibly gcc 6.2 related: ​https://mail.coreboot.org/ > pipermail/coreboot/2016-December/082739.html > > And a possible solution is Build GMP --with-pic, (only) if GCC defaults > to -pie (preferred

Re: [sage-devel] Re: ecm failed to build

2017-09-21 Thread Jan Groenewald
Hi This is possibly gcc 6.2 related: ​ https://mail.coreboot.org/pipermail/coreboot/2016-December/082739.html And a possible solution is Build GMP --with-pic, (only) if GCC defaults to -pie (preferred solution from reading the rest of above thread to the end). Regards, Jan On 21 September

Re: [sage-devel] Re: ecm failed to build

2017-09-21 Thread Jan Groenewald
Hi On 20 September 2017 at 13:32, Dima Pasechnik wrote: > > > On Wednesday, September 20, 2017 at 8:19:48 AM UTC+1, Jan Groenewald wrote: >> >> Hi >> >> On 20 September 2017 at 08:56, Jan Groenewald wrote: >> >>> Hi >>> >>> On 19 September 2017 at 19:25,

Re: [sage-devel] Re: ecm failed to build

2017-09-20 Thread Dima Pasechnik
On Wednesday, September 20, 2017 at 8:19:48 AM UTC+1, Jan Groenewald wrote: > > Hi > > On 20 September 2017 at 08:56, Jan Groenewald > wrote: > >> Hi >> >> On 19 September 2017 at 19:25, Dima Pasechnik > > wrote: >> >> Probably your gmp or mpir was not

Re: [sage-devel] Re: ecm failed to build

2017-09-20 Thread Jan Groenewald
Hi On 20 September 2017 at 08:56, Jan Groenewald wrote: > Hi > > On 19 September 2017 at 19:25, Dima Pasechnik wrote: > > Probably your gmp or mpir was not built correctly: >> Indeed: >> >> /usr/bin/ld: /srv/sage-8.0/local/lib/libgmp.a(fat_entry.o):

Re: [sage-devel] Re: ecm failed to build

2017-09-20 Thread Jan Groenewald
Hi On 19 September 2017 at 19:25, Dima Pasechnik wrote: Probably your gmp or mpir was not built correctly: > Indeed: > > /usr/bin/ld: /srv/sage-8.0/local/lib/libgmp.a(fat_entry.o): relocation > R_X86_64_32S against symbol `__gmpn_cpuvec' can not be used when making a >

[sage-devel] Re: ecm failed to build

2017-09-19 Thread Dima Pasechnik
Probably your gmp or mpir was not built correctly: Indeed: /usr/bin/ld: /srv/sage-8.0/local/lib/libgmp.a(fat_entry.o): relocation R_X86_64_32S against symbol `__gmpn_cpuvec' can not be used when making a shared object; recompile with -fPIC Of er is een kat op de muizenberg... :-) On Tuesday,