[Bug bootstrap/29741] New: Fails to build bootstrap under solaris 10, i386

nick dot kings at bt dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 6 16:14:00 GMT 2006


Bootstrap build fails.  

Operating system:

uname -a
SunOS malta.info.bt.co.uk 5.10 Generic_118844-26 i86pc i386 i86pc

pwd
/export/space/applications/install-files/gcc-4.1.1/objdir

Sequence used:
a) Create a temporary object directory
b) ../configure --enable-shared
c) make bootstrap   <- fails

gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../../libiberty/../include  -W -Wall
-pedantic -Wwrite-strings -Wstrict-prototypes ../../../libiberty/pex-unix.c -o
pex-unix.o
In file included from /usr/include/sys/signal.h:34,
                 from /usr/include/signal.h:26,
                 from ../../../libiberty/pex-unix.c:28:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:292: error: ISO C forbids data definition with no
type or storage class
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: ISO C forbids data definition with no
type or storage class
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:426: error: ISO C forbids data definition with no
type or storage class
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: ISO C forbids data definition with no
type or storage class
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
/usr/include/sys/siginfo.h:437: error: ISO C forbids data definition with no
type or storage class
In file included from /usr/include/signal.h:26,
                 from ../../../libiberty/pex-unix.c:28:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from ../../../libiberty/pex-unix.c:28:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
../../../libiberty/pex-unix.c: In function `pex_wait':
../../../libiberty/pex-unix.c:100: warning: implicit declaration of function
`waitpid'
../../../libiberty/pex-unix.c:103: warning: implicit declaration of function
`wait4'
make[1]: *** [pex-unix.o] Error 1
make[1]: Leaving directory
`/export/space/applications/install-files/gcc-4.1.1/objdir/build-i386-pc-solaris2.10/libiberty'
make: *** [all-build-libiberty] Error 2

config.cache
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
ac_cv_prog_AR=${ac_cv_prog_AR='ar'}
ac_cv_prog_AR_FOR_TARGET=${ac_cv_prog_AR_FOR_TARGET='ar'}
ac_cv_prog_AS=${ac_cv_prog_AS='as'}
ac_cv_prog_AS_FOR_TARGET=${ac_cv_prog_AS_FOR_TARGET='as'}
ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
ac_cv_prog_CC_FOR_TARGET=${ac_cv_prog_CC_FOR_TARGET='cc'}
ac_cv_prog_CXX_FOR_TARGET=${ac_cv_prog_CXX_FOR_TARGET='i386-pc-solaris2.10-c++'}
ac_cv_prog_GCC_FOR_TARGET=${ac_cv_prog_GCC_FOR_TARGET='i386-pc-solaris2.10-gcc'}
ac_cv_prog_GCJ_FOR_TARGET=${ac_cv_prog_GCJ_FOR_TARGET='i386-pc-solaris2.10-gcj'}
ac_cv_prog_LD=${ac_cv_prog_LD='/usr/ccs/bin/ld'}
ac_cv_prog_LD_FOR_TARGET=${ac_cv_prog_LD_FOR_TARGET='ld'}
ac_cv_prog_LEX=${ac_cv_prog_LEX='lex'}
ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'}
ac_cv_prog_M4=${ac_cv_prog_M4='m4'}
ac_cv_prog_NM=${ac_cv_prog_NM='nm'}
ac_cv_prog_NM_FOR_TARGET=${ac_cv_prog_NM_FOR_TARGET='nm'}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB='ranlib'}
ac_cv_prog_RANLIB_FOR_TARGET=${ac_cv_prog_RANLIB_FOR_TARGET='ranlib'}
ac_cv_prog_STRIP=${ac_cv_prog_STRIP='strip'}
ac_cv_prog_STRIP_FOR_TARGET=${ac_cv_prog_STRIP_FOR_TARGET='strip'}
ac_cv_prog_YACC=${ac_cv_prog_YACC='yacc'}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross='no'}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g='yes'}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works='yes'}
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
acx_cv_cc_gcc_supports_ada=${acx_cv_cc_gcc_supports_ada='no'}
acx_cv_prog_LN=${acx_cv_prog_LN='ln'}
gcc_cv_prog_cmp_skip=${gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'}
gcc_cv_prog_ln_s_dir=${gcc_cv_prog_ln_s_dir='yes'}


-- 
           Summary: Fails to build bootstrap under solaris 10, i386
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nick dot kings at bt dot com


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



More information about the Gcc-bugs mailing list