Follow-up Comment #6, bug #63070 (project make):
I'm not sure I understand the change being made. POSIX_SPAWN_USEVFORK *is*
definitely defined in glibc 2.17: I'm looking at the source for that release
right now and see it.
It's set if __USE_GNU is set:
/* Flags to be set in the `posix_spawnattr_t'. */
#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
#ifdef __USE_GNU
# define POSIX_SPAWN_USEVFORK 0x40
#endif
This is almost identical to the current version (it adds a new extra flag as
well).
I think the only way to make this work is not supply USEVFORK if we are
building with glibc less than 2.24...?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63070>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/