#8771: Sage-4.4 + GCC-4.5.0 -- sage fails to startup due to libzn_poly missing
symbol issue (ZNP_mpn_mulmid_fallback_thresh)
-----------------------+----------------------------------------------------
Reporter: was | Owner: GeorgSWeber
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.4.1
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Comment(by was):
wjp figured out that this boils down to some tuning program not getting
built:
{{{
sage subshell$ gcc -fPIC -std=c99 -O3 -L.
-I/home/wstein/screen/eno/sage-4.4/local/include -I./include -DNDEBUG -o
tune/mulmid-tune.o -c tune/mulmid-tune.c
tune/mulmid-tune.c: In function ‘ZNP_tune_mulmid’:
tune/mulmid-tune.c:85:10: error: jump into scope of identifier with
variably modified type
tune/mulmid-tune.c:135:7: note: label ‘done’ defined here
tune/mulmid-tune.c:115:14: note: ‘score’ declared here
tune/mulmid-tune.c:85:10: error: jump into scope of identifier with
variably modified type
tune/mulmid-tune.c:135:7: note: label ‘done’ defined here
tune/mulmid-tune.c:114:14: note: ‘points’ declared here
tune/mulmid-tune.c:108:10: error: jump into scope of identifier with
variably modified type
tune/mulmid-tune.c:135:7: note: label ‘done’ defined here
tune/mulmid-tune.c:115:14: note: ‘score’ declared here
tune/mulmid-tune.c:108:10: error: jump into scope of identifier with
variably modified type
tune/mulmid-tune.c:135:7: note: label ‘done’ defined here
tune/mulmid-tune.c:114:14: note: ‘points’ declared here
/home/wstein/screen/eno/sage-4.4
sage subshell$
}}}
For this,
{{{
14:26 < wjp> the fix is to move the lines
14:26 < wjp> const int max_intervals = 20;
14:26 < wjp> size_t points[max_intervals + 1];
14:26 < wjp> double score[max_intervals + 1];
14:26 < wjp> up a bit to at least above the goto
}}}
but...
{{{
4:26 < wjp> but after doing that it is now complaining about a missing
ZNP_tuning_info when linking 'tune'
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8771#comment:1>
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.