#9871: Change compiler flags on Solaris to build without text relocations.
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-4.6
Component: build | Keywords:
Author: David Kirkby | Upstream: Not yet reported upstream; Will do
shortly.
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by jhpalmieri):
* status: positive_review => needs_work
Comment:
This seems to work on fulvia in 64-bit mode; I'm still building on t2 (I'm
starting a 64-bit build from scratch there, so it will take another half
hour before it gets to cliquer).
However, I can't get this to build in 32-bit mode. On both fulvia and t2
I get essentially the same error:
{{{
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-DENABLE_LONG_OPTIONS -o cl.o -c cl.c
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-I/home/palmieri/fulvia/32bit/sage-4.6.alpha0/local/include -c -o
cliquer.o cliquer.c
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-I/home/palmieri/fulvia/32bit/sage-4.6.alpha0/local/include -c -o
graph.o graph.c
gcc -O2 -g -Wall -fomit-frame-pointer -funroll-loops -c -fPIC
-I/home/palmieri/fulvia/32bit/sage-4.6.alpha0/local/include -c -o
reorder.o reorder.c
gcc -L/home/palmieri/fulvia/32bit/sage-4.6.alpha0/local/lib -shared
-Wl,-soname,libcliquer.so -o libcliquer.so cl.o cliquer.o graph.o
reorder.o
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libcliquer.so: unknown file type
ld: fatal: File processing errors. No output written to libcliquer.so
collect2: ld returned 1 exit status
make: *** [cl] Error 1
Failed to compile cliquer... exiting
}}}
Or did I do something stupid?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9871#comment:15>
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.