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

=== asac_ is now known as asac
=== ogra_ is now known as ogra
armin76ogra: lool: does ubuntu support the netwalker?12:53
loolarmin76: The netwalker ships with a Canonical Ubuntu OEM version13:40
loolI have one here13:41
loolBut it's not supported in vanilla Ubuntu13:41
loolIt's mostly imx51 though13:41
asacfta: great. chromium works13:52
asacplease use gcc-4.3 for now13:53
asacon armel13:53
asacso its gcc 4.4 bustage that caused this mess13:53
asaci already have an idea which compile flags those are13:53
asaclet me commit the hack to workaround the issue for -m3213:53
asacarmin76: ^^13:53
ftaok13:54
ftawhat about the other flags?13:55
asachave to test13:55
asaclet me first get this working13:55
asacone second13:55
asacmy guess is that its the -fdata-sections and -ffunction-sections flag combined with --gc-sections linkking13:56
asaci will drop those to test that13:56
asacthey are supposed to remove symbols supposely not used from what i understand13:56
asacfeels rarely tested ;)13:57
asacfta: btw, the GCC version hook you hvae in rules doesnt work with gyp=make13:58
ftareally? hm13:58
ftahow did you test then?13:58
asaci fixed rules too14:00
asac;)14:00
asachttp://pastebin.com/f5757e28814:01
asacok all committed14:03
armin76asac: but does google work?14:04
asacyes14:04
asaceverything works14:04
asacand is rockingly fast ... even over ssh ;)14:04
zumbicongrats ! :-)14:05
asachehe14:05
asaclet me see how it is on real X14:05
ftastrange, CC and CXX are supposed to be used by gyp.. probably another bug there14:07
asac5 seconds on first startup14:08
asacfta: yes. its a bug in the make generator most likely14:08
asaci saw that scons generator at least looks at those14:08
ftai will talk with the author of this generator14:08
asacwhile the make one doesnt even reference those14:08
* asac a bit happy14:12
ftabtw, i'm working on setting up a dev-channel, between the beta-channel and pure dailies14:17
asaci always thought that was the plan14:18
asacactually i thought that the dailies are more or less redundant14:18
asacat least for users (and most ubuntu devs) the -dev channel is more fruitful i guess14:19
asacfta: so if i remove stuff from ppa ... will that give more space?14:19
ftaif users want to switch, i don't mind, but from the feedbacks i got with the beta, users prefer dailies14:20
* asac considers to upload rather than wait for a new daily to not upload a new tarball14:20
asacyeah. but i think -dev is more what they want. but we will see14:20
asacjust push the builds to 4am for chromium ;)14:20
asachehe14:20
asaclast time i said that14:20
asaci promiss14:21
ftai have new problems with those 3 ppas now, like should i align the codecs and gyp on each version, or let those 2 track trunk..14:28
loolasac: chromium on armel weee \o/14:31
asacyeah14:31
asaclool: do you remember why NEON is disabled for imx?14:32
asacsomeone said CPU hangs ... is that understood?14:32
asacfta: i dont know. isnt gyp more or less stable enough to do that on a as-needed base?14:35
ftaasac, well, yes14:36
asacand codecs?14:38
ftathe code itself is quite stable, but they keep adding patches (mostly to fix security stuff) and build flags may change15:05
asacdarn. bad syntax error in my commit ;)15:06
* asac reuploads15:06
asacok retrying with gc 4.4 but with section gc dropped15:17
asacits kinda strange. the CC=... isnt honoured for v8 altogether15:35
asacstill it helped here ;)15:35
asacsigh. we should definitly enable V=1 on builders15:35
asacthere is no reason not to imo15:36
armin76ricing15:42
armin76lool: why nageia doesn't build stuff anymore?15:43
loolasac: TO1 and 2 have broken NEON implementations which will hang with some NEON code16:05
loolasac: But TO3 fixes it16:05
loolasac: It's a silicon bug, and apparently you can trigger it in some uncommon circunstances, but valid uses cases16:05
loolIdeally, we'd have a kernel patch to enable it only on TO3 and later at run time, but I don't think the kernel has any provision for this16:06
loolarmin76: I have no idea16:06
loolarmin76: Sometimes the buildd hang16:06
* armin76 blames rabeeh 16:10
asacso since when is thumb (not 2) supported? i guess its good for karmic, but not jaunty?17:21
loolasac: ?17:30
loolasac: Thumb has always been working17:30
loolAFAIK17:30
asaccool17:30
loolOnly Thumb 2 and NEON had issues in TO before 317:30
* asac enables thumb everywhere then17:30
armin76  g++ -pthread -fno-exceptions -fvisibility=hidden -Wall -D_FILE_OFFSET_BITS=64 -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 -Iv8/src/arm -MMD -MF out/Release/ob18:16
armin76j.host/v8_base/v8/src/arm/cpu-arm.o.d.tmp -c -o out/Release/obj.host/v8_base/v8/src/arm/cpu-arm.o v8/src/arm/cpu-arm.cc18:16
armin76/var/tmp/portage/www-client/chromium-9999/temp/ccs57NS8.s: Assembler messages:18:16
armin76/var/tmp/portage/www-client/chromium-9999/temp/ccs57NS8.s:49: Error: selected processor does not support `bkpt 0'18:16
armin76make: *** [out/Release/obj.host/v8_base/v8/src/arm/cpu-arm.o] Error 118:16
* armin76 complains18:16
armin76ah, stupid thing18:21
asachmm ... odd ... what did i do in my build to fix this LOGGING_AND_PROFILING thing18:22
asacerr18:22
asacthis virutal function call thing18:22
asacit happens again with fresh builds ;)18:22
armin76hah18:23
asaci remember i removed a bunch of -D stuff18:23
asacso its probably one of those18:23
asacB18:24
asacVALGRIND ... maybe18:24
asacor DEBUGGER support ;) or really profiling and debugging18:24
* asac wonders what this mksnapshot thing does 18:26
armin76fta: why isn't the sse2 patch applied upstream?18:28
asacthe patch isnt applied in our packages18:29
asachmm18:29
asacseems it is ;)18:29
armin76asacfail18:30
asac+            # Disabled: see http://code.google.com/p/chromium/issues/detail?id=900718:31
asacResult: layout tests require SSE2, normal builds probably shouldn't and Google Chrome18:31
asacpackages don't. We don't control other packages.18:31
asac"I understand it's not ideal but as Chrome Linux is now shipped without those SSE218:32
asacflags, i don't see why Chromium has to."18:32
armin76ricing!18:32
asacdunno what that means ;)18:32
ftaarmin76: because they don't want it in chrome, it makes the testsuite regress18:34
armin76i see18:35
armin76asac:  echo | gcc -dM  -E -  | grep ARCH <- what does this return to you?18:35
asacecho | gcc -dM  -E -  | grep ARCH18:36
asac#define __ARM_ARCH_6__ 118:36
asacbut i am on karmic18:36
asacecho | gcc -dM  -E -  | grep ARCH18:36
asac#define __ARM_ARCH_7A__ 118:36
asacthats on lucid18:36
asacarmin76: ^18:37
armin76i see, thanks18:37
asachttp://people.canonical.com/~asac/screenshots/ffox35_vs_chromium_armel_sunspider.png18:47
asacodd that gyp generator make doesnt create clean targets ;)18:48
asachttp://people.canonical.com/~asac/screenshots/chromium_karmic_armel_whatsmyuseragent.png18:56
asacarmin76: ^18:56
armin76asac: quick!18:57
asacjust wanted to encourage you not to give up ;)18:58
asacdid you get further than the prop you posted above now?18:58
armin76nope not yet19:00
armin76that error happened because we tend to have the packages respect the cflags19:01
armin76and we don't use default -march on gcc19:01
armin76so it was building for armv4t as i forgot to add -march19:01
asackk19:02
asacok now it seems to work19:06
asacthose ugly gcc44 flags cause all the trouble19:06
asac            'conditions': [19:06
asac              [ 'gcc_version==44', {19:06
asac                'cflags': [19:06
asac                  # Avoid gcc 4.4 strict aliasing issues in dtoa.c19:06
asac                  '-fno-strict-aliasing',19:06
asac                  # Avoid crashes with gcc 4.4 in the v8 test suite.19:06
asac                  '-fno-tree-vrp',19:06
asac                ],19:06
asacthats causing bustage for me19:06
armin76and why are you using that?19:07
asacme?19:08
asacthats not me... thats chromium19:08
asacthey just run g++ --version ... and if its 4.4 they use those19:08
asacwould be interesting to know which one it is19:09
asacmos tlikely the one preventing crashes ;)19:09
armin76ah19:09
ftawe have tons of bugs that are 44 related19:09
asaci will narrow it down now ... pushed one more round to builders to see if it succeeds there19:10
ftalike http://crbug.com/2874919:10
asacimo they play too much with optimization flags ;)19:11
asacthat calls for troubles ;)19:11
asacbut lets see19:11
* asac goes back to 4.4 locally without the no-tree-vrp19:11
ftayou will crash in v819:13
asacwell. i crash with both for sure ;)19:16
asaceven on 4.319:16
asacat least i dont run test suite ;)19:17
asachehe19:17
asacdarn. wanted to enable V=1 for that ppa upload :/19:23
asachmm failed on the builder again :/19:55
asacwonder if i really included everything19:56
armin76asac: on the GYP_DEFINES you're still using gcc_version=4419:58
asacno20:08
asacthat happens automatically20:12
armin76ah ok20:12
asachmm20:12
* asac scratches head20:13
asacfta: so is VERBOSE = 1 really that bad that we dont know what flags got passed if something fails on builders ;)?20:16
=== jmc93739653_ is now known as jmc93739653
ftawell, it's easier to spot errors without it. verbose makes very long lines filling the screen, that's why it's off by default20:18
=== jmc93739653 is now known as jmc93739653_
asacheh?20:18
asaci think now with make build fails right away anyway20:18
asacand you usually want to see the lines20:18
asacif there are build failures20:19
ftafailing right away is not related to scons vs make, both has --keep-going, i just forgot to re-enable it since i move to make :P20:20
fta+se +d, grr20:20
=== jmc93739653_ is now known as jmc93739653
=== jmc93739653 is now known as jmc93739653_
=== bizkut-miau is now known as bizkut-redhat
mturquettei see on https://wiki.ubuntu.com/ARM that "Kernels are planned for omap targets".  Who is working on that?  I'd like to see what progress is made and how I can help.21:36
Martynmturquette : Actually, that is for the omap421:40
Martynonce it's comes out ..21:40
Martyn*thinks*21:40
* ojn looks to his right21:40
Martynwell, for lucid any armv7 ...21:40
ojngot one right here. :)21:40
Martynojn : So do I.. but that's not general availability yet :)21:41
mturquetteI'm employed by TI, so getting an OMAP4 board is possible.21:41
Martynojn : That said though, even smooth-stone should have a processor out by the time general availability of the omap4 is there21:41
Martynwhich is all kinds of yay :)21:41
mturquetteand I want Ubuntu to rock on OMAP, so I'm trying to find out who to talk to ;-)21:41
MartynWell, you're certainly in the right place.21:42
ojnmturquette: the basic work isn't that bad. Doing a kernel package is the easy part. DSP packaging, drivers, 3D accel X server, etc, is the more complicated parts. And none of the other supported platforms do that yet either.21:43
mturquetteinteresting to know.21:43
mturquettei'm basically interested in two things:21:44
mturquette1) how hard/much time is it to get the base armv7a packages for lucid working on OMAP (I assume that maybe the RootfsFromScratch wiki page should make that quite easy)21:44
mturquette2) how can I help get support for our accel packages (gles libs for 3D, gstreamer plugins for OMX, etc etc)21:45
ojnmturqutte: 1) is easy. That's what we're doing (Agnilux). It's trivial (rootstock + SD card  or NFS root is my preference). Base system works out of the box, comes up with X, etc.21:45
ojnmturquette: on the other packages, working on making deb packages to wrap them up in is a good start. That way you could even distribute them on your own on top of the distro, even if they don't get picked up by official ubuntu. There's a ton of resources out there on how to make debian/ubuntu packages, and this should be a decent place to ask questions about it as well.21:49
mturquettesure, i've done dpkg's before.  i'm interested in what process is necessary to get them adopted by Ubuntu.21:50
armin76mturquette: i want a board *g*21:50
mturquettehaha.  you're barking up the wrong tree.21:52
mturquette*i* still have to beg for hardware and I work for the damned place!21:52
ojnmturquette: good question. I suppose that requires answers from some of the canonical folks on here, of all seem to be quiet. lool, asac? Not sure who handles what.21:56
asacmturquette: who are you working for?22:02
armin76asac: TI22:03
asacheh22:03
asacok22:03
armin76not interested? :P22:03
asacwhy not ;)22:04
asacso he wants to recompile everything?22:04
asacor just produce a custom rootfs?22:04
asacmturquette: ?22:04
asacarmin76: so its strict-aliasing22:05
asacunpatch that22:05
asacand it will build even on 4.422:05
armin76asac: unpatch what?22:05
asacthat chromium sets -fno-strict-aliasing for gcc4.422:05
asacone sec22:05
asachttp://pastebin.com/f2d00a84622:06
asacbut could be that my build isnt at dtoa yet22:07
asacwith all 4.3 it works as that doesnt set it22:07
asacmturquette: for your driver packages, what help do you want? just advice with how to package?22:09
asacthird_party/WebKit/WebCore/bindings/v8/DerivedSourcesAllInOne.cpp  takes really really long to biuld here ;)22:10
mturquetteasac: i'm actually not asking for help.  it seems i'm coming to the party a bit late and I just want to know, how *can* I help?22:10
asacheh22:11
mturquettei work for TI, on OMAP, all things Linux, and Ubuntu is important to me as another zealot-type.  so basically what has been done, what hasn't?  what is blocking you?22:11
MartynAhhhh!22:12
MartynNow I know who you are :)  -laugh-22:12
MartynSan Mehat and I were talking about you not that long ago22:12
Martyn(nothing bad!  We were just discussing power management in OMAP vs other platforms)22:13
* mturquette is concerned by this turn of events. ;-)22:13
asacfta: no-strict-laiasing is used for gcc_version44=1 in v8 ... unconditionally in WebCore and if no_strict_aliasing=1 is set for the rest of the build23:05
asacfeels odd23:06
ftait was initially just a temporary workaround for a crash in v8 snapshot23:06
asacfor v8, yes.23:06
asacbut what about WebCore ... thats right?23:07
ftabut we later discovered other areas where strict aliasing creates bad code23:07
ftawith gcc 4.423:07
ftasome were understood and fixed, others are just obscure, or gcc bugs23:08
ftahence the global no_strict_aliasing=1 i use for gcc 4.423:08
asacfta: yeah. so what you definitly dont need anymore is gcc_version44=123:12
asacthats auto detected23:12
asacthe no_strict_aliasing is not redundant though23:12
ftayes, i know23:12
asachowever, thats why i ask23:12
asacwhy arent the other uses of no-strict-aliasing being made dependent on gcc 44 rather than having two ways23:12
asacand one unconditional way even23:12
ftabecause some devs want to track those down23:13
asacnot sure how that conflicts with making them gcc44 dependent23:13
asacif they are in fact gcc44 dependent23:14
asacif they are not, then that answers my question23:14
asacguess icu is at least needed for 4.3 at least23:16

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