Re: [commit] reimplement AIX shared-lib support (v3)

Luis Machado
2013-05-07T14:45:24Z

On 05/07/2013 04:28 PM, Joel Brobecker wrote:
>>> For me the function is static in solib-aix.c, so I don't get a warning.
>>> If that is true for you then the error seems like a compiler bug.
>>
>> That crossed my mind. I'll try a new build later with a different
>> compiler to see how it works.
>>
>> This is GCC 4.7.2 by the way.
>
> For the record, same for me. I just recompiled with GCC 4.7.4 on
> x86_64-linux.
>

Ah, here it is.

The failure seems to be due to solib_aix_free_library_list only being
defined if HAVE_LIBEXPAT is defined, but it is being used in
solib_aix_normal_stop_observer regardless of HAVE_LIBEXPAT being defined
or not.

I was missing libexpat in my system, so that's why i was seeing this
failure. Looks like it is a real GDB bug.