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/17514] New: Can't bootstrap using ICC


Bootstrap using ICC 7.1 dies with this:

[...]
make[1]: Entering directory
`/home/wilx/gcc-head/objdir/build-i686-pc-linux-gnu/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
  icc -c -DHAVE_CONFIG_H -g -I. -I../../../srcdir/libiberty/../include   
../../../srcdir/libiberty/regex.c -o pic/regex.o; \
else true; fi
icc -c -DHAVE_CONFIG_H -g -I. -I../../../srcdir/libiberty/../include  
../../../srcdir/libiberty/regex.c -o regex.o
../../../srcdir/libiberty/../include/xregex2.h(544): error: expected a ")"
  extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,
                     ^

../../../srcdir/libiberty/../include/xregex2.h(548): error: expected a ")"
  extern int regexec _RE_ARGS ((const regex_t *__restrict __preg,
                     ^

../../../srcdir/libiberty/regex.c(7573): warning #589: transfer of control
bypasses initialization of:
            variable "same_str_p" (declared at line 6010)
      goto restore_best_regs;
      ^

compilation aborted for ../../../srcdir/libiberty/regex.c (code 2)
make[1]: *** [regex.o] Error 2
make[1]: Leaving directory
`/home/wilx/gcc-head/objdir/build-i686-pc-linux-gnu/libiberty'
make: *** [all-build-libiberty] Error 2

Configuration flags were:
CC=icc ../srcdir/configure --disable-nls --enable-version-specific-runtime-libs
--enable-dwarf2 --with-cpu=athlon-tbird --with-arch=athlon-tbird
--with-system-zlib --enable-languages=c,c++,objc --disable-sjlj-exceptions
--enable-shared=libstdc++ --program-suffix=-3.5 --enable-__cxa_atexit
--enable-libmudflap

-- 
           Summary: Can't bootstrap using ICC
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: v dot haisman at sh dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
                    cvut dot cz
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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