build of 3.4.0 failed in configure of libffi on alphaev6-dec-osf5.1

Joe Buck Joe.Buck@synopsys.COM
Fri Apr 23 17:25:00 GMT 2004


An attempt to build GCC 3.4.0 on alphaev6-dec-osf5.1 failed,
because an unquoted variable in the configure file whose value
is either undefined or the empty string.

The following patch to the configure script (and yes, I know that this is
the wrong fix, since it's a derived file) allows configure to succeed.
This might be a bug in autoconf 2.13.

I restarted the build and will report later if it succeeds.

--- libffi/configure.orig	Sat Nov 22 05:41:32 2003
+++ libffi/configure	Fri Apr 23 09:03:21 2004
@@ -2497,7 +2497,7 @@
 	 
 	 
 
-if test $ac_cv_header_sys_mman_h != yes \
+if test "$ac_cv_header_sys_mman_h" != yes \
  || test $ac_cv_func_mmap != yes; then
    ac_cv_func_mmap_file=no
    ac_cv_func_mmap_dev_zero=no



More information about the Gcc mailing list