[coreboot-gerrit] Patch set updated for coreboot: util/crossgcc: Regenerate GMP autotools files before build

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Thu Dec 31 01:16:13 CET 2015


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12816

-gerrit

commit e9f4c34f65d36ea4dd4fc1bed0196fe205896b91
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Wed Dec 30 14:52:19 2015 -0600

    util/crossgcc: Regenerate GMP autotools files before build
    
    The config.guess file included with GMP is completely obsolete,
    leading to build failures on ppc64el due to the system architecture
    not being detected.  Regenerate the files from the host system via
    automake before attempting to build GMP.
    
    Change-Id: I00fc16003906e373d112c25978197ac907adccfd
    Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 util/crossgcc/buildgcc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 988e3c3..8b52d5f 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -367,6 +367,10 @@ build_GMP() {
 
 build_MPFR() {
 	test $UNAME = "Darwin" && CFLAGS="$CFLAGS -force_cpusubtype_ALL"
+	BUILD_DIR="$PWD"
+	cd ../${MPFR_DIR}/
+	CC="$CC" automake --add-missing --copy --force-missing
+	cd "$BUILD_DIR"
 	CC="$CC" ../${MPFR_DIR}/configure --disable-shared --prefix=$TARGETDIR \
 		--infodir=$TARGETDIR/info \
 		--with-gmp=$DESTDIR$TARGETDIR CFLAGS="$HOSTCFLAGS" || \



More information about the coreboot-gerrit mailing list