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

Fix Windows XP macro #11018

Merged
merged 2 commits into from
Apr 27, 2015
Merged

Fix Windows XP macro #11018

merged 2 commits into from
Apr 27, 2015

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented Apr 26, 2015

We probably want to get rid of this macro, along with XP support, at some point. But for now we use it in a handful of places, mostly related to symlinks.

The current implementation is actually broken, since the Windows version check was getting run at system image compile time on the build machines (building Julia from source on XP doesn't work, something in LLVM failed to link IIRC from the last time I tried) instead of at runtime.

@tkelman
Copy link
Contributor Author

tkelman commented Apr 26, 2015

This was originally added in 37b8f25 by @kmsquire.

Would appreciate some review that my redone version looks okay (I tested that it gives the expected behavior on xp and windows 7), I'd like to get this fix into 0.3.8 within a few days, and best to have things on master for a little while before that.

@tkelman
Copy link
Contributor Author

tkelman commented Apr 27, 2015

comment from c3bec707#commitcomment-10908088, now hidden due to a rebase

I would guess there aren't too many XP users of Julia...

No, I don't think there are. We might want to quantify that somehow if we hit a technical issue that would be too much effort to get working on XP (possibly libgit2-related), but for now if support can be maintained without trouble I don't see why not to keep it alive.

the previous version of this macro was hard-coding the result of
windows_version() from the build machine, and the buildbots are
all newer than XP so this was not working correctly
repl tests freeze otherwise, the fix in libuv for #7082 does not work on XP

dllist tests also fail on xp since oddly Libdl.dllist()
is only listing file names, not full absolute paths

udp recvfrom tests give ERROR: LoadError: bind: address family not supported (EAFNOSUPPORT)
tkelman added a commit that referenced this pull request Apr 27, 2015
@tkelman tkelman merged commit 9ec6ae1 into master Apr 27, 2015
@tkelman tkelman deleted the tk/fix-windowsxp_only branch April 27, 2015 11:56
tkelman added a commit that referenced this pull request Apr 28, 2015
the previous version of this macro was hard-coding the result of
windows_version() from the build machine, and the buildbots are
all newer than XP so this was not working correctly

(cherry picked from commit 8e68fe2)
ref PR #11018
@tkelman
Copy link
Contributor Author

tkelman commented Apr 28, 2015

backported in d84675a and 5078421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:windows Affects only Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants