-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Native Windows 64-bit Build Error #4360
Comments
Commenting out the line in question allows me to build: /*#ifdef _OS_WINDOWS_
DLLEXPORT struct tm* localtime_r(const time_t *t, struct tm *tm);
#endif*/
|
I saw this over the weekend, and I believe it was fixed by switching to mingw with win32 rather than posix style threads (but it's a bit blurry because there were a lot of permutations of 32 and 64 bit builds..). FWIW, I don't get this error on a fresh checkout with this mingw and msys 0909. |
Ah, that makes sense. I replaced my mingw recently and wasn't sure if I should do posix or win32 style. I'll look into switching back (maybe we should have a note about this in the readme?) |
Yeah, i added the note to the build errata in the windows readme already :) |
I would recommend to go back to the 0828 msys2. I have had nothing but trouble with the 0909 build (bad relocation addresses, out of memory and unable to fork, other misc. things). I finally just got a clean build with 0828 and mingw- gcc4.8.1, x64, win32-threads, seh. the only stop was to |
@ihnorton what problems you have with latest MSYS2? About fork you can try to rebase dlls. Do next steps:
P.S.: mingw-builds project now merging into mingw-w64 project. Temporarly our new tolchains are located here: Regards, |
@Alexpux thanks, unfortunately I don't have an exact answer, which is why I have not filed a bug yet. If I had to guess, it seems like an error in process control. I ran out of RAM during one |
I'm now running the new mingw64 Alexey posted above with the 9/9 msys2 and everything seems to be working fine. Thanks for the help @ihnorton. |
Hey @Alexpux, could you help me? julia> Pkg.add("DataFrames")
INFO: Cloning cache of DataFrames from git://github.com/JuliaStats/DataFrames.jl.git
/cygdrive/c/Users/karbarcca/AppData/Roaming/Julia/packages/C:\Users\karbarcca\AppData\Roaming\Julia\packages\.cache\DataFrames: No such file or directory
ERROR: failed process: Process(`git clone -q --mirror git://github.com/JuliaStats/DataFrames.jl.git 'C:\Users\karbarcca\AppData\Roaming\Julia\packages\.cache\DataFrames'`, ProcessExited(1)) [1]
in error at error.jl:22 Notice the |
To remove /cygdrive prefix you need to add next line to MSYS2 /etc/fstab: About git: maybe you use Windows git instead of MSYS2 git? |
It looks like that's already in my file
I'll look into using windows git instead. |
@karbarcca interesting, that is good news. I have also seen git issues, so I usually rename mingw git.exe -> _git.exe (I have windows git in my system path). |
I've tried to rebuild a few times today (doing
make clean
,make cleanall
, and finally wiping everything and building from scratch) and I've run into this same problem each time.Windows 8, 64-bit, using msys2 (note that I'm using the 9/9 release of msys2 that I've already used to build correctly which seems to suggest something on the julia side has changed).
The text was updated successfully, but these errors were encountered: