/srv/irclogs.ubuntu.com/2012/01/18/#ubuntu-arm.txt

NotJimCarreycan someone do me a favor and try building something for me? nothing i do seems to make it want to cooperate01:02
NotJimCarreytried crosspompiling, building in qemu01:02
mythosNotJimCarrey, i'm going to try, if you say what01:10
NotJimCarreysorry01:34
NotJimCarreyhttps://github.com/koush/node01:34
NotJimCarreyneed it compiled for ARM, but can't get it to work01:35
mythosNotJimCarrey, could take a while01:55
NotJimCarreythank you01:56
NotJimCarreyi've been trying different ways of cross-compiling for about a week01:56
mythosoh01:56
mythosand where it fails?01:56
GrueMasterIt fails to build for me due to a missing header.  Not sure why it can't find it.01:57
GrueMaster/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory01:57
GrueMasterThe file is in /usr/include/arm-linux-gnueabihf/bits/predefs.h01:58
NotJimCarreyit's been failing for me due to lack of eabi support01:58
lilsteviehttps://twitter.com/wtfuckfacts/status/15936437114595737602:02
lilstevieer wrong chan02:02
GrueMasterlilstevie: LOL02:03
lilstevieGrueMaster: there are some funny facts on that twitter timeline :p02:04
NotJimCarreymy first error compiling natively was "For thumb inter-working we require an architecture which supprots blx" so i tried 'make CXXFLAGS=-march=armv5t' something about "pure virtual machine called. terminate called without an active exception"02:20
NotJimCarreyon an OMAP3530 system02:21
GrueMasterInteresting.  I am getting further with Natty than on Precise.  Both systems are on a Panda (omap4430).02:30
NotJimCarreyi really need to get a panda02:30
NotJimCarreyanyone with a steam account like adventure games?02:31
GrueMasterGet 2.  They're cheap.  :P02:31
NotJimCarreyyeah, i know, but tell my wife that02:31
NotJimCarreylol02:31
GrueMaster(I have 7).02:31
GrueMasterMostly for testing.02:32
NotJimCarreytelling my wife i want one to develop stuff i won't make any money on doesn't convince her02:32
mythos<.<"02:32
GrueMasterBetter to beg for forgiveness than ask for permission.02:33
NotJimCarreyyeah, but i'm still living down getting 100Mb internet02:33
NotJimCarreylol02:33
mythosor don't tell her anything, she wouldn't know without your help02:34
NotJimCarreymy wife is always home, she'll know02:34
NotJimCarreyshe notices if i'm using a different mouse02:34
GrueMasterNo, they have a way of finding out.  Mine somehow knows when I buy new shop tools, yet she hasn't set foot in my shop in 2 years.02:34
* mythos shivers02:35
lilstevieNotJimCarrey: I have the same problem02:37
lilstevieI'm trying to convince mine that getting 2 raspberry pis will be a good thing02:38
GrueMasterNotJimCarrey: So far, the build on Natty is still going strong, whereas the build on Precise armhf fails fairly quickly.  Not sure, but it could be eabi related.02:39
NotJimCarreyi think it is, cause that was hanging me up02:39
infinityGrueMaster: Based on your error, I'm guessing it's multiarch search paths that were making precise dislike you.03:14
infinityGrueMaster: No multiarch in natty, hence all good.03:14
GrueMasterinfinity: Yea, looks that way.03:15
GrueMasterNotJimCarrey: How do you reconfigure the build environment?  Looks like it is defaulting to arm soft-float even though this is an arm hard-float environment.03:17
NotJimCarreyi'm not a C++ guru (hence the problems), the only thing i realy figured out was using CXXFLAGS=-march=armv5t03:21
mythosso. it compiled, but make test fails through some unsupported syscalls03:30
GrueMasterThink I made some headway.  Definitely using the wrong abi setting.03:32
mythosso, the problem is that it does not compile or it does not execute?03:39
GrueMasterI just can't figure out how this build environment is setting -mfloat-abi=softfp on the g++ lines.  When I rerun the g++ lines manually with -mfloat-abi=hard it works.03:39
mythosGrueMaster, maybe USE_EABI_HARDFLOAT=1 helps03:45
GrueMasterMaybe, but where is that configured?03:45
GrueMasterChanging default from softfp to hard in deps/v8/SConstruct seems to get further in the build, but it should detect the proper eabi at build time.  Seems like a problem with the detection, but I wouldn't know where to look.03:49
=== Jack87|Away is now known as Jack87
mythosGrueMaster, it is checked in deps/v8/src/platform-linux.cc04:02
GrueMasterThen why is g++ being called with softfp?04:03
mythosbecause there function returned 0 for hardloat?04:04
* mythos tells you only the obvious04:04
GrueMasterLike I said, something broken in the detection routine.  It is still building btw.04:05
* infinity clones this out of curiosity.04:05
mythosi built it, but qemu is not able to execute it04:05
twbGrueMaster: are you building a convenience copy of v8?04:06
GrueMasterIt is building everything in the git tree.04:07
twbdebian policy frowns on convenience copies04:08
infinityFor good reason.04:09
GrueMasterI'm not building a package.  I'm building a source tree to help somone else figure out why it won't build.04:09
infinity--shared-v8 would still be saner.04:09
infinityThe fact that the embedded v8 appears to be braindead becomes a non-issue then.04:10
twbThis isn't that js server thing, is it?04:12
twbWhatchamacallit...04:12
GrueMastermake test04:13
GrueMasteroops04:13
GrueMasterTyping over a plate of food.  Not easy.04:15
mythosbon appétit04:17
GrueMasterNotJimCarrey: So, looks like the issue is with the embedded v8 library build.  changing deps/v8/SConstruct to default to hard instead of softfp will make the tree build on precise-armhf, but as others here have pointed out, better to install a v8 shared library package.04:17
GrueMasterAfter my change, it built fine.  make test returns 1 error.04:18
NotJimCarreyum, can you send me the binary so i can see if it works? i'll try to figure out what you just said, but my brain's too fried from fighting debian tonight04:21
NotJimCarreylol04:21
NotJimCarreyi'm also trying to install a full debian distro on a photon 4g from scratch04:22
GrueMasterNotJimCarrey: Just fix the deps/v8/Sconstruct file.  Here's the diff: http://paste.ubuntu.com/808180/04:24
NotJimCarreythanks, building now04:26
GrueMasterinfinity: Using --shared-v8 fails because we are on 3.4.14.21 and the included version is 3.6.4.04:30
GrueMasterHasn't been updated since 2011-07-20 ish (according to the v8 changelog in the source tree).04:31
infinityGrueMaster: I would imagine the other --shared-v8* options might help.  Unless it really can't build against older versions of the headers.04:36
GrueMasterfeatures are missing according to the build failure.04:36
NotJimCarreyjust got "sorry, unemplimented: -mfloat-abi=hard and VFP"04:37
GrueMasterNotJimCarrey: What image are you building on?  What platform?04:37
NotJimCarreyopenpandora 2.6.27.57-omap104:38
* infinity notes that nodejs is in the archive too.04:39
infinitySlightly older version, but...04:39
NotJimCarreyAngstrom 2010.4-test-2010062704:39
GrueMasterNotJimCarrey: Erm, so you are not building on an Ubuntu Arm platform?04:39
NotJimCarreydebian actually04:40
NotJimCarreybut there isn't a debian-arm to speak of04:40
NotJimCarreys/#debian-arm04:40
mythos#debian-arm@irc.debian.org?04:42
NotJimCarreydur04:43
mythosit was not intended to scare him away04:44
NotJimCarreydammit, new windows first04:44
NotJimCarreyoh well, i'll work on it tomorrow04:45
NotJimCarreythanks for the help :)04:45
=== Jack87 is now known as Jack87|Away
=== Jack87|Away is now known as Jack87
=== Guest46834 is now known as zumbi
=== Jack87 is now known as Jack87|Away
=== Jack87|Away is now known as Jack87
=== chrisccoulson_ is now known as chrisccoulson
=== Jack87 is now known as Jack87|Away
=== Quintasan_ is now known as Quintasan
suihkulokkiwhat's the status with gnat-4.6 and ubuntu-armhf ?12:19
ogra_suihkulokki, iirc infinity wanted to look into it12:29
ogra_robclark, putting 3.3 into the PPA was exactly the plan13:43
robclarkogra_, ahh, ok13:44
robclarkI guess I was confused13:44
ogra_nothing in there is supported by ubuntu anyway ... its just about the supported kernel13:44
=== calculu5 is now known as calculus
=== zyga_ is now known as zyga
=== zyga is now known as zyga-break
rickeyhi18:10
rickeycan anyone help me on ubuntu on beagleboard18:11
mythosrickey, there is also #beagleboard18:12
rickey@mythos i know18:12
rickeybut no one is replying18:12
mythosbut what is your problem?18:12
rickeymy BB is running too slow18:12
rickeyKswapd0 is taking to much cpu18:13
ogra_what kind of beagle is that ? pre-XM times ?18:14
rickeyits BB rev c318:14
ogra_ah, that only has 256M18:15
ogra_well, dont use a desktop install on it, its simply not capable to run a full ubuntu desktop ... do a headless install and install some small sized desktop or just use a simple window manager like openbox18:16
rickeyhmm..18:16
ogra_if you *do* use a desktop on it, it will indeed need to swap extensively to keep all bits of the desktop in ram18:16
rickeyi wanted a good looking desktop18:17
ogra_so on 256M thats kind of expected18:17
ogra_try lubuntu-desktop18:17
rickeyokay.. is that something?18:17
ogra_i think that should be happy with something like 128M18:17
ogra_and looks reasonable good18:17
ogra_but seriously i wouldnt use a beagle for more than development, its not really what you want to use for desktop use18:18
rickeyhmm.. well not really a desktop18:18
rickeybut just.. i want to make it as a centralized device for my 3G modem18:19
ogra_why do you need a desktop for this ?18:19
ogra_sounds like you would be fine with a single app running fullscreen or so18:19
ogra_or even a web interface18:19
rickeyhmm...18:20
ogra_and for that the beagle is perfect ...18:20
rickeyi also wanted my BB can be used as a web browsing device18:20
ogra_well, have a look at lubuntu-desktop it should definitely serve you better than a full blown ubuntu desktop on that device18:21
rickeylemme check :)18:21
* ogra_ wouldnt really recommend to actually *use* the desktop on less than 1G 18:22
ogra_for demo 512M are surely fine but even there you run into memory probs if someone opens 20 tabs in a browser18:22
rickey@ogra_ lubuntu looks good18:24
rickeyit uses lxde?18:24
ogra_yep :)18:24
rickeyit will have all the features as that of ubuntu?18:24
ogra_nearly18:24
rickeyi mean like if i want to install something.. coz i guess its same debian18:25
ogra_yeah, the underlying system is the same for ubuntu and lubuntu18:25
ogra_its just a different desktop on top18:25
ogra_they are built from the same archive etc just a different face18:26
rickeyok18:26
rickeyit wont be that fancy18:26
rickeybut it will be good enough18:26
ogra_well, you use a pretty limited device18:27
ogra_fvor a full ubuntu desktop on an arm device i would recommend a pandaboard18:27
rickeyhmm18:27
rickeyi bought BB too early18:27
rickey:)18:27
rickeyi should start with installing ubuntu again18:28
rickey:)18:28
rickeyis there any website? where i can see screenshots?18:29
ogra_i would recommend to start with a headless/server image actually and there just install the xorg and lubuntu-desktop packages on top18:29
ogra_no, idea, there surely are screenshots onm the web18:29
rickeyyeah i have ubuntu minimal (robert nelson)18:30
ogra_oh, not an official image ?18:30
ogra_https://wiki.ubuntu.com/ARM/OMAP18:31
rickeythat image was not working..18:31
ogra_has the official ubuntu images18:31
rickeyi did try it18:31
ogra_ah, well, they stay with roberts, but they are different18:32
rickeyeven i was confused18:32
rickeynetbook will be ok?18:32
rickeyi have netbook18:32
ogra_well, i would take something without desktop18:33
rickey:)18:33
rickeyok18:33
ogra_headless or server18:33
ogra_and then install the xorg and lubuntu-desktop packages18:34
ogra_that should work18:34
ogra_note you need a serial connection for hedless or server18:34
rickeyyes i know18:34
rickeyso i should not use robert nelson image? the one i got from elinux page?18:35
ogra_well, feel free to use it, it is just different from the ubuntu ones ...18:36
ogra_we cant really support it here18:36
ogra_since nobody of us uses it18:36
rickeyok..18:36
rickeyubuntu makes changes in kernel too?18:37
ogra_nope, we use plain mainline18:37
rickeyok18:37
ogra_for omap3 (beagle)18:37
rickeyso i can use my own kernel?18:37
ogra_sure18:37
rickey:)18:37
rickeygr818:37
rickeywhere can i get headless install for oneiric?18:39
ogra_see the wikipage i pasted above18:39
ogra_they are all linked there18:39
rickey11.04 headless is there18:41
ogra_in 11.10 it was renamed to server18:42
ogra_anyway, i'm out for the day, good luck !18:43
rickeythank you so much :)18:43
rickeyone last quest18:43
rickeymay i?18:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!