gdb-apple Error

Brandon Allbery allbery.b at gmail.com
Fri Nov 22 07:14:11 PST 2013


On Fri, Nov 22, 2013 at 9:56 AM, James Furness <pcxjf1 at nottingham.ac.uk>wrote:

> So as an experiment I thought I would try to use gdb-apple instead of the
> ‘vanilla’ gdb (again downloaded from macports). However when I try to run
> 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
> library 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/x86_64-apple-darwin11/libquadmath/strtod/.libs/tens_in_limb.o"
> - no debug information available for
> "../../../gcc-4.6.2-RC-20111019/libquadmath/strtod/tens_in_limb.c”.
>

This is normal for normal port builds, since we clean up the build
directory after installing something, but paths in debug 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 upgrade --force ...) to
keep it from cleaning up the work directory after installation.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20131122/37b98a74/attachment.html>


More information about the macports-users mailing list