Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghaith opened this issue Feb 13, 2025 · 1 comment
Open

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

ghaith opened this issue Feb 13, 2025 · 1 comment

Comments

@ghaith
Copy link
Collaborator

ghaith commented Feb 13, 2025

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

@ghaith
Copy link
Collaborator Author

ghaith commented Feb 13, 2025

On the rust side, this might have been the fix: rust-lang/rust#31319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant