This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: ada/9953: Unsatisfied symbols: U_prep_frame_rec_for_unwind (c
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 17 Mar 2003 16:16:02 -0000
- Subject: Re: ada/9953: Unsatisfied symbols: U_prep_frame_rec_for_unwind (c
- Reply-to: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
The following reply was made to PR ada/9953; it has been noted by GNATS.
From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
To: hainque at ACT-Europe dot FR (Olivier Hainque)
Cc: dave dot anglin at nrc-cnrc dot gc dot ca, gcc-gnats at gcc dot gnu dot org, hainque at ACT-Europe dot FR,
bosch at gnat dot com
Subject: Re: ada/9953: Unsatisfied symbols: U_prep_frame_rec_for_unwind (c
Date: Mon, 17 Mar 2003 11:15:12 -0500 (EST)
> dave dot anglin at nrc-cnrc dot gc dot 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.
[...]
> +
> TGT_LIB = /usr/lib/libcl.a -lpthread
> THREADSLIB = -lpthread -lc_r
> SYMLIB = -laddr2line -lbfd $(INTLLIBS)
We still have a problem. The first problem is fixed but libpthread
(posix threads) isn't available under 10.20:
../../xgcc -B../../ -DIN_GCC `echo -g -W -Wall -Wwrite-strings -Wstrict-protot
ypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long |sed -e 's/-pe
dantic//g' -e 's/-Wtraditional//g'` -o ../../gnatmake b_gnatm.o ali.o ali-util
.o alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o einfo.o elists.o e
rrout.o fmap.o fname.o fname-uf.o fname-sf.o gnatmake.o gnatvsn.o hostparm.o kru
nch.o lib.o make.o makeusg.o mlib.o mlib-fil.o mlib-prj.o mlib-tgt.o mlib-utl.o
namet.o nlists.o opt.o osint.o osint-m.o output.o prj.o prj-attr.o prj-com.o prj
-dect.o prj-env.o prj-ext.o prj-nmsc.o prj-pars.o prj-part.o prj-proc.o prj-strt
.o prj-tree.o prj-util.o rident.o scans.o scn.o sdefault.o sfn_scan.o sinfo.o si
nfo-cn.o sinput.o sinput-l.o sinput-p.o snames.o stand.o stringt.o style.o style
sw.o validsw.o switch.o switch-m.o switch-c.o table.o targparm.o tree_io.o types
.o uintp.o uname.o urealp.o usage.o widechar.o \
../../prefix.o ../../version.o ../rts/libgnat.a ../../../libiberty/libiberty.a /usr/lib/libcl.a -lpthread
/usr/ccs/bin/ld: Can't find library for -lpthread
Dave
--
J. David Anglin dave dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)