public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Olivier Hainque <hainque@ACT-Europe.FR> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: ada/9953: Unsatisfied symbols: U_prep_frame_rec_for_unwind (code) Date: Thu, 13 Mar 2003 16:16:00 -0000 [thread overview] Message-ID: <20030313161600.12341.qmail@sources.redhat.com> (raw) The following reply was made to PR ada/9953; it has been noted by GNATS. From: Olivier Hainque <hainque@ACT-Europe.FR> To: dave.anglin@nrc-cnrc.gc.ca Cc: gcc-gnats@gcc.gnu.org, hainque@ACT-Europe.FR, bosch@gnat.com Subject: Re: ada/9953: Unsatisfied symbols: U_prep_frame_rec_for_unwind (code) Date: Thu, 13 Mar 2003 17:06:38 +0100 dave.anglin@nrc-cnrc.gc.ca wrote: > cd ada/doctools && gnatmake -q xgnatug > /usr/ccs/bin/ld: Unsatisfied symbols: > U_prep_frame_rec_for_unwind (code) As indicated on other channels, this is because the GNAT run-time library references functions from the system unwinding library (for call-chain computation purposes), and this specific one is not provided on HPUX 10. The patch below should fix this. Bootstrapped against 3.3 on hppa1.1-hp-hpux11.00, and checked that the rest of the build goes fine on this target, with the symlinks setup properly during the GNAT run-time library build. Performed a couple of simple tests with the resulting compiler installed. I checked that the symlinks are also setup as expected for a hpux10.20 target (cross configuration), but I don't have a 10.20 machine at hand to test this further. Could you please check if it indeed fixes your problem ? Thanks in advance, Olivier -- *** gcc/ada/Makefile.in.ori Mon Mar 3 09:49:49 2003 --- gcc/ada/Makefile.in Thu Mar 13 10:59:47 2003 *************** ifeq ($(strip $(filter-out hppa% hp hpux *** 759,771 **** 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 SYMLIB = -laddr2line -lbfd $(INTLLIBS) --- 759,779 ---- s-osinte.ads<53osinte.ads \ s-parame.ads<5hparame.ads \ s-osprim.adb<7sosprim.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 + # 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 -lpthread THREADSLIB = -lpthread -lc_r SYMLIB = -laddr2line -lbfd $(INTLLIBS)
next reply other threads:[~2003-03-13 16:16 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-13 16:16 Olivier Hainque [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-03-04 21:26 dave.anglin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030313161600.12341.qmail@sources.redhat.com \ --to=hainque@act-europe.fr \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).