[PATCH] D114186: [lld][CMake] Add LLD_DEFAULT_NOSTART_STOP_GC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 09:52:14 PST 2021


MaskRay added a comment.

In D114186#3173840 <https://reviews.llvm.org/D114186#3173840>, @emaste wrote:

> We requested an experimental ports build with the start-stop-gc behaviour reverted (i.e., with `getZFlag(args, "start-stop-gc", "nostart-stop-gc", false);`)
>
> The following previously-failing packages appear to be fixed by the change:
>
> - igv-2.9.4
> - firebird25-client-2.5.9_1
> - dub-1.14.0
> - ghidra-9.1
> - apache-openoffice-4.1.11
> - apache-openoffice-devel-4.2.1633255994,4
> - pioneer-20210723_1
> - signald-0.15.0
> - onedrive-2.4.12
> - keepass-2.46
> - reptyr-0.8.0
> - gtk-sharp-beans-2.14.1_1
> - gtkd-3.9.0
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260159

devel/dub, x11-toolkits/gtkd, and net/onedrive are due to ldc (https://github.com/ldc-developers/ldc/issues/3861): `ld: error: undefined hidden symbol: __start_minfo`.
(Quick workaround is to remove --gc-sections from ldc source)

All other ports appear unrelated to the linker change, e.g.

  reptyr-0.8.0.log
  212:platform/freebsd/arch/x86_common.h:45:6: error: variable 'ret' set but not used [-Werror,-Wunused-but-set-variable]
  215:platform/freebsd/arch/x86_common.h:54:6: error: variable 'ret' set but not used [-Werror,-Wunused-but-set-variable]
  
  apache-openoffice-4.1.11.log
  9196:cc: error: unsupported option '-print-multi-os-directory'
  9197:cc: error: no input files
  ...
  
  apache-openoffice-devel-4.2.1633255994,4.log
  52857:/usr/local/include/vigra/memory.hxx:43:12: fatal error: 'tr1/memory' file not found
  52929:/usr/local/include/vigra/memory.hxx:43:12: fatal error: 'tr1/memory' file not found


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114186/new/

https://reviews.llvm.org/D114186



More information about the llvm-commits mailing list