From stdcxx-dev-return-3057-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Tue Mar 27 23:51:56 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 54447 invoked from network); 27 Mar 2007 23:51:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2007 23:51:53 -0000 Received: (qmail 45312 invoked by uid 500); 27 Mar 2007 23:52:01 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 45253 invoked by uid 500); 27 Mar 2007 23:52:01 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 45241 invoked by uid 99); 27 Mar 2007 23:52:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 16:52:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 16:51:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A159714065 for ; Tue, 27 Mar 2007 16:51:32 -0700 (PDT) Message-ID: <12524434.1175039492366.JavaMail.jira@brutus> Date: Tue, 27 Mar 2007 16:51:32 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Assigned: (STDCXX-346) [Cygwin] gcc -fPIC warnings In-Reply-To: <13955361.1172949770673.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor reassigned STDCXX-346: ----------------------------------- Assignee: Martin Sebor > [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 > > 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.