#11881: Metaticket: build Sage on OS X 10.7 Lion
------------------------------+---------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: defect | Status: new
Priority: blocker | Milestone: sage-5.0
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
------------------------------+---------------------------------------------
Comment (by leif):
First of all, please don't put such large logs into trac comments. Either
attach them to the ticket, or -- preferably for really large logs --
provide a link to them. (You can of course quote relevant parts in
comments.)
Replying to [comment:80 hedtke]:
> But after this, sage failed to build
>
> {{{
> ...
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./x86_64
-I/Users/hedtke/Downloads/sage-5.0.beta13-lion/local/include
-I/Users/hedtke/Downloads/sage-5.0.beta13-lion/local/include -march=native
-g -O3 -fPIC -MT libecm_la-ecm.lo -MD -MP -MF .deps/libecm_la-ecm.Tpo -c
ecm.c -o libecm_la-ecm.o
> /var/folders/27/8x3fk81j1_v8mbp4knc9p2qc0000gn/T//ccHTBXGg.s:571:no such
instruction: `vmovsd LC0(%rip), %xmm0'
> ...
> }}}
[[BR]]
That's because Apple's assembler doesn't know AVX instructions (which GCC
emits on your machine with `-march=native`).
The following should work:
{{{
#!sh
env CFLAGS="-march=native -mno-avx -O3 -g" ./sage -i
spkg/standard/ecm-6.3.p4.spkg
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11881#comment:81>
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.