git: dsynth - Support chromium WITH_DEBUG build

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 27 13:30:18 PDT 2021


commit a6361508038b68a24df8cd4f252863c19062ba94
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 27 12:32:02 2021 -0700

    dsynth - Support chromium WITH_DEBUG build
    
    * WITH_DEBUG=yes plus STRIP= on a chromium build, including dependencies,
      requires more than 16GB in /usr/local and more than 64GB in /construction.
    
    * For those interested, the final link with full debugging takes 3 hours,
      burns around 100GB of filesystem space, and 54GB of ram for the llvm10
      linker.
    
      Unfortunately, the debug link for chromium still fails.
    
      ld.lld: error: headless_devtools_manager_delegate.cc:(.debug_info+0x27FEF):
    	relocation R_X86_64_32 out of range: 4714474997 is not in
    	[0, 4294967295]; consider recompiling with -fdebug-types-section to
    	reduce size of debug sections.
    
      But keep the dsynth changes anyway in case this can get resolved in
      the future.

Summary of changes:
 usr.bin/dsynth/dsynth.h | 3 +++
 usr.bin/dsynth/mount.c  | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a6361508038b68a24df8cd4f252863c19062ba94


-- 
DragonFly BSD source repository


More information about the Commits mailing list