I tried building Sage from source on the new Ubuntu 18.04 in a clean Docker 
container with just a handful of basic packages installed, principally gcc 
7.   It was unable to build ecm-7.0.4.p1 which is included in 8.2rc1.  Here 
is what seems to be the core of the error message:

mv -f aprtcle/.deps/aprcl-mpz_aprcl.Tpo aprtcle/.deps/aprcl-mpz_aprcl.Po
libtool: link: gcc -g -O3 -fPIC -Wl,-rpath -Wl,/sage/local/lib -o tune 
tune-mpmod.o tune-tune.o tune-mul_lo.o tune-listz.o tune-auxlib.o 
tune-ks-multiply.o tune-schoen_strass.o tune-polyeval.o tune-median.o 
tune-ecm_ntt.o tune-ntt_gfp.o tune-mpzspv.o tune-mpzspm.o tune-sp.o 
tune-spv.o tune-spm.o tune-auxarith.o  -L/sage/local/lib 
./x86_64/.libs/libmulredc.a /sage/local/lib/libgmp.a -lrt -lm
mv -f aprtcle/.deps/libecm_la-mpz_aprcl.Tpo 
aprtcle/.deps/libecm_la-mpz_aprcl.Plo
mv -f .deps/libecm_la-pm1fs2.Tpo .deps/libecm_la-pm1fs2.Plo
/sage/local/lib/libgmp.a(fat_entry.o): In function `__gmpn_mod_34lsub1':
/sage/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868/src/mpn/tmp-fat_entry.s:202:
 
multiple definition of `__gmpn_mod_34lsub1'
tune-schoen_strass.o:/sage/local/var/tmp/sage/build/ecm-7.0.4.p1/src/schoen_strass.c:61:
 
first defined here
/usr/bin/x86_64-linux-gnu-ld: /sage/local/lib/libgmp.a(fat_entry.o): 
relocation R_X86_64_32S against symbol `__gmpn_cpuvec' can not be used when 
making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Nonrepresentable section 
on output


You can find the whole log at http://dunfield.info/temp/ecm-7.0.4.p1.log 

The underlying hardware (i.e. the Docker host) is an iMacPro with a Xeon 
W-2150B CPU.  I will try building on an older Mac Pro and see if the 
failure is processor dependent, but I have successfully built 8.2rc1 on the 
same machine in a 16.04 Docker container.  

Best,

Nathan

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to