Ronald G. Minnich (rminnich@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13700
-gerrit
commit e4e2889f71e8c1e9905254418dae1879cffd9972 Author: Ronald G. Minnich rminnich@gmail.com Date: Fri Feb 12 21:54:59 2016 +0000
Fix a build problem with power 8: use --with-system-zlib
Power 8 was once again having build issues. Adding --with-system-zlib fixes them. It seems the builtin one is only needed when you are going to build programs, and it falls apart in other cases.
Searching --with-system-zlib reveals this to be a very popular topic.
This has not broken other toolchain builds (for me); it should not for anyone else. Then again, this is gcc, about which I need say no more.
Change-Id: Ica9d057d88982543b5dda471cc949c31fe15932f Signed-off-by: Ronald G. Minnich rminnich@gmail.com --- util/crossgcc/buildgcc | 1 + 1 file changed, 1 insertion(+)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 9652496..720a7ca 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -442,6 +442,7 @@ build_GCC() { --enable-interwork --enable-multilib \ --disable-libatomic --disable-libcc1 --disable-decimal-float \ ${GCC_OPTIONS} --enable-languages="${LANGUAGES}" \ + --with-system-zlib \ --with-gmp=$DESTDIR$TARGETDIR --with-mpfr=$DESTDIR$TARGETDIR \ --with-mpc=$DESTDIR$TARGETDIR --with-libelf=$DESTDIR$TARGETDIR \ --with-pkgversion="coreboot toolchain v$CROSSGCC_VERSION $CROSSGCC_DATE" \