libtool
[Top][All Lists]
Advanced

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

Re: Libtool error reporting.


From: Peter O'Gorman
Subject: Re: Libtool error reporting.
Date: Sun, 19 Feb 2012 16:22:51 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14

I pushed this, sorry for the long delay, and thank you.

Peter

On 01/09/2012 08:38 AM, Shamis, Pavel wrote:
Peter,

Did you have a chance to look at the patch. Please let me know if you have some 
comments.
I found it extremely useful for debug of module component architecture, that loads 
modules on the "fly".

Regards,

Pavel (Pasha) Shamis
---
Application Performance Tools Group
Computer Science and Math Division
Oak Ridge National Laboratory






On Dec 8, 2011, at 11:09 AM, Shamis, Pavel wrote:

Peter,

Actually, I already have a patch. Please see attached file. It is very simple, if module 
opening fails, in addition to "Failed" message, it prints out last error 
message.
So far it is only a spot where I found useful to add verbose error reporting.

<libtool_debug_error_reporting.patch>

Regards,

Pavel (Pasha) Shamis
---
Application Performance Tools Group
Computer Science and Math Division
Oak Ridge National Laboratory

On Dec 8, 2011, at 12:19 AM, Peter O'Gorman wrote:

On 12/05/2011 11:48 AM, Shamis, Pavel wrote:
Hi,

As have been mentioned on the list, libtool error reporting - "file not found" is not 
perfect. People suggested to fix it (hxxp://www.mail-archive.com/address@hidden/msg12156.html) but 
it seems, that the changes have never been incorporated into the trunk. I'm not well familiar with 
all the details of the problem, but I would suggest to improve the debug mode (-DLT_DEBUG_LOADERS) 
verbose messaging. Libtool already prints "Success/Failed", so I suggest to extend the 
message and  print out the last error (LT__GETERROR(error)) for the Failed case.

This seems like a good idea (if DEBUG_LOADERS is defined, print the
error to stderr every time an error is set). If you don't come up with a
patch, I'll try to find the time to do it.

Thanks,
Peter



_______________________________________________
hxxps://lists.gnu.org/mailman/listinfo/libtool





reply via email to

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