#8770: gfan fails to build on Fedora Core 12 wtih GCC-4.5.0 (lena)
-----------------------+----------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.4.1
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Changes (by was):
* owner: GeorgSWeber => was
Comment:
Discoveries:
In gfan with GCC-4.5.0 on "lena (a k10)" linux box:
{{{
g++ -DGMPRATIONAL -c lll.cpp
}}}
works fine, but
{{{
sage subshell$ g++ -O2 -DGMPRATIONAL -c lll.cpp
/tmp/cchu2txF.s: Assembler messages:
/tmp/cchu2txF.s:5145: Error: symbol
`_ZZN6MatrixIiEixEPiPP6VektorIiEiE19__PRETTY_FUNCTION__' is already
defined
}}}
Doing make after compiling without -O2 gives:
{{{
...
g++ -O2 -DGMPRATIONAL -g -c linalg.cpp
linalg.cpp:528:1: error: ‘FieldMatrix::FieldMatrix’ names the constructor,
not the type
make: *** [linalg.o] Error 1
/home/wstein/screen/lena/sage-4.4
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8770#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.