*** vegai has quit IRC | 00:05 | |
Sicelo | just finished updating to Stable 1 :) | 00:11 |
---|---|---|
merlin1991 | :) | 00:16 |
ThreeM | hmm, mailapp crashed.... | 00:21 |
*** Sc0rpius has quit IRC | 00:21 | |
ThreeM | is there any log for that? i would like so see whats the reason for that | 00:22 |
freemangordon | Yeah, install -dbg packages for modest tinymai libglib, attach gdb to it and wait for crash | 00:24 |
ThreeM | thx | 00:25 |
andre__ | so what was agreed on? have two products for Maemo CSSU (S vs T) in bugzilla, or just adding two versions (S vs T) to the one existing product? | 00:30 |
andre__ | I'd really prefer the latter I think | 00:30 |
andre__ | and sorry that I haven't done this already :-/ | 00:30 |
*** m0use has quit IRC | 00:41 | |
*** freemangordon has quit IRC | 00:41 | |
*** povbot has joined #maemo-ssu | 00:45 | |
merlin1991 | we didn't really decide but I'm for the latter | 00:47 |
*** Sc0rpius has joined #maemo-ssu | 00:49 | |
freemangordon | damn, with modest and tinymail build on my machine i am not able to reproduce the crashes | 00:50 |
freemangordon | ThreeM ping | 00:50 |
freemangordon | merlin1991 ^^^ | 00:51 |
*** thingie has joined #maemo-ssu | 00:52 | |
DocScrutinizer | when S and T are versions, what's maemo1 aka 17 then? | 00:54 |
*** ruskie has joined #maemo-ssu | 00:55 | |
merlin1991 | I talked to mag earlier, i'll try to convince him to do a rebuild when I get a hold of him again | 00:58 |
merlin1991 | freemangordon: ^^ | 00:58 |
freemangordon | no,don't. I've just upload .debs and will ask the user who reported the issue to try those. If the issue is fixed i prefer my build to be used. | 01:00 |
DocScrutinizer | well, it seems there's no proper versioning for any of the components, so even while version AIUI is meant to be the version of the component, it's probably irrelevant for what we actually abuse it. | 01:04 |
*** andre__ has quit IRC | 01:05 | |
freemangordon | It is not the version as such, it is correct. Lets see if modest build by me works, will investigate what has happened after that. | 01:06 |
*** jonwil has joined #maemo-ssu | 01:20 | |
*** freemangordon has left #maemo-ssu | 01:20 | |
*** scoobertron has quit IRC | 01:58 | |
*** mirandir has quit IRC | 02:43 | |
*** NIN101 has quit IRC | 03:24 | |
*** nox- has quit IRC | 03:33 | |
*** M4rtinK has quit IRC | 04:08 | |
* merlin1991 just checked twitter and googled a bit for cssu | 04:17 | |
merlin1991 | so much fud out there, it's unbeliveable | 04:17 |
*** amiconn has quit IRC | 05:18 | |
*** amiconn_ has joined #maemo-ssu | 05:18 | |
*** amiconn_ is now known as amiconn | 05:18 | |
*** jonwil has quit IRC | 05:28 | |
DocScrutinizer | HAH | 05:30 |
DocScrutinizer | yeah, esp since everybody seems to like thinking of CSSU as an alternative OS to maemo | 05:31 |
DocScrutinizer | no, guys! CSSU is even less of a "fork" than packman | 05:32 |
DocScrutinizer | "will you bring duke nukem 4ever to CSSU?" PFFFF | 05:33 |
DocScrutinizer | all the "I can't find $RANDOM_ACME_APP for maemo, may I suggest it for CSSU" blubber | 05:35 |
*** psycho_oreos has joined #maemo-ssu | 06:32 | |
*** zogg_ has quit IRC | 06:47 | |
*** zogg_ has joined #maemo-ssu | 07:00 | |
*** DocScrutinizer has quit IRC | 07:22 | |
*** DocScrutinizer has joined #maemo-ssu | 07:22 | |
*** mirandir has joined #maemo-ssu | 08:47 | |
*** mirandir has left #maemo-ssu | 08:57 | |
*** mirandir has joined #maemo-ssu | 08:59 | |
*** neal has quit IRC | 09:35 | |
*** andre__ has joined #maemo-ssu | 09:54 | |
*** andre__ has joined #maemo-ssu | 09:54 | |
*** scoobertron has joined #maemo-ssu | 10:12 | |
*** freemangordon_ has joined #maemo-ssu | 10:19 | |
*** mece has joined #maemo-ssu | 10:21 | |
mece | congratulations on stable release! | 10:21 |
freemangordon_ | MohammadAG, ping | 10:26 |
freemangordon_ | X-Fade ping | 10:38 |
*** m0use has quit IRC | 10:39 | |
*** amiconn has quit IRC | 11:06 | |
*** amiconn_ has joined #maemo-ssu | 11:06 | |
*** amiconn_ is now known as amiconn | 11:06 | |
MohammadAG | freemangordon_: Pong | 11:28 |
freemangordon_ | MohammadAG: saw my yesterday's coomment re modest and tinymail? | 11:31 |
*** jonwil has joined #maemo-ssu | 11:37 | |
* andre__ wants MohammadAG's last word on https://bugs.maemo.org/show_bug.cgi?id=12497 | 11:46 | |
povbot | Bug 12497: Maemo 5 Community SSU needs field to distinguish between stable and testing | 11:46 |
*** scoobertron has quit IRC | 12:19 | |
MohammadAG | freemangordon_: merlin1991 told me, its a clean build | 12:34 |
MohammadAG | I built tinymail, installed it then built modest against it | 12:34 |
freemangordon_ | Then why is those reports? And why I am unable to crash modest with my build? | 12:34 |
freemangordon_ | Did you make git clone and build from scratch? | 12:35 |
MohammadAG | andre__: Latter it is | 12:36 |
MohammadAG | freemangordon_: No idea | 12:36 |
MohammadAG | Yea | 12:36 |
MohammadAG | Ill rebuild it when i get home then | 12:36 |
MohammadAG | But it doesn't crash for me | 12:37 |
freemangordon_ | Do you have gmail account set up on your n900? | 12:37 |
DocScrutinizer | freemangordon_: didn't you find misalignment? | 12:38 |
freemangordon_ | Yes | 12:38 |
freemangordon_ | I mean there is from the gdb backtrace | 12:38 |
DocScrutinizer | is it possible that misalignment gets handled poorly by the CPU? | 12:39 |
freemangordon_ | Of course, I don't think ARM CPU is able to execute instruction not aligned on DWORD boundry | 12:39 |
DocScrutinizer | and is it possible that allignemnt at alrge changed when you built on your machine? | 12:39 |
freemangordon_ | And even if it can, the function pointer which is passed is incorrect, it points to start of callback function + one byte | 12:40 |
freemangordon_ | which is nonsence | 12:40 |
DocScrutinizer | do you think there's a compiler option or source metacommand to fix allignment? | 12:41 |
freemangordon_ | for code section? don't think so. anyway, I just made git clone of tinymail, copied debian/control.maemo-fremantle to debian/control and debian/rules.maemo to debian/rules and dpkg-buildpackage | 12:43 |
freemangordon_ | installed produced -dev packages and rebuild modes | 12:44 |
freemangordon_ | that's it | 12:44 |
freemangordon_ | MohammadAG: did you make a build from scratch or just pull the commits from gitorious? | 12:45 |
MohammadAG | freemangordon_: Pull the commits, its one of the reasons we use git | 12:48 |
DocScrutinizer | seems kernel can be made to either or not catch allignment errors in sourcecode | 12:49 |
DocScrutinizer | if it doesn't catch, it segfaults | 12:49 |
freemangordon_ | sure, but it is always a best practice to build a release using fresh source code copy. | 12:49 |
freemangordon_ | doc, it is not segfault, it is sigill | 12:50 |
freemangordon_ | this is generated by CPU | 12:50 |
freemangordon_ | and seems reasonable when we try to execute in the middle of the instruction | 12:51 |
DocScrutinizer | echo 5 >/proc/cpu/alignment | 12:51 |
freemangordon_ | why is that? | 12:51 |
DocScrutinizer | sure it's best fixed in source resp at build time (compiler option) | 12:52 |
freemangordon_ | no,no , it has nothing to do with compiler options, they are ok. i suspect some object code remnants from previous builds | 12:53 |
DocScrutinizer | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647049 | 12:53 |
DocScrutinizer | I suspect that former builds simply had more lucky alignment, due to a few bytes difference - like your local build | 12:54 |
freemangordon_ | I don't believe that a function ponter could be misaligned | 12:55 |
freemangordon_ | #3 0x4164f466 in modest_mail_operation_get_msg (self=0x3410b8, header=0x30bec0, progress_feedback=<value optimized out>, user_callback=0x4167a999 <view_msg_cb+1>, user_data=0x33d930) at modest-mail-operation.c:2840 | 12:55 |
freemangordon_ | <view_msg_cb+1> | 12:56 |
freemangordon_ | which means view_msg_cb is pretty ok, it is the address passed as an argument which is incorrect | 12:56 |
freemangordon_ | I just refuse to blame the compiler here | 12:57 |
DocScrutinizer | well, then go to the sourcecode and find what else is causing the one-off | 12:58 |
DocScrutinizer | the statistical nature of this bug very much makes me believe it is related to alignment, maybe even at execution time | 12:58 |
DocScrutinizer | we had similar issues like 3 years ago in OM2008 | 12:59 |
DocScrutinizer | with a few pkgs | 12:59 |
DocScrutinizer | can't recall how it got fixed | 12:59 |
freemangordon_ | what exactly is not clear so far? I think that MohammadAG had made a build based on remnants from previois builds. Without doing git clone first. And maybe without cleaning old builds remnants. | 13:00 |
freemangordon_ | Not that gcc is perfect | 13:01 |
freemangordon_ | MohammadAG: ^^^ | 13:01 |
freemangordon_ | Is that true or not? | 13:01 |
DocScrutinizer | what exactly *is* clear so far and not speculation? | 13:02 |
*** M4rtinK has joined #maemo-ssu | 13:02 | |
freemangordon_ | the fact that build based on git clone seems forking so far | 13:02 |
freemangordon_ | *working | 13:03 |
DocScrutinizer | couldn't modest miss some //#META:ALIGN statement in source sinde 2 years? | 13:03 |
DocScrutinizer | since* | 13:03 |
freemangordon_ | have no clue | 13:03 |
DocScrutinizer | I can't see how a .o that was ok now suddenly gets misaligned just because main or sth got recompiled | 13:04 |
freemangordon_ | we had such case with h-d once | 13:04 |
freemangordon_ | MohammadAG: remember? ^^^ | 13:04 |
DocScrutinizer | unless linker soesn't cope with alignment due to missing directive | 13:05 |
freemangordon_ | he pull the commits from gitorious and made dpkg-buildpackage -nc | 13:05 |
freemangordon_ | and shouted "h-d is not working" | 13:05 |
freemangordon_ | building from scratch shown that it *IS* working | 13:06 |
DocScrutinizer | I'm playing devil's advocate once more and say h-d has same bug of missing linker directive | 13:06 |
*** NIN101 has joined #maemo-ssu | 13:07 | |
freemangordon_ | and the winner is? | 13:07 |
DocScrutinizer | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647049 | 13:07 |
freemangordon_ | it is different, there is a register based relative offset here, which easily could be caused by incorrect typecast. | 13:10 |
freemangordon_ | while the code in modest is "modest_mail_operation_get_msg (mail_op, info->header, TRUE, view_msg_cb, info->row_reference);" | 13:11 |
freemangordon_ | no relatives, just naked function name | 13:12 |
freemangordon_ | view_msg_cb | 13:12 |
freemangordon_ | is away for a while,bbl | 13:15 |
DocScrutinizer | got some link to the sourcecode? | 13:16 |
*** lizardo has joined #maemo-ssu | 13:34 | |
*** neal has joined #maemo-ssu | 13:37 | |
MohammadAG | freemangordon_: I already said THIS is a clean build | 13:48 |
*** ekze-nyan is now known as ekze | 13:56 | |
*** scoobertron has joined #maemo-ssu | 13:56 | |
*** ekze-nyan has joined #maemo-ssu | 13:59 | |
*** ekze has quit IRC | 14:00 | |
*** ekze-nyan is now known as ekze | 14:00 | |
*** psycho_oreos has quit IRC | 14:05 | |
*** ekze-nyan has joined #maemo-ssu | 14:16 | |
*** ekze-nyan has quit IRC | 14:17 | |
*** ekze has quit IRC | 14:20 | |
*** ekze has joined #maemo-ssu | 14:20 | |
*** ekze-nyan has joined #maemo-ssu | 14:40 | |
*** ekze has quit IRC | 14:42 | |
*** ekze has joined #maemo-ssu | 14:50 | |
*** ekze-nyan has quit IRC | 14:54 | |
*** mece has quit IRC | 14:57 | |
*** scoobertron has quit IRC | 15:02 | |
freemangordon_ | DocScrutinizer: http://gitorious.org/community-ssu/modest/blobs/master/src/widgets/modest-msg-view-window.c#line1978 | 15:08 |
*** mase76 has joined #maemo-ssu | 15:36 | |
*** mase_76 has joined #maemo-ssu | 15:42 | |
freemangordon_ | MohammadAG: So, what's broken then. toolchain? headers? | 15:42 |
freemangordon_ | filesize of modest build by me is 911844 bytes while that in CSSU repo is 694744 bytes. | 15:47 |
Lava_Croft | I bet this fuck up will make for a great story | 15:48 |
freemangordon_ | that is about 200k ?!? | 15:48 |
*** scoobertron has joined #maemo-ssu | 15:53 | |
*** NIN101 has quit IRC | 15:55 | |
*** xnt14 has quit IRC | 15:55 | |
*** MohammadAG has quit IRC | 15:55 | |
freemangordon_ | DocScrutinizer: ^^^ | 16:13 |
*** scoobertron has quit IRC | 16:55 | |
DocScrutinizer | extremely suspicious | 16:58 |
*** NIN101 has joined #maemo-ssu | 16:59 | |
DocScrutinizer | if both are same strip-level then sth got severely screwed | 16:59 |
*** DocScrutinizer is now known as DocSalarySlave | 17:00 | |
merlin1991 | freemangordon_: I'm starting my scratchbox, let's see what bytecount I can achieve | 17:00 |
*** scoobertron has joined #maemo-ssu | 17:01 | |
*** scoobertron has quit IRC | 17:09 | |
*** Kaptenen has quit IRC | 17:22 | |
freemangordon_ | merlin1991: ok, try with both source from CSSU repo and with git clone | 17:24 |
*** Kaptenen has joined #maemo-ssu | 17:24 | |
merlin1991 | did you check filseize of modest of tinymail? | 17:25 |
freemangordon_ | modest | 17:25 |
freemangordon_ | only | 17:25 |
Lava_Croft | 200k is ridiculous | 17:25 |
merlin1991 | and wich files from tinymail do I have to install on my scratchbox to compile modest properly? | 17:25 |
freemangordon_ | no,no | 17:25 |
freemangordon_ | wait | 17:25 |
freemangordon_ | do that only if you have scratchbox which is different from CSSU stable one, as you need to git clone tinymail, build it and install resultant -dev files | 17:26 |
freemangordon_ | merlin1991 ^^^ | 17:27 |
merlin1991 | freemangordon_: no tinymail / modest in stable | 17:27 |
merlin1991 | I won't break anything for stable compiled | 17:28 |
merlin1991 | s/compiled/compiles/ | 17:28 |
freemangordon_ | ok then | 17:28 |
freemangordon_ | git clone git://gitorious.org/community-ssu/tinymail.git | 17:28 |
freemangordon_ | after compilation is complete dpkg -i *-dev | 17:29 |
freemangordon_ | and do a modest build from git sources, not from CSSU tarball | 17:30 |
*** jonwil has quit IRC | 17:31 | |
merlin1991 | freemangordon_: do I have to replace debian/control with debian/control.maemo-fremantle? | 17:36 |
freemangordon_ | for tinymail? | 17:36 |
freemangordon_ | merlin1991: ^^^ | 17:36 |
merlin1991 | modest | 17:36 |
freemangordon_ | not sure, most probably not | 17:37 |
freemangordon_ | merlin1991: you need to do that for tinymail | 17:38 |
merlin1991 | I did it for tinymail | 17:38 |
freemangordon_ | ok | 17:38 |
freemangordon_ | merlin1991: wait, it seems modest is thumb compiled | 17:39 |
freemangordon_ | i am compiling it now too and see -mthumb in compilation swithches | 17:40 |
freemangordon_ | for some reason DEB_BUILD_OPTIONS=maemo-launcher,thumb,vfp | 17:43 |
freemangordon_ | most probably the same thing has happened to MohammadAG | 17:43 |
freemangordon_ | and that could explain 200k difference in binary | 17:43 |
merlin1991 | andre__: ping | 17:44 |
Lava_Croft | thanks for making me learn something freemangordon_ | 17:44 |
Lava_Croft | 'thumb' is my word of the day | 17:44 |
Lava_Croft | never knew about it | 17:44 |
andre__ | merlin1991, pong | 17:44 |
merlin1991 | I want to reopen bug 12306, wich status would I give it? | 17:45 |
povbot | Bug https://bugs.maemo.org/12306 Conflict problems for libqt4-test | 17:45 |
andre__ | merlin1991, UNCONF or NEW | 17:45 |
merlin1991 | I can only give it resolved, verified, closed or unconfirmed | 17:45 |
andre__ | there's nothing else anyway :P | 17:45 |
merlin1991 | but new isn't there | 17:45 |
andre__ | yes, because it was not NEW before | 17:45 |
merlin1991 | and imo new would be the right status | 17:45 |
andre__ | so first UNCONF, then you can change that to NEW | 17:45 |
merlin1991 | oh ffs | 17:46 |
freemangordon_ | I can bet we've been running thumb compiled modes all the time :D :D :D | 17:51 |
freemangordon_ | modest* | 17:51 |
Lava_Croft | heh | 17:51 |
merlin1991 | freemangordon_: why is your compile not thumb compiled? to have better coredumps? | 17:52 |
merlin1991 | also how did you compile without thumb? | 17:52 |
freemangordon_ | because i have 4 cores ;) | 17:52 |
freemangordon_ | and usually do export DEB_BUILD_OPTIONS=parallel=4 before every build | 17:53 |
merlin1991 | ah :D | 17:53 |
merlin1991 | so the deb_build_options is sit somewhere in rules? | 17:53 |
freemangordon_ | at least that is what i guess | 17:53 |
merlin1991 | omfg bloody plasma shell went completely m00t here | 17:53 |
merlin1991 | won't even start dolphin now | 17:54 |
freemangordon_ | maybe configure script checks for target CPU capabilities, who knows | 17:54 |
Lava_Croft | open a term and type mc | 17:54 |
merlin1991 | mc does what? | 17:54 |
Lava_Croft | starts midnight commander | 17:54 |
Lava_Croft | im being silly | 17:54 |
Lava_Croft | sorry | 17:54 |
merlin1991 | hehe | 17:55 |
merlin1991 | btw thumb on arm comes from deeper layers of hell :D | 17:56 |
merlin1991 | thumb2 seems to be ok though as far as I've heard | 17:56 |
Lava_Croft | i bet it servers a purpose:P | 17:56 |
Lava_Croft | serves* | 17:56 |
freemangordon_ | anyway, there is an explanation what has happened | 17:56 |
merlin1991 | thumb fsckd things? | 17:57 |
merlin1991 | freemangordon_: modest ended up size 912532 here | 17:59 |
freemangordon_ | sure | 17:59 |
freemangordon_ | same here | 17:59 |
freemangordon_ | 911844 | 17:59 |
merlin1991 | hm why didn't it to thumb here then? | 18:00 |
freemangordon_ | have no clue | 18:00 |
freemangordon_ | did you open new scratchbox login? | 18:00 |
freemangordon_ | maybe some remnants from timymail build | 18:01 |
merlin1991 | I did not open a new scratchbox login | 18:03 |
freemangordon_ | merlin1991: BTW why is there configure script | 18:03 |
freemangordon_ | ? | 18:03 |
merlin1991 | what do you mean? | 18:04 |
freemangordon_ | it should be created via autoconf scripts, don't have to be in source package | 18:05 |
merlin1991 | dpkg-buildpackage calls clean before creating the source afaik, I guess the configure script doesn't get removed and therefore ends up in the file | 18:07 |
freemangordon_ | yeah, but that means build scripts are fskd up | 18:09 |
freemangordon_ | as configure script (along with configure.timestamp and others) should not be distributed in the source package | 18:10 |
freemangordon_ | AIUI | 18:10 |
freemangordon_ | BTW DEB_BUILD_OPTIONS remains set when you break a compilation. | 18:11 |
merlin1991 | okay neither tinymail nor modest set DEB_BUILD_OPTIONS | 18:11 |
merlin1991 | hm modest from source tarball ended up 912504 | 18:13 |
freemangordon_ | Have no idea why it was set here, i was compiled some hildon-input-method portrait fkb before | 18:14 |
freemangordon_ | modest | 18:14 |
merlin1991 | well I guess first step is to ask Mag if he has anything set in deb_build_options | 18:14 |
freemangordon_ | will you check again what is the size in CSSU repo, maybe i made a mistake | 18:14 |
merlin1991 | and if not have him compile it again to see if it's now different | 18:15 |
freemangordon_ | merlin1991: ^^^ | 18:15 |
freemangordon_ | will you open modest .deb from CSSU and check again filesize | 18:15 |
DocSalarySlave | merlin1991: freemangordon_: I seem to recall I heard thumb is instable | 18:16 |
freemangordon_ | yes, there is your proof :D | 18:16 |
merlin1991 | modest deb from cssu is 694744 | 18:17 |
freemangordon_ | yep | 18:17 |
freemangordon_ | it is deffinitely thumb compiled | 18:17 |
freemangordon_ | ok, i think we MUST disable thumb check in debian/rules | 18:17 |
merlin1991 | wait for your user if his crashes stop | 18:18 |
merlin1991 | if yes, then go and do that | 18:18 |
freemangordon_ | what is the point? | 18:18 |
merlin1991 | true | 18:18 |
* merlin1991 headdesks a lil rethinking his last statement | 18:19 | |
freemangordon_ | it does not make sense to wait, "my" user was using modest with not a single crash for the last two months | 18:19 |
merlin1991 | yeah go ahead and get rid of thumb in rules for tinymail and modest | 18:19 |
merlin1991 | I really want to know though wich source set the DEB_BUILD_OPTIONS to thumb | 18:19 |
merlin1991 | freemangordon_: do you have commit access on gitorious? | 18:20 |
freemangordon_ | no, that was the other thing i needed MohammadAG | 18:21 |
freemangordon_ | i don't have *ANY* rights on gitorious | 18:21 |
* DocSalarySlave dances the killed-bug jig | 18:21 | |
freemangordon_ | a bug ?!? this is an elephant man | 18:21 |
merlin1991 | Doc salaryslave? what's the occasion? :D | 18:21 |
DocSalarySlave | contract signing mambo jumbo | 18:22 |
merlin1991 | now we just need MAG | 18:22 |
* Lava_Croft smiles @ bufixers | 18:23 | |
merlin1991 | okay fsckd plasma shell seems to behave now | 18:23 |
merlin1991 | (after 2 reboots) | 18:23 |
merlin1991 | Kubuntu is the suck | 18:23 |
merlin1991 | I think I'll get gentoo or something next time | 18:23 |
merlin1991 | though that's going to be some fun the get scratchbox up and running there :/ | 18:24 |
merlin1991 | I don't get it how scratchbox can have a binary only repo | 18:24 |
merlin1991 | their packages contain stuff like gcc | 18:25 |
freemangordon_ | BTW stable thumb on n900 is my next thing TODO. After stable SR | 18:26 |
freemangordon_ | I steal dream of thumb compiled Qt | 18:26 |
freemangordon_ | still* | 18:26 |
DocSalarySlave | I dream of Qt not using friggin stupid fp | 18:29 |
DocSalarySlave | I mean the screen is max 1280 wide, so why would Qt need floats? | 18:29 |
DocSalarySlave | unless some coders skived their math lessons | 18:30 |
DocSalarySlave | or were simply lazy | 18:30 |
DocSalarySlave | never use float when you can do the job with fixed point arithmetics | 18:31 |
DocSalarySlave | if you don't know how to do proper fixed point, get another job! | 18:32 |
freemangordon_ | sure, but i don't think that could be achieved. | 18:32 |
freemangordon_ | while thumb should be possible | 18:32 |
freemangordon_ | actually they use it for simbian builds | 18:32 |
DocSalarySlave | obviously thumb is from hell (duh, sb said this before, no?) | 18:33 |
freemangordon_ | symbian* | 18:33 |
freemangordon_ | so what? | 18:33 |
DocSalarySlave | so don't use it, as it causes coredumps ;-D | 18:34 |
DocSalarySlave | well, that's all hearsay | 18:34 |
merlin1991 | freemangordon_: what's the point of having thumb qt? | 18:34 |
DocSalarySlave | actually I have no own notion regarding thumb | 18:35 |
neal | Is the claim that gcc is generating bad thumb code? | 18:35 |
merlin1991 | thumb is smaller but slower, and qt should be in memory only one anyway | 18:35 |
neal | or, what's the issue? | 18:35 |
neal | merlin1991: Why is thumb slower? | 18:35 |
merlin1991 | because of gcc | 18:35 |
freemangordon_ | neal: yes, seems so | 18:35 |
freemangordon_ | merlin1991: it should be faster | 18:36 |
neal | I agree with freemangordon_ | 18:36 |
merlin1991 | freemangordon_: theory and praxis :D | 18:36 |
neal | you get better instruction density => better cache performance | 18:36 |
freemangordon_ | and having in mind the size of qt libs, we can achieve both memory and performance gain | 18:36 |
DocSalarySlave | shorter code usually is supposed to be faster, though you can show yu can speed up code by bloating it | 18:36 |
freemangordon_ | bye for now guys, bbl | 18:37 |
*** freemangordon_ has quit IRC | 18:37 | |
* DocSalarySlave waves in freemango's general direction | 18:38 | |
neal | scratchbox uses gcc 4.2.1, which is already 4 years old | 18:38 |
neal | I suspect that newer versions would correct these issues. | 18:38 |
merlin1991 | I suspect you're right | 18:39 |
merlin1991 | but our environment is gcc 4.2.1 | 18:39 |
DocSalarySlave | (speed of code) though, you recall DMA on 386/486? is was like 5 times faster in sw than when using hw-DMA | 18:46 |
DocSalarySlave | thumb might be a similar relic, implemented in cortex-A8 for mere backward compatibility | 18:48 |
merlin1991 | A8 should have thumb2 afaik | 18:49 |
DocSalarySlave | NFC, couldn't even tell the difference. Anyway nothing in offending DEB_BUILD_OPTIONS seems to suggest compiler will use thumb2 | 18:51 |
DocSalarySlave | or is that just a speedier architecure of that core, with identical opcode set? | 18:52 |
* DocSalarySlave googles a bit | 18:53 | |
andre__ | hmm, in latest testing I don't see any "Accounts" anymore in status bar or settings panel (like gmail or skype). is that a feature? :P | 18:54 |
merlin1991 | andre__: that defenitely is not a feature | 18:56 |
merlin1991 | I don't have testing atm though so I can't say it's because of cssu | 18:57 |
DocSalarySlave | http://de.wikipedia.org/wiki/ARM-Architektur#Thumb-Befehlssatz | 18:59 |
DocSalarySlave | thumb is smaller but *slower* | 18:59 |
DocSalarySlave | >>Der Hersteller NXP gibt in den Datenblättern seiner LPC2000-Controller einen Geschwindigkeitsverlust von 30 % an.<< | 19:00 |
DocSalarySlave | andre__: settings->VoIP+Chat ? | 19:02 |
DocSalarySlave | WFM | 19:03 |
andre__ | DocSalarySlave, ah, darn, yeah, that one is still there. but wasn't that also always in the title bar dropdown (battery, clock, internet, profile, bluetooth)? | 19:03 |
andre__ | maybe my mind plays tricks on me | 19:03 |
DocSalarySlave | availability? | 19:04 |
andre__ | "Availability" | 19:04 |
andre__ | yeah | 19:04 |
DocSalarySlave | WFM | 19:04 |
andre__ | hmm. now after enabling and disabling an account it's still there. | 19:04 |
andre__ | no idea why it was missing before. | 19:04 |
andre__ | how weird. | 19:04 |
*** freemangordon has joined #maemo-ssu | 19:10 | |
*** andre__ has quit IRC | 19:12 | |
*** scoobertron has joined #maemo-ssu | 19:17 | |
*** rd has joined #maemo-ssu | 19:49 | |
*** andre__ has joined #maemo-ssu | 20:10 | |
*** MohammadAG has joined #maemo-ssu | 20:18 | |
*** xnt14 has joined #maemo-ssu | 20:19 | |
freemangordon | MohammadAG: ping | 20:21 |
merlin1991 | MohammadAG: we've found why modest acts up | 20:27 |
* merlin1991 proposes h-d/modest/tinymail update asap | 20:27 | |
freemangordon | (nod) | 20:27 |
merlin1991 | aslo bug 12306 | 20:28 |
povbot | Bug https://bugs.maemo.org/12306 Conflict problems for libqt4-test | 20:28 |
merlin1991 | s/also/also | 20:28 |
* DocSalarySlave proposes to check other packages for same ooopsie as well | 21:20 | |
*** DocSalarySlave is now known as DocScrutinizer | 21:22 | |
*** NIN102 has joined #maemo-ssu | 21:27 | |
*** keel has joined #maemo-ssu | 21:27 | |
*** NIN101 has quit IRC | 21:28 | |
*** StyXman has joined #maemo-ssu | 21:46 | |
amiconn | DocScrutinizer: Thumb instructions as such aren't slower than ordinary arm instructions, the difference comes from the fact that since thumb instructions are less flexible you need slightly more instructions. | 22:00 |
amiconn | This is where the ~30% slowdown come from | 22:00 |
amiconn | More instructions for doing the same work that is. Of course the 30% are just an average | 22:01 |
*** rd has quit IRC | 22:03 | |
*** NIN101 has joined #maemo-ssu | 22:07 | |
DocScrutinizer | yes, that's what the wikipage says | 22:09 |
DocScrutinizer | esp they mention missing conditional opcodes except jump | 22:09 |
*** NIN102 has quit IRC | 22:09 | |
DocScrutinizer | so opcodes of thumb are 16 instead 32bit, they execute with same speed and you need 30% more to do same work, but still you save 20% size from 32 down to 16*1.3 | 22:11 |
DocScrutinizer | not worth the effort in my book | 22:12 |
DocScrutinizer | aah, forgot: the flushing of cmd pipeline on each jump is a huge bottleneck for execution speed as well. So maybe you don't even need 30% more code, it's actually the speed of execution that goes down 30%, due to a bit more opcodes plus worse execution optimization due to more jumps | 22:16 |
DocScrutinizer | so size savings could be more than the 20% I mentioned above | 22:16 |
DocScrutinizer | maybe 30..40% | 22:16 |
amiconn | flushing pipeline is only necessary if the branch prediction made an error | 22:18 |
DocScrutinizer | yes | 22:18 |
amiconn | Another limitation is that there is no shifter operand, instead you need to issue separate shift instructions | 22:18 |
DocScrutinizer | nice | 22:18 |
DocScrutinizer | so thumb is MEH | 22:19 |
freemangordon | for a device with 256 MBytes? | 22:19 |
freemangordon | and Qt codesize of about 40? | 22:19 |
amiconn | Thumb is useful for gui code. Depending on typical loop sizes, it might even be faster in some cases | 22:19 |
freemangordon | wow | 22:19 |
freemangordon | anyway, please find MohammadAG and try to convince him to clean up the mess | 22:20 |
amiconn | The reduced size improves caching | 22:20 |
freemangordon | (nod) | 22:20 |
DocScrutinizer | well, you got a point there. Where execution speed doesn't matter you *could* use thumb to save space | 22:20 |
freemangordon | bbl | 22:20 |
amiconn | For performance critical code you shouldn't use thumb | 22:21 |
DocScrutinizer | anyway, time for dinner | 22:21 |
amiconn | With thumb2 you get best of both, but I'm not sure whether cortex A8 already supports thumb2 | 22:21 |
merlin1991 | thumb2 is armv7 or armv8 I'm not sure | 22:28 |
merlin1991 | comes with armv7 | 22:28 |
MohammadAG | What mess? | 22:32 |
merlin1991 | so the mess is that for some reason modest in cssu got thumb compiled | 22:33 |
merlin1991 | some package sets the DEB_COMPILE_OPTIONS that it includes thumb | 22:33 |
MohammadAG | The fuck | 22:33 |
merlin1991 | or maybe your DEB_COMPILE_OPTIONS are already set to contain thumb, maybe check that | 22:33 |
merlin1991 | and the modest rules file checks for that and adds -mthumb in case it exists | 22:34 |
merlin1991 | that's also the reason why the modest file in the repo is only 600k bytes instead of 900k | 22:34 |
merlin1991 | err 700k | 22:34 |
merlin1991 | could you check what your DEB_COMPILE_OPTIONS are in your scratchbox? | 22:35 |
merlin1991 | err DEB_BUILD_OPTIONS | 22:35 |
*** Kaptenen has quit IRC | 22:35 | |
DocScrutinizer | would something from binutils tell if a binary is thumb or not? maybe check *all* pkgs in repo | 22:35 |
merlin1991 | and I'll push a commit to tinymail and modest wich prevents the thumb compiling | 22:35 |
DocScrutinizer | if this shit is sticky from some prev build event, then other pkgs may be flawed as well | 22:36 |
merlin1991 | then we'd like a new cssu testing release with fixed modest, h-d and bug 12306 | 22:36 |
povbot | Bug https://bugs.maemo.org/12306 Conflict problems for libqt4-test | 22:37 |
merlin1991 | MohammadAG: could we get that done today? | 22:37 |
DocScrutinizer | don't rush please | 22:37 |
*** Kaptenen has joined #maemo-ssu | 22:38 | |
DocScrutinizer | double-check | 22:38 |
merlin1991 | DocScrutinizer: me and freemangordon triple checked this | 22:38 |
DocScrutinizer | I don't mean the bug, I mean the fix :-D | 22:39 |
DocScrutinizer | the fixed pkgs | 22:39 |
DocScrutinizer | the whole release | 22:39 |
DocScrutinizer | wget cmd to get the thumb binary? | 22:40 |
DocScrutinizer | ooh wait, I got modest installed | 22:40 |
merlin1991 | you do have the binary :D | 22:40 |
DocScrutinizer | so what exactly was the file that is bad? | 22:41 |
amiconn | merlin1991: I don't see why modest compiled for thumb would cause problems though (except perhaps being a little slower) | 22:41 |
merlin1991 | the fsckd one that is .D | 22:41 |
merlin1991 | amiconn: it does coredumps | 22:41 |
merlin1991 | whilst the non thumb one doesn't | 22:41 |
amiconn | I wonder why | 22:41 |
DocScrutinizer | is modest binary thumb? | 22:41 |
merlin1991 | yes | 22:41 |
merlin1991 | if you have current cssu | 22:42 |
DocScrutinizer | modest.launch? | 22:42 |
merlin1991 | exactly that one | 22:42 |
amiconn | Besides, I didn't experience crashes of modest | 22:42 |
freemangordon | amiconn: because of gcc version we are using | 22:43 |
freemangordon | it has buggy thumb support | 22:43 |
freemangordon | and AFAIK CortexA8 has thumb2 support | 22:43 |
freemangordon | it is gcc which is to blame, the same with Qt -O3 and broken raster graphics | 22:44 |
freemangordon | again, bbl | 22:44 |
freemangordon | :D | 22:44 |
amiconn | Where's the actual modest binary so I can check? /usr/bin/modest is just a link to 'maemo-invoker', which seems to be some kind of launcher | 22:45 |
merlin1991 | /usr/bin/modest.launcher | 22:45 |
amiconn | freemangordon: Can't gcc be changed? | 22:45 |
merlin1991 | err modest.launch | 22:45 |
amiconn | 678kB, so I probably have the thumb version | 22:46 |
merlin1991 | MohammadAG: some comment? | 22:47 |
DocScrutinizer | amiconn: why would we want to do that? | 22:47 |
merlin1991 | amiconn: just as a sidenote, modest in stock maemo isn't compiled with thumb either | 22:48 |
amiconn | Well, if it's buggy and there is a fixed version, why not? | 22:48 |
DocScrutinizer | the fix obviously is to compile modest the way it is compiled on maemo-proper | 22:48 |
*** rd has joined #maemo-ssu | 22:48 | |
DocScrutinizer | with a "fixed" gcc version you buy new bugs | 22:48 |
DocScrutinizer | bugs that didn't appear on maemo-proper as they didn'T use that gcc version | 22:49 |
* DocScrutinizer can't find out how to tell modest.launch is thumb :-( | 22:51 | |
DocScrutinizer | objdump is not helping | 22:51 |
DocScrutinizer | file is not helping | 22:52 |
DocScrutinizer | is it mere opcode used? | 22:52 |
DocScrutinizer | if so, for what opcode mnemonic would I grep in objdump -d ? | 22:53 |
*** lizardo has quit IRC | 23:08 | |
merlin1991 | MohammadAG: can we get an update out today? | 23:10 |
*** mase_76 has quit IRC | 23:12 | |
*** mase76 has quit IRC | 23:12 | |
freemangordon | doc, the way to check is to attach gdb and to see instructions size. if every instruction is 32 bits then it is arm, otherwise it is thumb | 23:23 |
*** mase76 has joined #maemo-ssu | 23:34 | |
*** m0use has joined #maemo-ssu | 23:37 | |
DocScrutinizer | got that meanwhile | 23:40 |
DocScrutinizer | objdump /usr/bin/modest.launch -d|less +"/illeg" | 23:40 |
DocScrutinizer | vs | 23:40 |
DocScrutinizer | objdump /usr/bin/arecord -d|less +"/illeg" | 23:41 |
*** StyXman has left #maemo-ssu | 23:42 | |
*** rd has quit IRC | 23:46 | |
*** rd has joined #maemo-ssu | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!