-
Notifications
You must be signed in to change notification settings - Fork 9
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
depends system doesn't work for cross compilation from Ubuntu to Windows #130
Comments
We are using the official Gitian way, and there all files must be available at github, and we have no problems to compile from Ubuntu to Linux/Windows/OSX/ARM x86 and x64 Im also able to do a direct cross compile from source without gitian |
I haven't tried a Gitian build, but I can show you the output when I try a direct cross compile with the depends system. I know I am not missing dependencies, but perhaps one of the sources for the dependencies of the depends build are outdated, I didn't watch it the entire time to see if every dependency it fetches does so successfully. To build it regularly with autoconf (./autogen.sh, ./configure, make) on any Ubuntu distro works fine. I am trying a fresh fetch and cross compile with the depends system now, I will paste the output when it's finished. |
When you build with gitian, do you use lxc, or kvm? |
I believe he uses KVM. |
Thank you! That's what I figured as I have not had great luck with LXC in the past. Will give it a shot. |
U can take a look at the gitian-win.yml file at contrib/gitian-descriptor , there u see the depends that u have to install at a direct compiler And yes, at gitian i use KVM |
@TheHashCoin-project , did you have time to try to build with depends again? I am going to close this issue and if you still can't cross compile, we can re-open it. @SvenKercher would not be able to use gitian or build the Windows version if there was an issue. |
I believe the issue was with the machine I was using for cross compilation,
it is very old and has had some memory/bus related issues and is a very
picky old beast haha. Thank you for your prompt attention to the issue!
…On Fri, Oct 26, 2018 at 9:30 AM Amir Abrams ***@***.***> wrote:
@TheHashCoin-project <https://github.com/TheHashCoin-project> , did you
have time to try to build with depends again? I am going to close this
issue and if you still can't cross compile, we can re-open it.
@SvenKercher <https://github.com/SvenKercher> would not be able to use
gitian or build the Windows version if there was an issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ApcHrZmoeO9DJq7cY2pE3XrvSTwZlv5zks5uow5ngaJpZM4XWd0A>
.
|
Iv tried to jack with gitian KVM & LXC for a week and its more worthless then a tick on a dog butt. haha. |
A buddy and I was able to fix the memory problem with cross compiling the source. Ill post changes in here after it fully working. |
@ultra-pool if you are going to open a pull request, please pr to the v1.3-WIP branch. |
@Duality-CDOO Github would not let me push the pr. I committed in v1.3-WIP the lines that i edited to be able to cross compile on Ubuntu without memory errors. I tested 3 times cross compiling and the cross compile worked each time. |
I would need to look into whether that would cause issues with building normally from source, have you tested @ultra-pool. Is that an unused function? |
Yes iv crossed compiled SEQ 3 times. All the SEQ functionality needs to be tested. All functions works on my forked source. |
The thing is, that i have no problems using gitian to compile all binaries |
You would need to test compile with gitian. Me personally dont use gitian and never been able to get gitian to work correctly at all. Also compiling with gitian is a waste of space and time when you can cross compile without it in no time. But I posted what i did to be able to cross compile without gitian and seems to work in my forked source and cross compiling SEQ source. |
Cross compile without gitian is no option for a Release |
Have you tested the edit with gitian? |
Have tried using multiple versions of Ubuntu & Debian, but have not been able to successfully cross compile from Ubuntu/Debian to Windows (i686 or x86_64) using the depends system.
The text was updated successfully, but these errors were encountered: