Displaying 4 results from an estimated 4 matches for "lld_link".
2017 Mar 31
2
Invoking lld for PE/COFF (Windows) linking
...ring unknown argument: -Bstatic
C:\Programming\VersionControl\bninja_installed_clang\bin\lld-link.exe:
warning:
ignoring unknown argument: -Bdynamic
C:\Programming\VersionControl\bninja_installed_clang\bin\lld-link.exe:
warning:
ignoring unknown argument: --end-group
and then nothing further and lld_link.exe just hangs and never
completes. So it looks to me that lld_link, in it effort to link PE/COFF
(Windows) files created by clang++ targeting VC++, has some sort of bug.
2017 Mar 29
3
Invoking lld for PE/COFF (Windows) linking
...further linking processes. LLD
accepts almost all command line options that the linker shipped with
Microsoft Visual C++ (link.exe) supports."
Unfortunately with clang++ attempting to use "-fuse-ld=lld-link" when
linking outputs:
"clang++.exe: error: unsupported value 'lld_link' for -linker option"
So I must use "-fuse-ld=lld". Does this mean that I should be passing
"-flavor link" to the lld linker ? If so, how do I do that ? If not,
what do I do to have lld work with PE/COFF linking rather than ELF linking ?
I have attempted to pass to t...
2017 Mar 31
3
Invoking lld for PE/COFF (Windows) linking
On 3/30/2017 7:59 PM, Reid Kleckner via llvm-dev wrote:
> On Thu, Mar 30, 2017 at 6:08 AM, Edward Diener via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Are you saying that once lld is built with mingw-64/gcc on Windows
> it is impossible to tell it to handle PE/COFF files when invoking it
> from clang++ using the
2017 Mar 30
2
Invoking lld for PE/COFF (Windows) linking
...lmost all command line options that the
> linker shipped with Microsoft Visual C++ (link.exe) supports."
>
> Unfortunately with clang++ attempting to use "-fuse-ld=lld-link"
> when linking outputs:
>
> "clang++.exe: error: unsupported value 'lld_link' for -linker option"
>
> So I must use "-fuse-ld=lld". Does this mean that I should be
> passing "-flavor link" to the lld linker ? If so, how do I do that ?
> If not, what do I do to have lld work with PE/COFF linking rather
> than ELF li...