Skip to content

A LNK2017 error occurred while compiling for windows in debug mode #1411

Open
@ghaith

Description

@ghaith

Discussed in #1409

Originally posted by chen4s666 February 11, 2025
Hello,
When compiling with -g --linker=clang --target=x86_64-pc-windows-msvc,
I get an error LNK2017: 'ADDR32' relocation to '.debug_line_str' invalid without /LARGEADDRESSAWARE:NO
What shall I do.

I also noticed that the Rust compiler had a similar problem.
rust-lang/rust#29413

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions