I've downloaded sage-3.0.3.alpha1, overwrote sage-3.0.3.alpha1/spkg/
standard/ntl-5.4.2.p3.spkg with one created by Francois on my Sun
Ultra 60 (main-webserver) and tried to compile Sage on my Blade 2000
(kestrel). The Blade is quite a bit quicker than the Ultra 60, so
needless to say I prefer to use this.

Sage bombs out when building flint-1.06.p3. The error message has a
lot of simularities to the one generated by the NTL code. Basically:

ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libflint-1.06.so: unknown file type

It's probably the use of the Sun linker with GNU'isms, as I believe it
was with the NTL code.

I'm guessing the fix Francois did on the NTL code will probably work
for the flint code too, so I doubt this will be too hard to fix.

I've got a few things to do today, but I'll try to sort out the ABI
issue on the laptop and hopefully this too. I suspect this one is a
lot easier to fix.

I have by the way put a file system /sage on my Ultra 60 and have put
the sage-3.0.3.alpha1.tar file in there. Permissions on the directory
are 777, so feel free to put what you want there. I'll try to keep the
latest few tar files in there.


Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0      8.2G   4.4G   3.7G    54%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
<snip>
/dev/dsk/c0t0d0s4      9.3G   202M   9.1G     3%    /sage

Anyway, this is the error generated when building flint.

x flint-1.06.p3/patches/DIRNAME, 10 bytes, 1 tape blocks
x flint-1.06.p3/patches/flint-soname.patch, 840 bytes, 2 tape blocks
x flint-1.06.p3/patches/makefile, 13338 bytes, 27 tape blocks
Finished extraction
****************************************************
Host system
uname -a:
SunOS kestrel 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Blade-1000
****************************************************
****************************************************
GCC Version
gcc -v
Reading specs from /usr/local/opt/csw/gcc4/bin/../lib/gcc/sparc-sun-
solaris2.8/4.0.2/specs
Target: sparc-sun-solaris2.8
Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4
--with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/
as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --
enable-shared --enable-multilib --enable-nls --with-included-gettext --
with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-
system-zlib --enable-languages=c,c++,f95,java,objc,ada
Thread model: posix
gcc version 4.0.2
****************************************************
make[2]: Entering directory `/export/home/drkirkby/sage-3.0.3.alpha1/
spkg/build/flint-1.06.p3/src'
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c mpn_extras.c -o mpn_extras.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c mpz_extras.c -o mpz_extras.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c memory-manager.c -o memory-manager.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c ZmodF.c -o ZmodF.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c ZmodF_mul.c -o ZmodF_mul.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c ZmodF_mul-tuning.c -o ZmodF_mul-tuning.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c fmpz.c -o fmpz.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c fmpz_poly.c -o fmpz_poly.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c mpz_poly-tuning.c -o mpz_poly-tuning.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c mpz_poly.c -o mpz_poly.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c ZmodF_poly.c -o ZmodF_poly.o
gcc -std=c99 -I/export/home/drkirkby/sage-3.0.3.alpha1/local/include/
-fPIC -funroll-loops   -O3 -c long_extras.c -o long_extras.o
gcc -std=c99 -fPIC -shared -Wl,-soname,lib`cat DIRNAME`.so -o lib`cat
DIRNAME`.so mpn_extras.o mpz_extras.o memory-manager.o ZmodF.o
ZmodF_mul.o ZmodF_mul-tuning.o fmpz.o fmpz_poly.o mpz_poly-tuning.o
mpz_poly.o ZmodF_poly.o long_extras.o -L/export/home/drkirkby/
sage-3.0.3.alpha1/local/lib/  -lgmp -lpthread -lm
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libflint-1.06.so: unknown file type
ld: fatal: File processing errors. No output written to
libflint-1.06.so
collect2: ld returned 1 exit status
make[2]: *** [libflint.so] Error 1
make[2]: Leaving directory `/export/home/drkirkby/sage-3.0.3.alpha1/
spkg/build/flint-1.06.p3/src'
Error building flint shared library.

real    0m24.052s
user    0m22.686s
sys     0m0.893s
sage: An error occurred while installing flint-1.06.p3
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /export/home/drkirkby/sage-3.0.3.alpha1/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/export/home/drkirkby/sage-3.0.3.alpha1/spkg/build/flint-1.06.p3 and
type 'make'.
Instead type "/export/home/drkirkby/sage-3.0.3.alpha1/sage -sh"
in order to set all environment variables correctly, then cd to
/export/home/drkirkby/sage-3.0.3.alpha1/spkg/build/flint-1.06.p3
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/flint-1.06.p3] Error 1
make[1]: Leaving directory `/export/home/drkirkby/sage-3.0.3.alpha1/
spkg'

real       25.0
user       23.2
sys         0.9
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to