From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25863 invoked by alias); 3 Aug 2002 05:10:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 25856 invoked from network); 3 Aug 2002 05:10:35 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sources.redhat.com with SMTP; 3 Aug 2002 05:10:35 -0000 Received: from hiauly1.hia.nrc.ca (localhost [127.0.0.1]) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id g735AY00002300; Sat, 3 Aug 2002 01:10:34 -0400 (EDT) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id g735AXd1002299; Sat, 3 Aug 2002 01:10:33 -0400 (EDT) Message-Id: <200208030510.g735AXd1002299@hiauly1.hia.nrc.ca> Subject: Re: [RFA] Fix libsupc++/Makefile.in To: dave@hiauly1.hia.nrc.ca (John David Anglin) Date: Fri, 02 Aug 2002 22:10:00 -0000 From: "John David Anglin" Cc: gcc-patches@gcc.gnu.org, neil@daikokuya.co.uk In-Reply-To: from "John David Anglin" at Aug 2, 2002 08:20:26 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00221.txt.bz2 > I belive that this patch has broken the v3 build under hppa-linux > and likely for other hppa ports. This libsupc++ library gets linked > against the share v3 lib, thus all compilations need to be pic on hppa. > I believe "-prefer-pic" was part of the C++ flags. So, we now need > it in the C flags. Here's a quick fix. Tested on hppa-linux. Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605) 2002-08-02 John David Anglin * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS. Index: libsupc++/Makefile.am =================================================================== RCS file: /cvsroot/gcc/gcc/libstdc++-v3/libsupc++/Makefile.am,v retrieving revision 1.34 diff -u -3 -p -r1.34 Makefile.am --- libsupc++/Makefile.am 1 Aug 2002 22:16:46 -0000 1.34 +++ libsupc++/Makefile.am 3 Aug 2002 04:29:29 -0000 @@ -126,7 +126,7 @@ dyn-string.o: dyn-string.c # LTCOMPILE is copied from LTCXXCOMPILE below. LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \ - $(DEFS) $(GCC_INCLUDES) \ + $(DEFS) $(GCC_INCLUDES) $(LIBSUPCXX_PICFLAGS) \ $(AM_CPPFLAGS) $(CPPFLAGS)