checking for library containing posix_spawn... none required checking for posix_spawn... yes checking whether posix_spawn works... ./configure: line 17020: 6008 Segmentation fault ./conftest$ac_exeext > conftest.out no Copying out the C program from AC_DEFUN([gl_POSIX_SPAWN_WORKS] inside m4/posix_spawn.m4 and running it indeed segfaults when it reaches posix_spawn(): guppy m4-1.4.18 # gcc -ggdb3 -O0 -mtune=itanium2 t.c -o t guppy m4-1.4.18 # gdb ./t [...] (gdb) r Starting program: /var/tmp/portage/sys-devel/m4-1.4.18/work/m4-1.4.18/t Failed to read a valid object file image from memory. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. Presumably an implementation bug in glibc. I'm using glibc-2.24-r1.
need to finish letting these bisects finish, but i suspect this is bug 608788
ok, it's not the same issue as bug 608788 exactly, but the same upstream commit caused it. basically, the ia64-specific clone function is being called with the wrong stack base.
got my fix merged upstream, and i cherry picked it back to the 2.24 & 2.25 branches, and to the Gentoo 2.24 & 2.25 patchsets. and those are now in the tree.
Thanks Mike. Confirmed working.