libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Strip DWARF-2 debug information for libraries on Darwin.


From: Ralf Wildenhues
Subject: Re: [PATCH] Strip DWARF-2 debug information for libraries on Darwin.
Date: Sun, 5 Oct 2008 20:04:44 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Peter,

* Peter O'Gorman wrote on Sun, Oct 05, 2008 at 07:03:24PM CEST:
> 
> I don't really like running strip (or dsymutil) on the library, but the
> debug information that is stored in the library/executable is really
> only paths to and uuids of the object files, and libtool may have
> removed those if convenience libraries were used. The .dSYM bundle
> contains all of the debug information from the object files (even those
> that we removed).

Just curious, did you run the testsuite with this patch?

Do all conceivable strip programs on darwin understand -S?

IIUC then this strip is not necessary if no convenience archives come
into play, right?  In that case, would it help the user if strip was
not run then?  I suppose you could test whether $convenience is empty
in that case.  (I'm afraid this change would require retesting.)

I guess a couple of tests, for using -gstabs, and for using gdb, would
be a nice bonus (but if you want to apply the patch without, I won't
complain).  I've never tried to automatize gdb though.

Otherwise, looks ok to me, thanks.

I kinda wonder at which point you'll suggest
  case $host in darwin*)
    AC_MSG_WARNING([please file a radar about X*'ยง/$&]) ;;
  esac

;-)

Thanks,
Ralf




reply via email to

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