[Top][All Lists]

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

Re: test-fclose coredumps on AIX 5 thru 7

From: Eric Blake
Subject: Re: test-fclose coredumps on AIX 5 thru 7
Date: Fri, 15 Mar 2013 16:58:07 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

On 03/11/2013 01:35 AM, Gary V. Vaughan wrote:
> On all the AIX machines I have access to, with all compiler optimisations
> turned off, I get this:

> Referring to:
> 71   errno = 0;                              
> 72   ASSERT (lseek (fd2, 0, SEEK_CUR) == -1);
> 73   ASSERT (errno == EBADF);                
> 74   ASSERT (lseek (fd, 0, SEEK_CUR) == 3);  

> Anything I can do to help debug this failure?

Can you determine whether gnulib detected that fclose() is broken, and
installed rpl_fclose?  And if gnulib did not install rpl_fclose, rerun
configure with 'gl_cv_func_fflush_stdin=no' so that you can force a
replacement of rpl_fclose - if that then fixes the test, then the
solution is simple - we need to patch m4/fclose.m4 to detect this bug,
and our existing lib/fclose.c will already fix it.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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