|
From: | Michael Felt |
Subject: | Re: so-called pipe files (sh-np-*) do not get deleted when processes close. |
Date: | Wed, 17 Mar 2021 10:20:23 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 16/03/2021 16:21, Chet Ramey wrote:
Correct: configure did not find it. (captured stdout of ../src/bash-5.1.0/configure ...On 3/16/21 11:07 AM, Michael Felt wrote:On 16/03/2021 14:38, Chet Ramey wrote:Haven't looked at configure yet - but do not find it in the usual places:On 3/16/21 8:04 AM, Michael Felt wrote:Decided to give bash-5.1 a try. I doubt it is major, but I get as far as:"../../../src/bash-5.1.0/lib/sh/tmpfile.c", line 289.11: 1506-068 (W) Operation between types "char*" and "int" is not allowed.ld: 0711-317 ERROR: Undefined symbol: .mkdtempThen how does configure find it? It's a POSIX function, and that file includes the appropriate headers.root@x065:[/data/prj/gnu/bash/bash-5.0.18]grep mkdtemp /usr/include/*.hroot@x065:[/data/prj/gnu/bash/bash-5.0.18]grep mkdtemp /usr/include/sys/*.hAlso, not found on AIX 6.1 (TL9), but did find on AIX 7.1 TL4.Sure, but configure checks for it, and bash only uses mkdtemp if configurefinds it. Why does configure find it?
checking for mkstemp... yes checking for mkdtemp... no checking for arc4random... no Results in base directory: config.h:/* Define if you have the mkdtemp function. */ config.h:/* #undef HAVE_MKDTEMP */ config.log:configure:13967: checking for mkdtemp config.log:ld: 0711-317 ERROR: Undefined symbol: .mkdtempconfig.log:| /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
config.log:| #define mkdtemp innocuous_mkdtemp config.log:| which can conflict with char mkdtemp (); below. config.log:| #undef mkdtemp config.log:| char mkdtemp (); config.log:| #if defined __stub_mkdtemp || defined __stub___mkdtemp config.log:| return mkdtemp (); config.log:ac_cv_func_mkdtemp=no root@x065:[/data/prj/gnu/bash/bash-5.1.0]Attaching both configure.out and make.(std)out as well as config.log and config.status.
Hope this helps! Michael
make.out
Description: Text document
configure.out
Description: Text document
config.status
Description: Text document
config.log
Description: Text document
OpenPGP_0x722BFDB61F396FC2.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |