I tried to build sage-4.3.1.alpha2 in 32-bit mode on a Sun Blade 2000. I've installed Sage on that several times before without issue. But this time I get an error.

This is a bit annoying, as I really did believe that 4.3.1 would build on Solaris 10 SPARC without any problems, after the issues with Sage picking up the wrong compiler were finally resolved. The output below shows this.


There is by the way a build in progress on 't2' at
/rootpool2/local/kirkby/sage-4.3.1.alpha2
however, since 't2' is not exactly fast, it has not yet reached the point of failure. The last bit built as I write is matplotlib-0.99.1.p3.


This is from my *own* machine and not 't2'.

sage/rings/bernmm/bern_modp.cpp:401: warning: comparison between signed and unsigned integer expressions sage/rings/bernmm/bern_modp.cpp: In function 'long int bernmm::bernsum_pow2_redc(long int, double, long int, long int, long int)': sage/rings/bernmm/bern_modp.cpp:624: warning: comparison between signed and unsigned integer expressions /usr/local/gcc-4.4.1-sun-linker/bin/gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_THREADS=1 -DTHREAD_STACK_SIZE=4096 -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/devel//sage/sage/ext -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local/include/python2.6 -c sage/rings/bernmm/bern_modp_util.cpp -o build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernmm/bern_modp_util.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ sage/rings/bernmm/bern_modp_util.cpp: In function 'long int bernmm::order(long int, long int, double, const bernmm::Factorisation&)': sage/rings/bernmm/bern_modp_util.cpp:98: warning: comparison between signed and unsigned integer expressions /usr/local/gcc-4.4.1-sun-linker/bin/gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_THREADS=1 -DTHREAD_STACK_SIZE=4096 -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/devel//sage/sage/ext -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local/include/python2.6 -c sage/rings/bernmm/bern_rat.cpp -o build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernmm/bern_rat.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ sage/rings/bernmm/bern_rat.cpp: In function 'void bernmm::bern_rat(__mpq_struct*, long int, int)':
sage/rings/bernmm/bern_rat.cpp:280: warning: unused variable 'log2'
/usr/local/gcc-4.4.1-sun-linker/bin/g++ -shared build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernmm.o build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernmm/bern_modp.o build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernmm/bern_modp_util.o build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernmm/bern_rat.o -L/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//lib -lcsage -lgmp -lntl -lstdc++ -lpthread -lstdc++ -lntl -o build/lib.solaris-2.10-sun4u-2.6/sage/rings/bernmm.so
building 'sage.rings.bernoulli_mod_p' extension
/usr/local/gcc-4.4.1-sun-linker/bin/gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Isage/libs/ntl/ -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/devel//sage/sage/ext -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local/include/python2.6 -c sage/rings/bernoulli_mod_p.cpp -o build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernoulli_mod_p.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ /usr/local/gcc-4.4.1-sun-linker/bin/g++ -shared build/temp.solaris-2.10-sun4u-2.6/sage/rings/bernoulli_mod_p.o -L/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//lib -lcsage -lntl -lstdc++ -lstdc++ -lntl -o build/lib.solaris-2.10-sun4u-2.6/sage/rings/bernoulli_mod_p.so
building 'sage.rings.complex_double' extension
/usr/local/gcc-4.4.1-sun-linker/bin/gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/devel//sage/sage/ext -I/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local/include/python2.6 -c sage/rings/complex_double.c -o build/temp.solaris-2.10-sun4u-2.6/sage/rings/complex_double.o -std=c99 -D_XPG6
In file included from sage/rings/complex_double.c:152:
/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/pari/paripriv.h:297: warning: function declaration isn't a prototype /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/pari/paripriv.h:314: warning: function declaration isn't a prototype /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/pari/paripriv.h:315: warning: function declaration isn't a prototype /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/pari/paripriv.h:345: warning: function declaration isn't a prototype /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/pari/paripriv.h:469: warning: function declaration isn't a prototype
In file included from sage/rings/complex_double.c:154:
/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage/interrupt.h:88: warning: function declaration isn't a prototype
In file included from sage/rings/complex_double.c:156:
/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage/ntl_wrap.h:142: warning: function declaration isn't a prototype
In file included from sage/rings/complex_double.c:156:
/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage/ntl_wrap.h:310: warning: 'struct GF2X_c' declared inside parameter list /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage/ntl_wrap.h:310: warning: its scope is only this definition or declaration, which is probably not what you want /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage/ntl_wrap.h:319: warning: 'struct GF2E' declared inside parameter list /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/csage/ntl_wrap.h:327: warning: 'struct GF2' declared inside parameter list
sage/rings/complex_double.c:160:1: warning: "INLINE" redefined
In file included from /export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/pari/pari.h:67,
                 from sage/rings/complex_double.c:151:
/export/home/drkirkby/gcc32/sage-4.3.1.alpha2/local//include/pari/parisys.h:50:1: warning: this is the location of the previous definition
sage/rings/complex_double.c: In function '__pyx_t_double_complex_from_parts':
sage/rings/complex_double.c:14891: error: '_Complex_I' undeclared (first use in this function) sage/rings/complex_double.c:14891: error: (Each undeclared identifier is reported only once
sage/rings/complex_double.c:14891: error: for each function it appears in.)
error: command '/usr/local/gcc-4.4.1-sun-linker/bin/gcc' failed with exit 
status 1
sage: There was an error installing modified sage library code.

ERROR installing SAGE

real    85m10.318s
user    79m39.551s
sys     4m23.162s
sage: An error occurred while installing sage-4.3.1.alpha2
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to