Re: GNU Make 4.4.0.90 on AIX 7.2

2023-01-22 Thread Dmitry Goncharov
On Tue, Jan 17, 2023 at 3:14 AM Bruno Haible  wrote:
> On AIX 7.2, in 64-bit mode, with the environment variables settings
>
>   CC="xlc -q64 -qthreaded -qtls";
>   CXX="xlC -q64 -qthreaded -qtls";
>   AR="ar -X 64";
>   NM="nm -X 64 -B";
>   export CC CXX AR NM
>
> (with which I build many GNU packages successfully), I get 20 test failures:
>
> * 16 failures in category 'features/archives'.
>   Error message:
> /home/haible/make-4.4.0.90/build-64-xlc/tests/../make: invalid option -- X
> Usage: make [options] [target] ...
> Options:
> ...
>   Apparently the value of ${AR} or the value of ${NM} is being decomposed, and
>   the -X option, meant for the 'ar' or the 'nm' program, is being passed to
>   'make'.

Thanks for your report.
https://savannah.gnu.org/bugs/index.php?63688



> * 1 failure in category 'features/include'.
>   The command 'touch -a test.foo' is being printed twice, not just once.
>   This could be a bug in the AIX exec* functions, which don't properly
>   separate the stdout and stderr of the parent process and child process
>   in some situations. (I had seen this many years ago, in AIX 4 or AIX 5.)
>
> * 3 failures in category 'features/output-sync'.
>   Error message is "timeout after 10 seconds".

Neither of these reproduces for me on aix 7.1 on powerpc.

regards, Dmitry



Re: GNU Make 4.4.0.90 on AIX 7.2

2023-01-17 Thread Bruno Haible
> * 1 failure in category 'features/include'.
>   The command 'touch -a test.foo' is being printed twice, not just once.
>   This could be a bug in the AIX exec* functions, which don't properly
>   separate the stdout and stderr of the parent process and child process
>   in some situations. (I had seen this many years ago, in AIX 4 or AIX 5.)

config.h contains:
/* #undef USE_POSIX_SPAWN */

Replacing 'vfork ()' with 'fork ()' in src/job.c does not help.

Bruno






Re: GNU Make 4.4.0.90 on AIX 7.2

2023-01-17 Thread Bruno Haible
On AIX 7.2, in 64-bit mode, with the environment variables settings

  CC="xlc -q64 -qthreaded -qtls";
  CXX="xlC -q64 -qthreaded -qtls";
  AR="ar -X 64";
  NM="nm -X 64 -B";
  export CC CXX AR NM

(with which I build many GNU packages successfully), I get 20 test failures:

* 16 failures in category 'features/archives'.
  Error message:
/home/haible/make-4.4.0.90/build-64-xlc/tests/../make: invalid option -- X
Usage: make [options] [target] ...
Options:
...
  Apparently the value of ${AR} or the value of ${NM} is being decomposed, and
  the -X option, meant for the 'ar' or the 'nm' program, is being passed to
  'make'.

* 1 failure in category 'features/include'.
  The command 'touch -a test.foo' is being printed twice, not just once.
  This could be a bug in the AIX exec* functions, which don't properly
  separate the stdout and stderr of the parent process and child process
  in some situations. (I had seen this many years ago, in AIX 4 or AIX 5.)

* 3 failures in category 'features/output-sync'.
  Error message is "timeout after 10 seconds".

Find attached the logs.



makeerror-4.4.0.90-powerpc-ibm-aix7.2.4.0-8cot.tar.gz
Description: application/compressed-tar