#7825: pari-2.3.3.p5 compilation fails on FreeBSD/amd64
-----------------------------------------------------------+----------------
Reporter: pjeremy | Owner:
pjeremy
Type: defect | Status: new
Priority: major | Milestone:
Component: freebsd | Keywords:
Work_issues: | Author:
Upstream: Not yet reported upstream; Will do shortly. | Reviewer:
Merged: |
-----------------------------------------------------------+----------------
FreeBSD refers to the x86_64 architecture under its original name of
'amd64' so use this as an alias for x86_64. The `-fPIC' fix is needed to
correct:
{{{
gcc -o libpari-gmp.so.2.3.3 -shared -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer -Wl,-shared,-soname=libpari-gmp.so.2 mp.o mpinl.o
Flx.o Qfb.o RgX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o
base3.o base4.o base5.o bibli1.o bibli2.o buch1.o buch2.o buch3.o buch4.o
galconj.o gen1.o gen2.o gen3.o ifactor1.o perm.o polarit1.o polarit2.o
polarit3.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o
anal.o compat.o default.o errmsg.o es.o init.o intnum.o members.o
sumiter.o aprcl.o elldata.o elliptic.o galois.o groupid.o kummer.o mpqs.o
nffactor.o part.o stark.o subfield.o thue.o -lc -lm
-L/home/peter/sage/sage-4.3/local/lib -lgmp
/usr/bin/ld: mp.o: relocation R_X86_64_32S can not be used when making a
shared object; recompile with -fPIC
mp.o: could not read symbols: Bad value
*** Error code 1
Stop in /home/peter/sage/sage-4.3/spkg/build/pari-2.3.3.p5/src/Ofreebsd-
amd64.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7825>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.