The application of:

http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01459.html

causes a build failure:

In file included from
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/java/jcf-io.c:39:0:
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../zlib/zlib.h:1285:23:
error: conflicting types for ‘crc32’
/home/andrew/projects/classpath/gcj/sources/gcc/gcc/../include/libiberty.h:316:21:
note: previous declaration of ‘crc32’ \
was here

Building using:

$GCC_HOME/configure --prefix=$GCC_INSTALL --disable-multilib \
--enable-languages=c,c++,java --enable-java-awt=gtk,xlib,qt \
--enable-gconf-peer --enable-gstreamer-peer --enable-gjdoc \
--enable-java-maintainer-mode --with-java-home=$GCC_INSTALL \
--enable-java-home --with-jvm-root-dir=$GCC_INSTALL/jdk \
--with-jvm-jar-dir=$GCC_INSTALL/jvm-exports &&
make -j9


-- 
           Summary: Conflicting crc32 functions in libiberty and zlib
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gnu_andrew at member dot fsf dot org


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

Reply via email to