Dr. David Kirkby wrote:
> After purging out some of the cases where GNU-specific flags like 
> -soname are passed directly to the Sun linker, I now find 
> lcalc-20080205.p2 is passing GNU specific flags directly to the Sun 
> linker, by using the -Wa flag to g++, which means the next item gets 
> passed directly to the assembler.
> 
> g++  -O2 -g -Wa,-W -fno-exceptions -Wno-deprecated  -DINCLUDE_PARI   \
>        -I/rootpool2/local/kirkby/sage-4.1.1.alpha0/local/include/pari 
> -I/rootpool2/local/kirkby/sage-4.1.1.alpha0/local/include\
>        -I ../include/ 
> -L/rootpool2/local/kirkby/sage-4.1.1.alpha0/local/lib \
>        cmdline.c \
>        Lcommandline.cc Lcommandline_elliptic.cc Lcommandline_globals.cc \
>        Lcommandline_misc.cc Lcommandline_numbertheory.cc \
>        Lcommandline_twist.cc Lcommandline_values_zeros.cc \
>        Lgamma.cc Lglobals.cc Lmisc.cc Lriemannsiegel.cc \
>              -o lcalc -lpari -lmpfr -lgmpxx -lgmp -liberty
> /usr/ccs/bin/as: error: unknown option 'W'
> usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
>          [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
>          [-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
>          [-m [-Ym,path]] [-n] [-ul] [-xF]
>          [-m32] [-m64]
>  
> [-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b,sparc,sparcvis, 
> sparcvis2,sparcfmaf,sparcima}]
>          [-xcode={pic13,pic32}] file.s...
> 
> 
> 
> This is now.
> 
> http://sagetrac.org/sage_trac/ticket/6609
> 
> Dave


Looking at the man page for the assembler on sage.math, I see that the 
-W option to the GNU assembler just removes warning messages. Under the 
circumstances, I think it will be better to change the code the warnings 
are output. I can't really find much excuse for hiding warning messages, 
especially when the attempts to hide them is causing problems.

Dave

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to