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

Error(023): incomplete write occurred when doing -build-mode:dll -linker:radlink #4828

Open
nadako opened this issue Feb 11, 2025 · 0 comments

Comments

@nadako
Copy link
Contributor

nadako commented Feb 11, 2025

Context

I was experimenting with radlink, since people say it's faster, but it doesn't seem to be able to link even the minimal DLL for me. Linking executables seems to work just fine.

  • Operating System & Odin Version:
        Odin:    dev-2025-02-nightly:0683a3d
        OS:      Windows 11 Professional (version: 23H2), build 22631.4830
        CPU:     AMD Ryzen 5 3600 6-Core Processor
        RAM:     16309 MiB
        Backend: LLVM 18.1.8

Expected Behavior

Stuff compiles and I get a DLL.

Current Behavior

Output: Error(023): incomplete write occurred, 178 Bytes written, expected 1.10 KiB
Temporary .obj files remaining in the directory.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. create mylib.odin file. The contents can be as minimal as just package mylib
  2. execute odin build . -build-mode:dll -linker:radlink
  3. observe the error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant