bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X Leopard and conftest.dSYM directories


From: Peter O'Gorman
Subject: Re: Mac OS X Leopard and conftest.dSYM directories
Date: Sat, 10 Nov 2007 08:48:28 -0600
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

Jeff Squyres wrote:
> Ralf -- thanks for reporting this; I had a hectic week and could not get
> to this issue before now.  We noticed this issue in the context of the
> Open MPI project (my laptop is a MacBook, just recently upgraded to
> Leopard).  Note that I am *not* an OS X expert!
> 
> Here's the smallest configure.ac in which I was able to make it happen:

Yeah, I complained about it at WWDC a couple of times, was told
"configure is just giving a warning, nothing to worry about". Could not
bring it up on a list due to NDA.

When you do cc -o foo foo.c, because temporary object files are deleted,
and DWARF stores its debugging information in the temporary object
files, Apple's gcc runs the 'dsymutil' command before deleting the
object file to create a file that will hold the application debugging
information. Unfortunately, they chose to use, not a file, but a
"bundle" directory structure. (I complained about this also).

Autoconf will probably have to do rm -rf conftest* instead of rm
conftest*. I don't know how many places this is required.

If Jeff wants to workaround -gstabs, or no -g in CFLAGS should "fix" it.

I have a bug for libtool that I need to fix too (libtool unpacks
convenience libraries and uses the objects to create shared libraries,
then deletes the objects, so the debugger can not find debugging
information for that shared library - libtool deleted it).

Hope this helps,
Peter






reply via email to

[Prev in Thread] Current Thread [Next in Thread]