[coreboot-gerrit] Patch merged into coreboot/master: 31bf37e crossgcc: Improve compatibility of the toolchain across host systems

gerrit at coreboot.org gerrit at coreboot.org
Thu Jun 4 17:15:03 CEST 2015


the following patch was just integrated into master:
commit 31bf37eb32170bf69be845a1218438c12fe5bf75
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Thu Jun 4 00:09:12 2015 +0200

    crossgcc: Improve compatibility of the toolchain across host systems
    
    crossgcc builds gmp, whose build system normally optimises for the hardware
    it's built on. That may give a minor performance boost but has the downside
    that the compiler becomes non-portable and may break on other systems due to
    illegal instructions.
    
    Setting CFLAGS to some reasonable value prevents gmp's configure script from
    choosing CPU specific -mtune flags (which may enable optimizations that only
    run on CPUs with the same feature set).
    Enabling "fat" builds make the build system add all optimized assembler
    routines and makes the selection of the right one a runtime decision instead
    of deciding at compile time.
    
    Change-Id: I72d20627270baa082cd02ebb4c9a09cd23f30f8c
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
    Reviewed-on: http://review.coreboot.org/10412
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


See http://review.coreboot.org/10412 for details.

-gerrit



More information about the coreboot-gerrit mailing list