#12562: In Singular spkg-install, disable -pipe on SunOS
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by jdemeyer):
Replying to [comment:6 jhpalmieri]:
> Will that use the Sun assembler?
No, the assembler/linker executables are hardcoded when GCC is compiled.
You can see this by:
{{{
jdemeyer@mark:~$ gcc -print-prog-name=as
/usr/local/binutils-2.20.1/sparc-SunOS-ultrasparc3-gcc-4.4.3/bin/as
}}}
This means that gcc will always use that assembler, which is the GNU
assembler:
{{{
jdemeyer@mark:~$ /usr/local/binutils-2.20.1/sparc-SunOS-
ultrasparc3-gcc-4.4.3/bin/as --version
GNU assembler (GNU Binutils) 2.20.1.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.10'.
}}}
I encountered the problem on this ticket while testing #12369. The
default `as` in the PATH is
{{{
jdemeyer@mark:~$ which as
/usr/ccs/bin/as
jdemeyer@mark:~$ as -V
as: Sun Compiler Common 10 Patch 05/06/2005
}}}
So, when compiling GCC, that assembler will be used by default. This can
be overridden using the `AS` environment variable (similarly `LD` for the
linker).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12562#comment:7>
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.