LDC 1.34.0
d007
d007 at gmail.com
Thu Aug 31 05:46:30 UTC 2023
On Tuesday, 29 August 2023 at 12:19:08 UTC, d007 wrote:
>
> Try link with LDC 1.34.0 release and lld linker, get this
> error:
>
>
> lld: error: unknown argument
> '-func-specialization-size-threshold=1000000000'
>
>
> I can see there is
> `-Wl,-lto_library,/opt/local/ldc16/lib/libLTO-ldc.dylib
> -Wl,-mllvm,-func-specialization-size-threshold=1000000000 `
> passed into clang.
turn out this is my scripts drop the -mllvm args pass to lld.
now it work without problem.
More information about the Digitalmars-d-announce
mailing list