[Bug c/55915] New: fails to build lto-compress.c, zlib.h not found
alexpux at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 9 10:13:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55915
Bug #: 55915
Summary: fails to build lto-compress.c, zlib.h not found
Classification: Unclassified
Product: gcc
Version: lto
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: alexpux@gmail.com
I have trouble with building GCC from trunk with system zlib. My configure line
is:
configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
--target=x86_64-w64-mingw32
--prefix=/temp/x64-trunk-snapshot-posix-seh-rev3/prefix
--with-sysroot=/temp/x64-trunk-snapshot-posix-seh-rev3/prefix
--enable-shared --enable-static --disable-multilib
--enable-languages=c,c++,fortran,lto
--enable-libstdcxx-time=yes
--enable-threads=posix
--enable-libgomp
--enable-lto
--enable-graphite
--enable-cloog-backend=isl
--enable-checking=release
--enable-fully-dynamic-string
--enable-version-specific-runtime-libs
--disable-ppl-version-check
--disable-cloog-version-check
--disable-libstdcxx-pch
--disable-libstdcxx-debug
--disable-bootstrap
--disable-rpath
--disable-win32-registry
--disable-nls
--disable-werror
--disable-symvers
--with-gnu-as
--with-gnu-ld
--with-arch=nocona --with-tune=core2
--with-host-libstdcxx=-static -lstdc++
--with-libiconv
--with-system-zlib
--with-gmp=/temp/mingw-prereq/x86_64-w64-mingw32-static
--with-mpfr=/temp/mingw-prereq/x86_64-w64-mingw32-static
--with-mpc=/temp/mingw-prereq/x86_64-w64-mingw32-static
--with-ppl=/temp/mingw-prereq/x86_64-w64-mingw32-static
--with-cloog=/temp/mingw-prereq/x86_64-w64-mingw32-static
--with-pkgversion=Built by MinGW-builds project
--with-bugurl=http://sourceforge.net/projects/mingwbuilds/
CFLAGS=-O2 -pipe -fomit-frame-pointer
-I/temp/x64-trunk-snapshot-posix-seh-rev3/libs/include
-I/temp/mingw-prereq/x86_64-w64-mingw32-static/include
-I/temp/mingw-prereq/x64-zlib/include
CXXFLAGS=-O2 -pipe -fomit-frame-pointer
CPPFLAGS=
LDFLAGS=-pipe -L/temp/x64-trunk-snapshot-posix-seh-rev3/libs/lib
-L/temp/mingw-prereq/x86_64-w64-mingw32-static/lib
-L/temp/x64-trunk-snapshot-posix-seh-rev3/prefix/opt/lib
-L/temp/mingw-prereq/x64-zlib/lib
I have prebuilded zlib in /temp/mingw-prereq/x64-zlib.
During build I nave error:
x86_64-w64-mingw32-g++ -c -O2 -pipe -fomit-frame-pointer -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I.
-I../../../../mingw-sources/gcc-trunk/gcc
-I../../../../mingw-sources/gcc-trunk/gcc/.
-I../../../../mingw-sources/gcc-trunk/gcc/../include
-I../../../../mingw-sources/gcc-trunk/gcc/../libcpp/include
-I/temp/mingw-prereq/x86_64-w64-mingw32-static/include
-I/temp/mingw-prereq/x86_64-w64-mingw32-static/include
-I/temp/mingw-prereq/x86_64-w64-mingw32-static/include
-I../../../../mingw-sources/gcc-trunk/gcc/../libdecnumber
-I../../../../mingw-sources/gcc-trunk/gcc/../libdecnumber/bid -I../libdecnumber
-I../../../../mingw-sources/gcc-trunk/gcc/../libbacktrace
../../../../mingw-sources/gcc-trunk/gcc/lto-compress.c -o lto-compress.o
../../../../mingw-sources/gcc-trunk/gcc/lto-compress.c:28:18: fatal error:
zlib.h: No such file or directory
compilation terminated.
make[2]: *** [lto-compress.o] Error 1
make[2]: Leaving directory
`/temp/x64-trunk-snapshot-posix-seh-rev3/build/gcc-trunk/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/temp/x64-trunk-snapshot-posix-seh-rev3/build/gcc-trunk'
make: *** [all] Error 2
More information about the Gcc-bugs
mailing list