Skip to content

Merge LLVM's commit that fixes lld-link on Windows 7 and Wine #3691

Closed
@SimonN

Description

@SimonN

Please include this commit from llvm-project upstream in the next LDC release. That commit fixes LDC issue #3675 -- lld-link fails to write any output at all -- on Windows 7, and likely also on Wine.

I use LDC in Wine as my Linux-to-Windows cross-compiling solution. As I explained in the (prematurely closed) LDC issue #3675, the current LDC 1.25.1 is broken in Wine; lld-link errors even on Hello World. Thus, I'm very interested that the upstream fix from LLVM gets merged into the next LDC. Likewise, the Windows 7 users will also be happy about the merge.

My broken LDC is:

LDC - the LLVM D compiler (1.25.1):
  based on DMD v2.095.1 and LLVM 11.0.1
  built with LDC - the LLVM D compiler (1.25.1)
  Default target: x86_64-pc-windows-msvc
  Host CPU: skylake

Example output from failing compiles of Hello World

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions