git: Switch to ld.bfd as default ld for world stage.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sat Oct 31 08:25:39 PDT 2020


commit 7c19e7bb8e84ae5332f90d70af4cf3e3c871fa1d
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Oct 31 09:12:38 2020 +0000

    Switch to ld.bfd as default ld for world stage.
    
     Until boot/efi issues are resolved:
     * ld.gold not respecting linker script for section merges;
     * clang built boot1.efi and loader.efi failures.
    
     Default can be restored by setting WORLD_LDVER=ld.gold in make.conf(5).
     Final installed ld(1) will still default to ld.gold to not disturb
     things in DPorts.
    
     NOTE: this might produce different final binaries if building in tree,
     but it should not be fatal as we support both ld.bfd and ld.gold.
     Use "make LDVER=ld.bfd" to mimic buildworld behaviour when needed.

Summary of changes:
 Makefile.inc1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7c19e7bb8e84ae5332f90d70af4cf3e3c871fa1d


-- 
DragonFly BSD source repository


More information about the Commits mailing list