-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
io.js armv7l build isn't working on the BeagleBone Black #349
Comments
ok, well that kind of sucks .. I'm building on an Ubuntu 14.04 base which has a lot of stuff updated |
@rvagg @julianduque What's the status on this? I'm assuming this is still an issue. |
yes, still an issue, I'd love to have a couple of BBB boards donated to the project so we can integrate them to CI and produce builds based on an older Linux distro on armv7 the only other resolution is for me to come up with a way to produce builds on the current armv7 box but linking to an older libc, which I started on but is not a simple afternoon job. |
Maybe I should just not use Debian Wheezy? I recently ran into this glibc issue both on a BeagleBone Black and on my local Debian install on my rooted Android tablet. Should I switch to a different OS with more up-to-date libraries or something? If so, which Linux distribution that is ARM compatible works with io.js? |
I've being running the ARMv7 version of io.js 1.0.2 successfully on a BeagleBone Black using Ubuntu 14.4.1. This version of Ubuntu can be downloaded here http://elinux.org/BeagleBoardUbuntu. There are several files available for downloads. I'm using this one https://rcn-ee.net/rootfs/2015-01-06/ubuntu-14.04.1-console-armhf-2015-01-06.tar.xz |
I think I have a way to fix this, http://cloud.online.net/ offer a Wheezy version on their ARMv7 machines, I just need to find some time to work on this and hook it up to CI. If it works, then the binaries should be compiled against a much older libc and in theory would work on the standard BBB distro (I think). |
@rvagg Another solution could be creating a cross-compile host which would allow for more "exotic" flavours. Not sure how many we'd actually need, but it's not very hard to setup. I guess we can have it in mind as the build team progresses. |
I'm not really keen on cross-compiling because it's very difficult to test |
@fivdi thanks.. I have found Ubuntu packages to generally be more up-to-date before. Was just going with Debian because I thought it might be a lighter-weight option but I keep running into issues with packages so I may go back to Ubuntu. |
@rvagg I have one BBB Rev C here for you, will give it to you next week if that works |
@julianduque aye! thanks |
@rvagg talked with people from BeagleBoard and current image will be deprecated, will test binary with new one, also will work on getting io.js bundled on the new image. |
With my Vagrant VM setup for running Docker ARM containers, I noticed the issue using a Docker image based on Debian Wheezy, but not when using Debian Jessie. I know the current default BBB image is based on Wheezy, but it looks like the issue will go away once Jessie becomes standard. |
surely you jest! Wheezy will live longer than you and I .. The priority for the @iojs/build team re ARMv7 is to start building releases on a Wheezy-based OS. I think the easiest path there is to just start using a Wheezy image on Online Labs. |
😄 |
Update: I got a gcc-4.8 compiled for wheezy / armhf and am now using it on an ARMv7 machine running Wheezy machine on online.net: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/371/nodes=iojs-armv7-wheezy/console Next step would be to switch releases over to this setup if this works OK. I also have a bunch of new equipment to help me better set up the growing ARM cluster in my office so should have more machines coming on board soon. /cc @iojs/build |
Any updates ? |
some notes on this in nodejs/build#77 - summary: WIP |
Hey folks, just letting you know that as of this build: https://iojs.org/download/nightly/v2.3.1-nightly2015061696165f9be2/ the nightlies are coming out of a Wheezy-based ARMv7 machine. I'd love to hear if they are solving the problems coming up here. |
It's definitely looking a lot better. Here's the output of a few commands on a BeagleBone Black using the latest Recommended Debian Wheezy 7.8 Image:
This is the first time I've worked with a nightly build and I haven't figured out how to get
|
@fivdi iirc node-gyp doesn't work with nightlies. |
you can grab the source for the nightly and stick it in ~/.node-gyp/ with the appropriate name and it'll work, alternatively use ... working towards making this actually work without hackery but we're not there yet |
Yes, using One additional hack was needed.
Whether or not it's a good idea to comment out this line is a different question. Did a few tests and they all worked as expected 👍 |
@rvagg the v2.3.1 nightlies are coming out of a Wheezy-based ARMv7 machine, but v2.3.1 release didn't. Will release builds come out of a Wheezy-based ARMv7 machine in the future? |
only nightlies so far sorry, transition to releases is planned but not something I want to hurry for complicated reasons |
new release job that we're now using for nightlies, next-nightlies, rcs and releases is using the new Wheezy-based ARMv7 build machine so expect v2.3.2 to have a binary that works on older linuxes. |
v2.3.2 armv7 binary came off a wheezy machine so should fix this issue |
Nice Job :) Other than the
Tried out a few modules and addons and everything functioned as expected.
|
Should this issue be closed or should it be kept open for the node-gyp issue? |
I'm using
iojs-v1.0.0-nightly201501135ea716d895-linux-armv7l
on Debian Wheezy (default image for BBB) and this comes witheglibc
instead ofglibc
The text was updated successfully, but these errors were encountered: