-
-
Notifications
You must be signed in to change notification settings - Fork 211
Function not implemented errors when using RAM drive #248
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
Comments
rust-lang/rust#90780 Seems like an ImDisk problem |
Okay, good to know LLVM is already looking at this bug. It's not the first application to run into these issues. I while back I reported similar problems in Meson: mesonbuild/meson#7295 Once you've used a RAM drive it's impossible to get used to the slow speeds of disk I/O again when building. |
Just so you know, this is because of ImDisk not implementing various functions that LLVM and other programs use (see the Rust issue above), so there's not much they can do about it. |
Maybe that's why ImDisk it's so fast: it's light because it doesn't implement all the bells and whistles... |
I think that bug might be fixed in latest git of LLVM. I tried building a snapshot of the latest git of both LLVM and mingw-w64, available at https://martin.st/temp/llvm-mingw-dec2021-x86_64.zip. Does this fix the issue for you? |
Yes, that fixed the RAM drive issues with ImDisk. |
FWIW, this issue is now also fixed in the latest proper (pre)release, https://github.com/mstorsjo/llvm-mingw/releases/tag/20220209. |
Now LLVM 14.0.0 final is released, and there's a fullblown, non-rc, release with the fix: https://github.com/mstorsjo/llvm-mingw/releases/tag/20220323 |
Just want to say, there's a way to fix this. So apparently, imdisk doesn't have compatibility with everything. But the imdisk author has a product that does work with this. http://www.ltr-data.se/opencode.html/#ImDisk
Download and install the driver for arsenal image mounter, then go to this page and download aim_ll.zip, then you can create a volume (as a startup script even) like so
See the cmdline details for more info, but with |
Thanks for the tip, but I'm still using ImDisk without issues thanks to the fix. |
It's actually open source under the AGPL license! But yeah, you can use what you want. My comments purpose is to be there for anyone who finds it useful. Glad the issue's fixed for you! |
You can also try |
To increase build times in Windows I use a RAM drive for my build processes.
Specifically I use ImDisk set up like this:
But when using LLVM build tools on this drive I get
Function not implemented
errors that I don't get when working on my normal disk.It is not just one specific application. I have seen it in
llvm-rc.exe
andllvm-ar.exe
, butclang.exe
doesn't have this problem.Do you any idea what causes this and how to fix this?
The text was updated successfully, but these errors were encountered: