No subject


Mon Jan 28 08:41:14 PST 2013


> Two things:
> 1. If they are just warnings and not errors, they can safely be ignored.
> 2. Are you sure the warning is coming from apple-gdb and not from the inf=
erior program being debugged?


On 22 Nov 2013, at 15:14, Brandon Allbery <allbery.b at gmail.com<mailto:allbe=
ry.b at gmail.com>> wrote:


On Fri, Nov 22, 2013 at 9:56 AM, James Furness <pcxjf1 at nottingham.ac.uk<mai=
lto:pcxjf1 at nottingham.ac.uk>> wrote:
So as an experiment I thought I would try to use gdb-apple instead of the =
=91vanilla=92 gdb (again downloaded from macports). However when I try to r=
un gdb-apple from the terminal, it will run fine without a program to debug=
, however when I give it a program it returns a massive list of missing lib=
rary errors referring to a non-existent directory.

The errors are all like:
warning: Could not find object file "/Users/fx/devel/gcc/ibin-462-x86_64/x8=
6_64-apple-darwin11/libquadmath/strtod/.libs/tens_in_limb.o" - no debug inf=
ormation available for "../../../gcc-4.6.2-RC-20111019/libquadmath/strtod/t=
ens_in_limb.c=94.

This is normal for normal port builds, since we clean up the build director=
y after installing something, but paths in debug symbols reference the buil=
d directory because that's all they know about while being built. Often you=
 don't actually need this information, but if you do then you will need to =
reinstall the port with -k (sudo port -kN upgrade --force ...) to keep it f=
rom cleaning up the work directory after installation.

--
brandon s allbery kf8nh                               sine nomine associate=
s
allbery.b at gmail.com<mailto:allbery.b at gmail.com>                            =
      ballbery at sinenomine.net<mailto:ballbery at sinenomine.net>
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.ne=
t<http://sinenomine.net/>


This message and any attachment are intended solely for the addressee and m=
ay contain confidential information. If you have received this message in er=
ror, please send it back to me, and immediately delete it.   Please do not u=
se, copy or disclose the information contained in this message or in any att=
achment.  Any views or opinions expressed by the author of this email do not=
 necessarily reflect the views of the University of Nottingham.=0D=0A
=0D=0A
This message has been checked for viruses but the contents of an attachment=
=0D=0A
may still contain software viruses which could damage your computer system,=
 you are advised to perform your own checks. Email communications with the U=
niversity of Nottingham may be monitored as permitted by UK legislation.=0D=0A
=0D=0A
=0D=0A
=0D=0A
=0D=0A

--_000_5B5CADD312324A58934BB79CCE26C41Dexmailnottinghamacuk_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;"><div>I=92ll reply to b=
oth here to save mails.</div><div><br></div><div>It turns out it is running=
 fine.</div><div><br></div><div>Many thanks guys, I really appreciate the h=
elp. I=92ve been staring at errors and warnings from different places all w=
eek, I missed that it was running fine and assumed the worst.&nbsp;</div><d=
iv><br></div><div>Regards,</div><div>James</div><div><br></div><div>From Er=
ic Gallager:</div><div>&gt; Two things:<div>&gt; 1. If they are just warnin=
gs and not errors, they can safely be ignored.</div><div>&gt; 2. Are you su=
re the warning is coming from apple-gdb and not from the inferior program b=
eing debugged?</div></div><div><br></div><br><div><div>On 22 Nov 2013, at 1=
5:14, Brandon Allbery &lt;<a href=3D"mailto:allbery.b at gmail.com">allbery.b@=
gmail.com</a>&gt; wrote:</div><br class=3D"Apple-interchange-newline"><bloc=
kquote type=3D"cite"><div dir=3D"ltr"><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote">On Fri, Nov 22, 2013 at 9:56 AM, James Furness <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:pcxjf1 at nottingham.ac.uk" target=3D"_blank"=
>pcxjf1 at nottingham.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div id=3D":14b" style=3D"overflow:hidden">S=
o as an experiment I thought I would try to use gdb-apple instead of the =
=91vanilla=92 gdb (again downloaded from macports). However when I try to r=
un gdb-apple from the terminal, it will run fine without a program to debug=
, however when I give it a program it returns a massive list of missing lib=
rary errors referring to a non-existent directory.<br>

<br>
The errors are all like:<br>
warning: Could not find object file "/Users/fx/devel/gcc/ibin-462-x86_64/x8=
6_64-apple-darwin11/libquadmath/strtod/.libs/tens_in_limb.o" - no debug inf=
ormation available for "../../../gcc-4.6.2-RC-20111019/libquadmath/strtod/t=
ens_in_limb.c=94.<br>
</div></blockquote></div><br>This is normal for normal port builds, since w=
e clean up the build directory after installing something, but paths in deb=
ug symbols reference the build directory because that's all they know about=
 while being built. Often you don't actually need this information, but if =
you do then you will need to reinstall the port with -k (sudo port -kN upgr=
ade --force ...) to keep it from cleaning up the work directory after insta=
llation.<br>
<div><br></div>-- <br><div dir=3D"ltr"><div>brandon s allbery kf8nh &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; sine nomine associates</div><div><a href=3D"mailto:a=
llbery.b at gmail.com" target=3D"_blank">allbery.b at gmail.com</a> &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp;<a href=3D"mailto:ballbery at sinenomine.net" ta=
rget=3D"_blank">ballbery at sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &=
nbsp;<a href=3D"http://sinenomine.net/" target=3D"_blank">http://sinenomine=
.net</a></div></div>
</div></div>
</blockquote></div><br>
<br>=
<p>This message and any attachment are intended solely for the addressee an=
d may contain confidential information. If you have received this message in=
 error, please send it back to me, and immediately delete it.&nbsp;&nbsp; Pl=
ease do not use, copy or disclose the information contained in this message =
or in any attachment.&nbsp; Any views or opinions expressed by the author of=
 this email do not necessarily reflect the views of the University of Nottin=
gham.</p><p>This message has been checked for viruses but the contents of an=
 attachment may still contain software viruses which could damage your compu=
ter system, you are advised to perform your own checks. Email communications=
 with the University of Nottingham may be monitored as permitted by UK legis=
lation.</p>
<br>=
</body></html>=

--_000_5B5CADD312324A58934BB79CCE26C41Dexmailnottinghamacuk_--


More information about the macports-users mailing list