This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/16217] New: make bootstrap failed on libffi/configure line 2500


I am trying to do a native build of gcc-3.4.0 on solaris, but failed on make
bootstrap.  The output of uname -a is

SunOS mars 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-250

It was configured in obj.gcc34 directory as:

../gcc-3.4.0/configure --prefix=/u02/gcc.340

Then make bootstrap failed with error:

checking whether we are using GNU C... (cached) yes
checking whether /u02/obj.gcc34/gcc/xgcc -B/u02/obj.gcc34/gcc/
-B/u02/gcc34/sparc-sun-solaris2.8/bin/ -B/u02/gcc34/sparc-sun-solaris2.8/lib/
-isystem /u02/gcc34/sparc-sun-solaris2.8/include -isystem
/u02/gcc34/sparc-sun-solaris2.8/sys-include accepts -g... (cached) yes
/u02/gcc-3.4.0/libffi/configure: test: argument expected
make[1]: *** [configure-target-libffi] Error 1
make[1]: Leaving directory `/u02/obj.gcc34'
make: *** [bootstrap] Error 2
mars% 

The Error happened in file libffi/configure line 2500:

if test $ac_cv_header_sys_mman_h != yes \
 || test $ac_cv_func_mmap != yes; then

where neither of these two variables are set.

-- 
           Summary: make bootstrap failed on libffi/configure line 2500
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wxy at kivera dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: solaris
  GCC host triplet: solaris
GCC target triplet: solaris


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]