Cross compiler to arm bare metal fails during make in zlib. If configured with --with-system-zlib, make succeeds. I have an automated script which allows easier detection.
-- Summary: Make fails in zlib Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dschlic1 at gmail dot com GCC build triplet: arm-unknown-elf GCC host triplet: i686-pc-linux-gnu GCC target triplet: arm-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45174