#7866: zn_poly on Open Solaris reports #error Not nails-safe yet
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: solaris | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
== Build environment ==
* Sun Ultra 27 3.333 GHz Intel W3580 Xeon. Quad core. 8 threads. 12 GB
RAM
* !OpenSolaris 2009.06 snv_111b X86
* Sage 4.3.1.alpha1 (with a few packages hacked to work on 64-bit)
* gcc 4.3.4 configured with Sun linker and GNU assembler from binutils
version 2.20.
* 64-bit build. SAGE64 was set to yes, plus various other tricks to get
-m64 into packages.
== The problem ==
{{{
zn_poly-0.9.p1/src/src/mul_fft.c
zn_poly-0.9.p1/src/src/ks_support.c
Finished extraction
****************************************************
Host system
uname -a:
SunOS hawk 5.11 snv_111b i86pc i386 i86pc
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.3.4/configure --prefix=/usr/local/gcc-4.3.4-GNU-
assembler-Sun-linker --with-as=/usr/local/binutils-2.20/bin/as --with-
ld=/usr/ccs/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.3.4 (GCC)
****************************************************
make[2]: Entering directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
gcc -fPIC -O3 -L. -I/export/home/drkirkby/sage-4.3.1.alpha1/local/include
-I./include -DNDEBUG -o src/array.o -c src/array.c
gcc -fPIC -O3 -L. -I/export/home/drkirkby/sage-4.3.1.alpha1/local/include
-I./include -DNDEBUG -o src/invert.o -c src/invert.c
gcc -fPIC -O3 -L. -I/export/home/drkirkby/sage-4.3.1.alpha1/local/include
-I./include -DNDEBUG -o src/ks_support.o -c src/ks_support.c
gcc -fPIC -O3 -L. -I/export/home/drkirkby/sage-4.3.1.alpha1/local/include
-I./include -DNDEBUG -o src/mulmid.o -c src/mulmid.c
gcc -fPIC -O3 -L. -I/export/home/drkirkby/sage-4.3.1.alpha1/local/include
-I./include -DNDEBUG -o src/mulmid_ks.o -c src/mulmid_ks.c
src/mulmid_ks.c:402:2: error: #error Not nails-safe yet
make[2]: *** [src/mulmid_ks.o] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
./spkg-install: line 39: tune/tune: No such file or directory
make[2]: Entering directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
gcc -g -fPIC -O3 -L.
-I/export/home/drkirkby/sage-4.3.1.alpha1/local/include -I./include
-DDEBUG -o src/array-DEBUG.o -c src/array.c
gcc -g -fPIC -O3 -L.
-I/export/home/drkirkby/sage-4.3.1.alpha1/local/include -I./include
-DDEBUG -o src/invert-DEBUG.o -c src/invert.c
gcc -g -fPIC -O3 -L.
-I/export/home/drkirkby/sage-4.3.1.alpha1/local/include -I./include
-DDEBUG -o src/ks_support-DEBUG.o -c src/ks_support.c
gcc -g -fPIC -O3 -L.
-I/export/home/drkirkby/sage-4.3.1.alpha1/local/include -I./include
-DDEBUG -o src/mulmid-DEBUG.o -c src/mulmid.c
gcc -g -fPIC -O3 -L.
-I/export/home/drkirkby/sage-4.3.1.alpha1/local/include -I./include
-DDEBUG -o src/mulmid_ks-DEBUG.o -c src/mulmid_ks.c
src/mulmid_ks.c:402:2: error: #error Not nails-safe yet
make[2]: *** [src/mulmid_ks-DEBUG.o] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
make[2]: Entering directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
gcc -fPIC -O3 -L. -I/export/home/drkirkby/sage-4.3.1.alpha1/local/include
-I./include -DNDEBUG -o src/mulmid_ks.o -c src/mulmid_ks.c
src/mulmid_ks.c:402:2: error: #error Not nails-safe yet
make[2]: *** [src/mulmid_ks.o] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
make[2]: Entering directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
gcc -fPIC -O3 -L. -I/export/home/drkirkby/sage-4.3.1.alpha1/local/include
-I./include -DNDEBUG -o src/mulmid_ks.o -c src/mulmid_ks.c
src/mulmid_ks.c:402:2: error: #error Not nails-safe yet
make[2]: *** [src/mulmid_ks.o] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/zn_poly-0.9.p1/src'
Error building zn_poly shared library.
real 0m1.026s
user 0m0.860s
sys 0m0.144s
sage: An error occurred while installing zn_poly-0.9.p1
}}}
== Likely explanation ==
It looks as though the -m64 bit flag is not passed properly, so that's the
issue.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7866>
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.