-
Notifications
You must be signed in to change notification settings - Fork 814
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
Issue running x64 ELF since 1803 Build Windows [Version 10.0.17134.1] #3154
Comments
I'm also having an issue with yocto sdk since last update. When checking for compiler ($CC) after sourcing the yocto sdk i get: -bash: /mnt/e/edws/svn-edws/s3/S3Trunk/ThirdPartyTools/yocto/sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc: cannot execute binary file: Exec format error readelf -e arm-poky-linux-gnueabi-gcc ELF Header: Program Headers: |
After downgrade to previous Windows Version I can run the binary again. No Workaround or anything required, pretty sure its not a 32 Bit Issue here. |
I confirm what @jebos said. Hope this issue will be solved soon, otherwise i cannot update Windows to 1803 build. |
Seem to have the same issue here on Windows
|
Going back to 1709 fixed this for me as well. |
An strace isn't going to be useful. Would it be possible to upload the failing binary in question? |
Here is the binary in question (zipped): |
@nsgundy - Thanks for sharing the binary, that made my life easy. Looks like there was an off-by-one error introduced to our ELF parser. I have submitted a fix that will get this working. I'm of the opinion that we should backport this to 1803 but in order to get signoff I'll need to make a case. So far, as I understand it, some yocto tools that are provided by their SDK do not run. Those with more context on this thread, could you please provide me more context or details that I can use to help justify releasing this fix via Windows Update? Thanks! |
@benhillis Thanks, this would be great. My case is that I'm using wsl on my daily work, cross-compiling for arm embedded linux. Without the patch I need to stay away from 1803. So 1803 stops me from working in Windows 10. Staying away from 1803 for long (until FALL) won't be an option due to our policies ect. Having a patch for 1803 would be really appreciated. If there is no patch incoming, I fear that I will be forced to switch back to my native Linux for daily development work... that would be a shame since WSL worked flawless for me since over a year. Thanks again. Give me a note if you need more input on making a case for the backport. |
@jebos - That is exactly what I was looking for, thank you! |
Just stumbled on this myself. This also breaks the Zephyr (https://www.zephyrproject.org/ , https://github.com/zephyrproject-rtos/) SDK, which is another Yocto-derived toolchain suite. |
Great finding @benhillis . Thank you Me and my team use WSL as our development environment to do cross-compiling for ARM processors and we use yocto toolchain for that. It would be great to fix this in 1803, otherwise I cannot update Windows 10. I hope we can see this fixed in 1803 soon :) Thanks again |
@benhillis Thanks for looking into this! I am in the same boat as @jebos. As it so happens, got my fingers crossed for a patch... |
Thanks everyone, I think we have a very good case for getting this fix backported. The fix for this has been checked in and will be making its way to the flighting branch in the coming weeks. After that fix is public it would be useful for somebody on this thread to ensure this fixes all the issues they are having. |
Standing by :) 1803 is now knocking on my door every day and I have to tell it to go away manually since I cannot change the update settings as that's controlled centrally. Edit: Actually today was the last day I could press the "later" option on the update, the option to defer updates for up to a certain number of days is set to 5 and I cannot change it (again, domain policy). So I have just enabled "Pause Updates", buying an extra 35 days until 2018-06-22... |
Hey all, I'm affected by this as well with a Yocto built SDK that no longer functions after updating to 1803. Looking forward to the fix. Member of our development team that made the decision to run Windows are disrupted. Downgrading to 1709 resolved this. |
Downgrading to 1709 fixed it. Pause updates checked, hopefully it gets fixed by 6/22/18! |
Hey here, |
This is fixed in 17686, please let me know if this resolves your issues and I will begin the backporting process. |
@benhillis Unfortunately I'd like to stick to the stable releases... is there a less-intrusive way to test this? |
Unfortunately not. |
Second the issue regarding the Zephyr SDK mentioned by @andyross. Our toolchain is yocto-based and we suffer from the same bug in 1803, which is preventing Zephyr developers from building on WSL. Currently running 17134.48 |
Hi @benhillis |
Thanks for confirming, I've started the backporting process. |
My work's domain policy does not allow Insiders program. Is there a way to manually apply a fix as I cannot revert back to 1709? |
There isn't a way to manually apply the fix. But maybe Ben can give some details about what makes these Yocto binaries so "weird" in the first place. Possibly you can just use the stock Ubuntu arm gcc cross compiler as a work-around. I am not clear on whether there is something special about Yocto's It would be better if Yocto's binary just worked, natch. But since you're locked into a "can't go back can't go forward" situation, I'm just looking for possible solutions in the interim. If the difference in their binary isn't critical, maybe it could even be addressed upstream. Anyway just spit-balling. |
@benhillis is there any ETA for the backport to 1803? Thanks for your effort. |
@jebos - It's in the pipeline, but I don't know much beyond that. |
Just upgrade to 17134.191 today, still not fixed yet. Doesn't the backport process take too long time? More than one month already, the best bet is next Tuesday update, though it's two weeks away, yet who knows whether it will be there. Maybe we should wait another month? |
Any news? |
@benhillis Any news on the backport ? It's been a couple of months since any update here and I'm still experiencing this exact issue on 1803. Thanks |
Unfortunately due to some circumstances out of my control this fix got pushed to the next servicing Window. October is the last date I heard. Sorry for the delay, I'm frustrated with this as well. |
Ok, thanks nonetheless for the quick reply and update |
@benhillis does 1809 fix this issue? |
@carlescufi - Yes the fix for this issue is in 1809. |
I'm assuming that Windows server 2019 that is releasing imminently will already have this fix in it ? We are moving our build servers to that once it releases to take advantage of WSL instead of requiring a separate Linux or Docker setup. |
@andyross this is fixed now, I just built Zephyr on WSL |
@chrisella - correct, Server 2019 has the fix as well. |
Not fixed for ELF32, at least not for me:
|
Microsoft Windows [Version 10.0.17134.1]
Since the latest Upgrade of Windows I have trouble running ELF provided by a custom yocto sdk. This used to work before the latest Windows Update. This looks exactly like Issue Issue running ARM cross compiler on WSL #1048
Some output:
The text was updated successfully, but these errors were encountered: