#20508: Windows 64-bit: warning: -fPIC ignored for target (all code is position
independent)
-------------------------+-------------------------------------------------
Reporter: embray | Owner:
Type: defect | Status: new
Priority: trivial | Milestone: sage-7.2
Component: porting: | Keywords:
Cygwin | Authors:
Merged in: | Report Upstream: Fixed upstream, in a later
Reviewers: | stable release.
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------+-------------------------------------------------
This is an annoying warning that GCC always outputs on Cygwin either
32-bit or 64-bit. It's harmless really but it is output for every single
compiled source file--C or fortran--and there is no `-Wno-` flag to
disable it.
There is a patch now in GCC to remove this outright:
https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00836.html But I don't know
when it will be available. The default GCC currently in Cygwin is 5.3,
and it does not have this patch.
It's not worth putting in a lot of effort over this, but I'm squashing it
wherever I see it by just removing the `-fPIC` flag (if possible) on
Cygwin. I will maintain a branch for these changes wherever I come across
them.
--
Ticket URL: <http://trac.sagemath.org/ticket/20508>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.