- 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.
a636150803 dsynth - Support chromium WITH_DEBUG build
usr.bin/dsynth/dsynth.h | 3 +++
usr.bin/dsynth/mount.c | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
Upstream: gitweb.dragonflybsd.org