git: DragonFly_RELEASE_6_0 dsynth - Support chromium WITH_DEBUG build

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 26 08:50:52 PST 2021


commit 4c8a8df09cf33b806044b596fddccacff83e72af
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/4c8a8df09cf33b806044b596fddccacff83e72af


-- 
DragonFly BSD source repository


More information about the Commits mailing list