/srv/irclogs.ubuntu.com/2009/12/29/#ubuntu-arm.txt

armin76asac: g++ -march=armv5te -pipe -pthread -fno-exceptions -fvisibility=hidden -Wall -D_FILE_OFFSET_BITS=64 -m32 -fno-ident -fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables -fomit-frame-pointer -O3 -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -D__STDC_FORMAT_MACROS -DDISABLE_NACL -DV8_TARGET_ARCH_ARM -DCHROMIUM_BUILD -DNDEBUG -DNVALGRIND -Iv8/src -MMD -06:19
armin76MF out/Release/obj.host/v8_nosnapshot/gen/libraries.o.d.tmp -c -o out/Release/obj.host/v8_nosnapshot/gen/libraries.o out/Release/obj/gen/libraries.cc06:19
armin76cc1plus: error: unrecognized command line option "-m32"06:19
armin76make: *** [out/Release/obj.host/v8_nosnapshot/gen/libraries.o] Error 106:19
armin76ah well, you hit the same issue :)06:21
=== asac_ is now known as asac
* bizkut is away (i am away now)09:51
=== bizkut is now known as bizkut-offline
* armin76 looks at lool 09:59
armin76fta: seen the armel build failure of crhomium?10:00
shenkiarmin76: looks like v8 hasn't been set up to build natively for arm yet10:02
shenkiarmin76: do you know if fta has a bug open for that?10:02
armin76shenki: no clue10:03
shenkiyou guys are the only ones that are attempting to build chromium natively; upstream does cross builds, and so do I10:04
shenki(i've been babysitting the arm build for the past 6 months or so)10:04
armin76i know, buts its fun ricing!10:05
shenki:D10:05
shenkihow much RAM do the build machines ahve?10:05
armin76512mb, i guess10:09
armin76no clue10:09
* armin76 is not ubuntu dev, nor related to ubuntu at all10:09
armin76but they should be either marvell dove or imx515, which means 800mhz && 512mb afaik10:09
shenkinice. so it takes about a week to link? :)10:12
armin76takes 10 hours to do all10:12
armin76shenki: have you tried the crossbuilds?10:17
shenkiarmin76: yeah, i wrote the cross build infrastructure for arm. it takes about half an hour on my phenom-II 3ghz, with 4G of ram10:19
armin76shenki: but does it work? :P10:19
shenkis/wrote/helped write/10:19
shenkiyeah, it does10:19
armin76fully?10:19
armin76have a binary i could test?10:19
shenkiwell, i don't build the tests10:19
shenkibut yes, i have buildt and run binaries10:20
shenkii'll build you one now and upload it10:20
armin76thanks10:20
shenkiwhat hardware do you have?10:20
armin76sheevaplug, efikamx and ssh access to marvell disco duo10:21
shenkii'm not familiar with the 2nd two. what architecture are they?10:21
armin76armv7a and armv5te10:21
armin76the latter has 3g of ram :)10:22
shenki!10:22
shenkiwant10:22
armin76ubuntu has plenty of them, ask asac :D10:22
shenkiah, but it's only armv510:23
* lool whistles10:25
shenkiarmin76: the chromium i build is for thumb2, is that okay?10:25
armin76shenki: guess so, will take a while to test it then, as the efika is a bit busy atm10:25
shenkihrm. i don't have a v5 rootfs, so it's a bit harder to build for that10:26
armin76don't worry10:26
armin76:D10:27
shenkiarmin76: what does the efika use for it's hdmi output?10:29
armin76and hdmi port :D10:29
shenkier, in terms of hardware. does it have a open driver?10:29
armin76nope10:30
shenki(i brought a openrd client and have been mega annoyed at not being able to use a modern kernel on it, due to no support for the video card)10:30
armin76does the beagleboard have open driver?10:30
shenkiyeah10:31
armin76guess its the only one10:31
armin76afaik marvell dove has no open driver as of now10:31
shenkinot for the 3d hardware, but it can display graphics no worries using the kernel driver. it's just been re-written too, presumably it's better10:31
shenkiok10:31
shenkithat blows. silly embedded companies.10:32
cwillu_at_workarmin76, recent dss2 work has made settings modes quite nice, although it's not quite xrandr yet.10:33
shenkicwillu_at_work: do you know if the dss2 stuff can allocate framebuffer memory dynamyicly (as in, when it sees how big the display it's driving is). or do we still need to provide it with the kernel boot args?10:34
shenkierr, excuse the typos10:34
cwillu_at_workshenki, I don't know about going to bigger sizes than the initial framebuffer, no;  I've mostly been concerned with 1280x1024x16 myself10:35
shenkicwillu_at_work: ok10:36
cwillu_at_workit'd be easy enough to try though, although I don't have a spare board handy at the moment (my only board is tied up with some tests today)10:36
shenkiyeah, i should just try it10:36
armin76shenki: i have sh board that has a siliconmotion gfx10:37
armin76the fun is that the x11 driver doesn't detect it :D10:37
shenki:/10:38
shenkisomeone should make some embedded gpu IP, and write an open driver for it. i imagine they would do quite well out of it10:38
loolarmin76: The dove drivers are pretty open10:52
loolhttps://code.launchpad.net/~lool/+junk/marvell-libgfx http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-video-dove.git10:52
armin76lool: junk :D10:53
armin76shenki: ^10:53
shenkithanks10:55
loolarmin76: Yeah, I hate that name; it's the name of a special folder where you can push any branch10:57
loolarmin76: launchpad forces you to push to lp:$people/$project/$branch kind of trees10:58
loole.g. lp:~ubuntu-core-dev/apt/ubuntu10:58
loolThe special /+junk allows you to throw in any branch you like10:58
loolWithout having to register a project first10:58
shenkiarmin76: ah, you're on gentoo? i wonder if the ubuntu builds will run on your system11:00
armin76shenki: who knows11:00
loolIn theory they shold11:01
loolshould11:01
shenkinot really, ubuntu/debian names some libraries differently which throws the dynamic linker out11:11
shenkialso you need to be running similar versions to the ones i linked against in my rootfs11:13
shenkiarmin76: http://jms.id.au/~shenki/chromium-arm-r35329.tar.bz211:18
armin76shenki: got it, thanks11:19
shenkiarmin76: no worries. let me know how it goes11:19
loolshenki: Most libs have identical SONAMEs in Debian and Ubuntu; which ones did you have in mind?12:28
shenkilool: not sure, im not a gentoo user.  i was trying to convince a friend to use the google-built images and he had trouble12:43
asacshenki: armin76: yeah. seems to be an issue with "toolsets"12:55
asaclike it sets -m32 if _toolset==host12:56
asacnot sure where in gyp that toolset thing is done12:56
asacany idea?12:56
armin76grep :D12:56
asacarmin76: haha12:56
asacalready did that12:56
asacdidnt find the trick12:56
asaci see where it sets -m32 if toolset==host12:57
asacbut i dont see how the hell toolset = host12:57
asac_toolset=host12:57
asacactually12:57
armin76maybe its host = toolset *G*12:57
asacho12:57
asacho12:57
asacho12:58
armin76merry christmas asac12:58
* asac waits for shenki to tell me ;)12:59
* asac kicks off a fresh build for a bug12:59
asacfile12:59
asacarmin76: http://code.google.com/p/chromium/issues/detail?id=31063 ... thats our snap with javascript bug ;)13:00
armin76:D13:03
armin76asac: sorry i forgot to run the backtrace, do you still want me to do it?13:04
christoph_debianhm maybe someone wants to update https://wiki.ubuntu.com/ARM ? it still tells arm5t ?13:04
christoph_debiandon't like to ask around on IRC on multiple channels to find out my CPU is no longer supported13:04
asacarmin76: give it a try. though its not meanng much until we have a snapshot biuld13:05
asacand thtahat has the same issue13:05
asacchristoph_debian: feel free to update that page?13:06
asac;)13:06
asacdone13:08
asachmm. not sure about karmic13:08
armin76karmic is armv6 you slacker13:08
christoph_debianasac: tells mit it's a ineditable page?13:09
asacchristoph_debian: you need to log in ;)13:09
asaci updatred it now13:09
asaccheck if that is good enough for you13:09
christoph_debianI'd had put it into FAQ as well (the difference point tells it's v5 opposed to debian's v4) but it's quite vissible this way13:10
christoph_debian(login requires an account)13:10
asacok let me edit that too13:12
asacdone13:12
asaccheck it please13:13
asac(FAQ)13:13
asacshenki: ping me when back ;)13:13
* asac makes some coffee13:13
asacshenki: armin76: http://code.google.com/p/chromium/issues/list?thanks=3127413:31
asacfta: ^13:32
ftaasac, wrong link?13:33
ftacrbug.com/31274 ?13:33
ftaseems more like it13:34
asachmm13:34
asacguess os13:34
ftatriagged13:37
asacok patched that stuff away ... lets see13:44
asac14:49 < jdstrand> asac: netbook-launcher-efl accepted13:50
asacole!13:50
asacNCommander: did you check whether kexec sitll broken on arm?14:03
asacfta: so triaging means its still left in unconfirmed state?14:08
asacit was confirmed by armin76 and me ;)14:08
ftaasac, well, i usually semi-triage stuff, i won't assign a milestone as i'm not release manager there14:12
ftajust moved it to untriaged, meaning confirmed but not reviewed for priority & assignment14:13
asacwhere do i see "untriaged"?14:15
asaci always say "unconfirmed" ;)14:15
asacsee14:15
ftastatus14:15
asacwhat does available mean?14:15
ftayou can't set it yourself, you have to be bugcontrol14:16
ftaavailable is fully triagged, but not assigned14:16
asacah14:16
asacfelt like "fixed" ;)14:16
asacwhich would have been odd14:16
asacfta: do you see where _toolset is defined?14:17
ftaasac, http://www.sofaraway.org/ubuntu/tmp/chromium-status.png14:18
asacits odd as i see toolset without _ being tested elsewhere14:18
asacand i see _toolset nowhere being set14:18
asacneither gyp code, nor chromium14:18
asacare there .py extensions to .gyp in the chromium tree?14:19
asaci only grepped in .gyp there14:19
ftagrep gyp and gypi14:19
asachmm. i think i also tried that14:19
asaclet me check14:19
ftai need to run, be back later14:19
asacthere are only tests14:20
asacno sets14:20
asachah14:22
asacfound it14:22
asacLoadAutomaticVariablesFromDict14:22
asachttp://paste.ubuntu.com/348585/14:22
armin76quick14:31
asacstill ;)14:34
asacno clue how this whole thing works14:34
asace.g. is that injected from outside ... detected during build time? etc.14:34
asachmm ... now the build failed with the same "pure virtual function called"14:57
armin76asac: what did you do?16:17
asacarmin76: i dropped the -m32 flags hackishly16:18
armin76hah16:20
asacarmin76: http://paste.ubuntu.com/348631/16:26
armin76asac: which gcc are you using?16:48
asacarmin76: tried both: gcc-4.4 and gcc-4.316:51
asacgcc-4.4.real (Ubuntu 4.4.1-4ubuntu8) 4.4.116:51
asacCopyright (C) 2009 Free Software Foundation, Inc.16:51
asacThis is free software; see the source for copying conditions.  There is NO16:51
asacwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.16:51
asachmm16:51
asacthough i didnt build all with g++-4.3 yet16:51
asacmaybe i should try16:51
asaci now disabled arm_thumb=0 alltogether16:51
asacseems the v8 code generation has special casing16:51
asacso could be that the combination armv7=0 arm_thumb=1 isnt good16:52
asacok kicking a new build with AVOID_GCC4416:53
asacarmin76: http://pastebin.com/f73b8edfb16:57
asacthats the hackish patch to continue16:57
asacyou didnt get the virutal func issue before, so maybe it just works for you with that16:57
=== bizkut-offline is now known as bizkut
armin76asac:   export LD_LIBRARY_PATH=/var/tmp/portage/www-client/chromium-9999/work/chromium-9999/out/Release/lib.host:/var/tmp/portage/www-client/chromium-9999/work/chromium-9999/out/Release/lib.target:$LD_LIBRARY_PATH; cd v8/tools/gyp; mkdir -p /var/tmp/portage/www-client/chromium-9999/work/chromium-9999/out/Release/obj.target/geni; "/var/tmp/portage/www-client/chromium-9999/work/chromium-9999/out/Release/mksnapshot" "/var/tmp/portage/www-client19:22
armin76/chromium-9999/work/chromium-9999/out/Release/obj.target/geni/snapshot.cc"19:22
armin76/bin/sh: line 1: 14154 Segmentation fault      "/var/tmp/portage/www-client/chromium-9999/work/chromium-9999/out/Release/mksnapshot" "/var/tmp/portage/www-client/chromium-9999/work/chromium-9999/out/Release/obj.target/geni/snapshot.cc"19:22
armin76make: *** [out/Release/obj.target/geni/snapshot.cc] Error 13919:22
ftaarmin76, looks familiar, could you get a backtrace?19:39
* bizkut is away (i am away now)21:07
=== bizkut is now known as bizkut-offline
asacarmin76: so its still building with gcc 4.321:15
asacnice21:15
asacarmin76: do you get a reasonable backtrace  for that seg?21:15
asacthe sigill is just rubbish. maybe thats a better hint to see whats going on21:16
loolasac, ogra_: http://paste.ubuntu.com/348756/21:16
loolWill send to qemu-devel@ shortly21:16
asacnice21:19
loolI had also noted that I should fix qemu to sigill on instructions not in the emulated CPU, but actually it does21:20
loolqemu-arm takes a -cpu arg, just like the system one21:20
loolIt's just the man page which sucks21:20
asaccool ;)21:52
asacarmin76: mine is still spinning ;)21:52
asacsomething must be wrong :)21:52
armin76lool: funny away msg! :P22:21
armin76fta: asac: will check tomm, i'm tired atm22:21
* lool is away (not reading armin76's temptations)22:27
=== jmc93739653 is now known as jmc93739653_
=== bizkut-miau is now known as bizkut-redhat

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