Bootstrapping 4.5 from branch (r158177), configured '--with-system-zlib' on a
newly installed system that lacked development headers:

[...]
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I/home/franke/svn/gcc-4.5/gcc -I/home/franke/svn/gcc-4.5/gcc/.
-I/home/franke/svn/gcc-4.5/gcc/../include
-I/home/franke/svn/gcc-4.5/gcc/../libcpp/include 
-I/home/franke/svn/gcc-4.5/gcc/../libdecnumber
-I/home/franke/svn/gcc-4.5/gcc/../libdecnumber/bid -I../libdecnumber     
/home/franke/svn/gcc-4.5/gcc/lto-compress.c -o lto-compress.o
/home/franke/svn/gcc-4.5/gcc/lto-compress.c:28:18: error: zlib.h: No such file
or directory
/home/franke/svn/gcc-4.5/gcc/lto-compress.c: In function 'lto_zalloc':
/home/franke/svn/gcc-4.5/gcc/lto-compress.c:61: error: 'Z_NULL' undeclared
(first use in this function)

Maybe a check for zlib.h should be added to configure.in?


-- 
           Summary: missing check for zlib.h, fails to build lto-compress.c
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dfranke at gcc dot gnu dot org


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

Reply via email to