[Bug bootstrap/57028] [4.9 regression] Fortran bootstrap fails due to missing zlib.h

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Wed Apr 24 16:54:00 GMT 2013


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

--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2013-04-24 16:54:41 UTC ---
As far as I understand it, there are two issues:

1. zlib isn't built unless some explicitly enabled component demands it; in my
case (on x86_64) zlib was built since I had java enabled, but nothing in
Fortran appears to declare a dependency on zlib.  Maybe
gcc/fortran/config-lang.in is the place to declare that?

2. The in-tree zlib isn't added automatically to include and library paths,
components need to check for with_system_zlib and adjust their paths
accordingly, c.f. libjava/configure.ac.



More information about the Gcc-bugs mailing list