[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool error reporting.
From: |
Shamis, Pavel |
Subject: |
Re: Libtool error reporting. |
Date: |
Mon, 9 Jan 2012 09:38:06 -0500 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Libtool error reporting.,
Shamis, Pavel <=