[Bug other/15215] New: make bootstrap fails on solaris2.8 when configuring libffi

niki dot waibel at gmx dot net gcc-bugzilla@gcc.gnu.org
Fri Apr 30 00:53:00 GMT 2004


problem in line 2500 of ligcc-3.4.0/libffi/configure:
===
+ echo (cached) \c 
(cached) + echo yes 
yes
+ test set = set 
CFLAGS=-O2 -g -O2
+ test != yes 
/tmp/gcc-3.4.0/libffi/configure: test: argument expected
make[1]: *** [configure-target-libffi] Error 1
make[1]: Leaving directory `/tmp/gcc_build'
make: *** [bootstrap] Error 2
nwaibel@blade1000-2 /tmp/gcc_build $ 
===

it comes actually from a macro in gcc-3.4.0/libffi/acinclude.m4 line 13:
===
AC_DEFUN([AC_FUNC_MMAP_BLACKLIST],
[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
   ac_cv_func_mmap_anon=no
else
===

dblquotes around the variables ($ac_cv_header_sys_mman_h and $ac_cv_func_mmap) 
help, but i am not 100% sure if the variables should not contain sthg anyway 
(either yes or no)...

my configure line:
===
../gcc-3.4.0/configure  --with-gnu-as --with-as=/misc/sparc-sun-solaris2.
8/bin/as --with-gnu-ld --with-ld=/misc/sparc-sun-solaris2.8/bin/ld 
--prefix=/misc/sparc-sun-solaris2.8/opt/gcc/3.4.0 --disable-shared 
--enable-languages=all --enable-threads --with-system-zlib --disable-nls 
--enable-multilib --with-cpu=ultrasparc
===

-- 
           Summary: make bootstrap fails on solaris2.8 when configuring
                    libffi
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: niki dot waibel at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15215



More information about the Gcc-bugs mailing list