stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STDCXX-346) [Cygwin] gcc -fPIC warnings
Date Tue, 27 Mar 2007 23:53:32 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor closed STDCXX-346.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2

Assuming this is fixed. Mark please reopen it if there's still a problem.

> [Cygwin] gcc -fPIC warnings
> ---------------------------
>
>                 Key: STDCXX-346
>                 URL: https://issues.apache.org/jira/browse/STDCXX-346
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3
>         Environment: gcc 3.4.4 on Cygwin
>            Reporter: Mark Brown
>         Assigned To: Martin Sebor
>             Fix For: 4.2
>
>
> gcc shared library build on Cygwin spits out a warning message about the -fPIC flag on
the command line for every .cpp file:
> make[2]: Entering directory `/home/mbrown/stdcxx-12d/lib'
> generating dependencies for $(TOPDIR)/src/atomic.s
> generating dependencies for $(TOPDIR)/src/wctype.cpp
> /home/mbrown/stdcxx/src/wctype.cpp:0: warning: -fPIC ignored for target (all code is
position independent)
> Removing the -fPIC gets rid of the warnings so I'm guessing Cygwin might need the same
conditional as the one for AIX in gcc.config:
> # IBM AIX code is always position independent
> ifneq ($(OSNAME),AIX)
> PICFLAGS        = -fPIC
> endif
> Here's the archived post where this problem was first raised:
> http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200703.mbox/%3cA631458ACF0.00000B8Bmbrown@inbox.com%3e

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message