From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23683 invoked by alias); 20 Mar 2003 02:06:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 23627 invoked by uid 71); 20 Mar 2003 02:06:01 -0000 Date: Thu, 20 Mar 2003 02:06:00 -0000 Message-ID: <20030320020601.23622.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "John David Anglin" Subject: Re: ada/9953: Unsatisfied symbols: U_prep_frame_rec_for_unwind (c Reply-To: "John David Anglin" X-SW-Source: 2003-03/txt/msg01314.txt.bz2 List-Id: The following reply was made to PR ada/9953; it has been noted by GNATS. From: "John David Anglin" To: hainque@ACT-Europe.FR (Olivier Hainque) Cc: charlet@ACT-Europe.FR, dave.anglin@nrc-cnrc.gc.ca, gcc-gnats@gcc.gnu.org, bosch@gnat.com, hainque@ACT-Europe.FR Subject: Re: ada/9953: Unsatisfied symbols: U_prep_frame_rec_for_unwind (c Date: Wed, 19 Mar 2003 20:56:18 -0500 (EST) Olivier, > John, could you please give it a try on HPUX 10 (removing -lpthread from > TGT_LIB) ? The hpux 10.20 build was successful with the enclosed patch. Possibly, the hpux test that you added should be after the DCE block but that doesn't matter for hpux 10. I may try hpux 11 after I return from vacation. Thanks for your help, Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) Index: Makefile.in =================================================================== RCS file: /cvs/gcc/gcc/gcc/ada/Makefile.in,v retrieving revision 1.36.4.3 diff -u -3 -p -r1.36.4.3 Makefile.in --- Makefile.in 29 Jan 2003 22:37:55 -0000 1.36.4.3 +++ Makefile.in 20 Mar 2003 00:52:17 -0000 @@ -759,15 +759,23 @@ ifeq ($(strip $(filter-out hppa% hp hpux s-osinte.ads<53osinte.ads \ s-parame.ads<5hparame.ads \ s-osprim.adb<7sosprim.adb \ - s-traceb.adb<5htraceb.adb \ s-taprop.adb<7staprop.adb \ s-taspri.ads<7staspri.ads \ s-tpopsp.adb<5atpopsp.adb \ g-soccon.ads<3hsoccon.ads \ system.ads<5hsystem.ads - TGT_LIB = /usr/lib/libcl.a -lpthread - THREADSLIB = -lpthread -lc_r + # An HPUX specific s-traceb.adb shall be used for traceback support. + # It resorts to functions provided by the system unwinding library, + # some of which are not available in HPUX 10, so fallback to the default + # implementation in this case. The block below expresses this as "if not + # hpux10, use the dedicated s-traceb.adb". + ifneq ($(strip $(filter-out hppa% hp hpux10%,$(targ))),) + LIBGNAT_TARGET_PAIRS += s-traceb.adb<5htraceb.adb + endif + + TGT_LIB = /usr/lib/libcl.a + THREADSLIB = -lc_r SYMLIB = -laddr2line -lbfd $(INTLLIBS) soext = .sl SO_OPTS = -Wl,+h,