--- Begin Message ---
Subject: |
getprogname vs. AIX [was: new snapshot available: grep-2.25.92-f3e9 |
Date: |
Wed, 21 Sep 2016 21:25:19 -0700 |
Gordon reported this off-list:
>>>> On AIX-7.1 32bit, compilation fails due to gnulib's new 'getprogname'
>>>> module:
>>>> CC getprogname.o
>>>> getprogname.c: In function 'getprogname':
>>>> getprogname.c:45:4: error: #error "getprogname module not ported to this
>>>> OS"
>>>> # error "getprogname module not ported to this OS"
Thanks again for that report.
Here is a tentative patch (let's call it "pragmatic" -- it tests
explicitly for _AIX rather than a feature-test macro like
HAVE_GETPROCS64 and an additional macro from an autoconf test for the
existence of the procinfo.h header).
Can someone let me know if this solves the problem?
gnulib-AIX-getprogname.diff
Description: Binary data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24505: getprogname vs. AIX [was: new snapshot available: grep-2.25.92-f3e9 |
Date: |
Thu, 22 Sep 2016 12:17:12 -0700 |
On Thu, Sep 22, 2016 at 9:14 AM, Jim Meyering <address@hidden> wrote:
> On Thu, Sep 22, 2016 at 7:49 AM, Assaf Gordon <address@hidden> wrote:
...
> Thank you, Assaf.
> Good catch. I've made that correction and pushed to gnulib.
I have also pushed a grep commit to make it use the latest from gnulib:
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=4a86a5e728ae0152048dd9a65d681f324c8aea17
With that, building on AIX should at least get past that compilation failure.
--- End Message ---