Daniel Richard G. wrote: > The system does not appear to have a GNU compatible realloc() function, > but for some reason, the replacement realloc() was not compiled:
Thanks, can you look at the generated 'configure' and see why that is? It should contain something like this: if test $ac_cv_func_realloc_0_nonnull = yes; then : $as_echo "#define HAVE_REALLOC_GNU 1" >>confdefs.h else $as_echo "#define HAVE_REALLOC_GNU 0" >>confdefs.h REPLACE_REALLOC=1 fi if test $REPLACE_REALLOC = 1; then gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" fi You're reporting that HAVE_REALLOC_GNU=0, which means REPLACE_REALLOC should be 1 and gl_LIBOBJS should contain realloc.o; evidently this is not taking place. Perhaps you can put some 'echo' statements into 'configure' to see what's going wrong. > cc -Ae +DD64 +DO11.0 +ESconstlit +ESlit +w1 -z +O0 -g -o test-regex > test-regex.o libtests.a ../gllib/libgnu.a libtests.a > ... > This link needs to be done with -mt to pull in the pthreads library. Wouldn't -lpthread work as well? pthreadlib.m4 says it would. I pushed this patch to try to fix that: >From bc265d1559f2e564489b5db7bf738ec503c40cbf Mon Sep 17 00:00:00 2001 From: Paul Eggert <egg...@cs.ucla.edu> Date: Sat, 12 Oct 2013 11:50:15 -0700 Subject: [PATCH] regex-tests: port to HP-UX 11.11 Problem reported by Daniel Richard G. in <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00052.html>. * modules/regex-tests (test_regex_LDADD): Add LIBTHREAD, LIB_PTHREAD. --- ChangeLog | 7 +++++++ modules/regex-tests | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2b37375..e3e514c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-10-12 Paul Eggert <egg...@cs.ucla.edu> + + regex-tests: port to HP-UX 11.11 + Problem reported by Daniel Richard G. in + <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00052.html>. + * modules/regex-tests (test_regex_LDADD): Add LIBTHREAD, LIB_PTHREAD. + 2013-10-10 Paul Eggert <egg...@cs.ucla.edu> verify: document some 'assume' pitfalls diff --git a/modules/regex-tests b/modules/regex-tests index cfff7bf..638dba9 100644 --- a/modules/regex-tests +++ b/modules/regex-tests @@ -10,4 +10,4 @@ configure.ac: Makefile.am: TESTS += test-regex check_PROGRAMS += test-regex -test_regex_LDADD = $(LDADD) @LIBINTL@ +test_regex_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD) $(LIB_PTHREAD) -- 1.8.3.1