bug-gnulib
[Top][All Lists]
Advanced

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

Re: M4 1.4.14 on AIX 7.1BETA


From: Eric Blake
Subject: Re: M4 1.4.14 on AIX 7.1BETA
Date: Thu, 29 Jul 2010 05:56:39 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

[Please post to public mailing lists, not to random developers,
especially since you have no guarantee whether a random developer's
address will still be valid - redirecting to bug-gnulib]

On 07/29/2010 05:03 AM, Rainer Tammer wrote:
> Hello,
> I now have tested M4 1.4.14 on AIX 7.1BETA. I have replaced
> build-aux/config.guess with the new AIX 7.1 aware version.

If you post config.guess patches to the correct upstream location
(config-patches AT gnu DOT org), then the next release of m4 will
automatically include it.  Meanwhile, your remaining bugs both relate to
code that m4 borrows from gnulib, so fixing it in gnulib will aid in
porting other GNU projects to AIX.

> I also have
> changed m4/posix_spawn.m4 so that
> "gl_cv_func_posix_spawn_works="guessing yes";;" is set. According to my
> tests the old POSIX spawn problem (which was present in early AIX
> 5.3/6.1 versions) is gone.

That would actually be a problem to report to bug-gnulib, but why is
configure rejecting the implementation if you don't seed the cache?

> 
> The make run shown one problem:
> 
>           source='execute.c' object='execute.o' libtool=no  DEPDIR=.deps
> depmode=aix /bin/sh ../build-aux/
> depcomp  cc -qlanglvl=extc89 -qlanglvl=extc99  -I.      -g -c execute.c
> "./spawn.h", line 141.10: 1506-236 (W) Macro name POSIX_SPAWN_RESETIDS
> has been redefined.

Hmm - even though you requested the posix_spawn override, you either did
not request enough other overrides, so your incomplete cache seeding is
causing interference with the rest of things gnulib is trying to
guarantee, or there's still a bug in AIX posix_spawn that needs working
around, but in a way that gnulib is not yet prepared for.

> src/spawn.h
> 
> # define POSIX_SPAWN_RESETIDS           0x01
> # define POSIX_SPAWN_SETPGROUP          0x02
> # define POSIX_SPAWN_SETSIGDEF          0x04
> # define POSIX_SPAWN_SETSIGMASK         0x08
> # define POSIX_SPAWN_SETSCHEDPARAM      0x10
> # define POSIX_SPAWN_SETSCHEDULER       0x20
> 
> AIX 7.1 defines spawn.h:
> 
> #define POSIX_SPAWN_SETPGROUP       0x1
> #define POSIX_SPAWN_SETSIGMASK      0x2
> #define POSIX_SPAWN_SETSIGDEF       0x4
> #define POSIX_SPAWN_SETSCHEDULER    0x8
> #define POSIX_SPAWN_SETSCHEDPARAM   0x10
> #define POSIX_SPAWN_RESETIDS        0x20
> #define POSIX_SPAWN_FORK_HANDLERS   0x1000
> 
> 
> 
> The make check run yields one problem:
> 
>   /bin/sh: 5505092 IOT/Abort trap(coredump)
>   FAIL: test-strtod
> 
> Is this a know problem ?

Did configure try to replace AIX' strtod?  Which line is it failing on?
 Chances are there's a bug in AIX' strtod with C99 compliance that is
not yet being detected at configure time, but which we can work around
if we know what the bug is.

Can you also post the relevant config.log bits for the posix_spawn- and
strtod-related probes?

-- 
Eric Blake   address@hidden    +1-801-349-2682
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]