delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Thu, 14 Oct 2004 13:00:12 +0200 |
From: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Reply-To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
Organization: | Esse keine toten Tiere |
Message-ID: | <1881847713892.20041014130012@familiehaase.de> |
To: | Reini Urban <rurban AT x-ray DOT at> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: libtool / assembler problem with -DPIC |
In-Reply-To: | <416D50FD.9020704@x-ray.at> |
References: | <501586262435 DOT 20041011122240 AT familiehaase DOT de> <416C85FB DOT 5040508 AT cwilson DOT fastmail DOT fm> <416D50FD DOT 9020704 AT x-ray DOT at> |
MIME-Version: | 1.0 |
Reini wrote: > Charles Wilson schrieb: >> Gerrit P. Haase wrote: >>> With GNU as PIC is not an noop, when -DPIC is used to invoke gas the >>> generated assembly is broken. I saw this problem with a >>> reautoconfiscated version of GMP. This may be unusual, but there was >>> libtool used to invoke gas. >>> >>> While -DPIC is a noop for usual compilation, it is harmful when used >>> as gas flag to compile assembly, I suggest to remove it entirely when >>> target is cygwin. Change would be in libtool.m4 line 4971 ff in >>> libtool-1.5.10. >>> >>> Alternative: don't pass flag through when gas is called. >> >> I don't see anywhere that "-DPIC" is ever invoked on cygwin. Please >> send a patch to libtool.m4 that fixes the problem for you. > The problem is when a user (or makefile) adds this -DPIC, which does no > harm usually. Gerrit thought that it might be clever to strip it on > cygwin when gas is involved, since this does harm. > Or maybe emit a warning to fix the makefile for cygwin. > (Gerrit: Really -DPIC, not -fPIC?) No. Libtool adds this flag regardless what in your Makefile.am is. Gerrit -- =^..^= http://nyckelpiga.de/donate.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |