*** LauRoman has joined #maemo | 00:01 | |
*** sunshavi has joined #maemo | 00:12 | |
*** noch has quit IRC | 00:16 | |
*** sq-one has quit IRC | 00:20 | |
*** trumee has quit IRC | 00:25 | |
*** trumee has joined #maemo | 00:29 | |
*** xorly has quit IRC | 00:56 | |
Linkandzelda | how easy is it to take apart n900 and swap the screen? | 01:13 |
---|---|---|
*** Pali has quit IRC | 01:14 | |
Sicelo | easy .. depends on you really (and tools) :) | 01:22 |
*** Valle__ has quit IRC | 01:37 | |
*** futpib has quit IRC | 01:52 | |
*** florian has quit IRC | 02:06 | |
*** ssvb has joined #maemo | 02:09 | |
*** githogori has quit IRC | 02:16 | |
*** vakkov has joined #maemo | 03:22 | |
*** Humpelstilzchen has joined #maemo | 04:03 | |
*** Defiant has quit IRC | 04:05 | |
*** KotCzarny has quit IRC | 04:10 | |
*** eMHa has joined #maemo | 04:15 | |
*** eMHa__ has quit IRC | 04:19 | |
*** Humpelstilzchen has quit IRC | 04:19 | |
*** Defiant has joined #maemo | 04:20 | |
*** vakkov has quit IRC | 04:34 | |
*** inz has quit IRC | 04:37 | |
*** inz has joined #maemo | 04:44 | |
*** vakkov has joined #maemo | 05:18 | |
*** sunshavi has quit IRC | 05:54 | |
*** lxp has joined #maemo | 06:02 | |
*** lxp1 has quit IRC | 06:04 | |
*** KotCzarny has joined #maemo | 06:06 | |
*** pagurus` has joined #maemo | 06:41 | |
*** pagurus` has joined #maemo | 06:42 | |
*** pagurus` has quit IRC | 06:43 | |
*** pagurus has quit IRC | 06:43 | |
*** pagurus` has joined #maemo | 06:45 | |
*** DocScrutinizer05 has quit IRC | 06:59 | |
*** DocScrutinizer05 has joined #maemo | 06:59 | |
*** Oksana has joined #maemo | 07:41 | |
*** vakkov has quit IRC | 07:42 | |
*** githogori has joined #maemo | 07:54 | |
*** thuttu77_2 has quit IRC | 08:05 | |
*** arcean has joined #maemo | 08:30 | |
*** japa-fi has joined #maemo | 08:46 | |
*** xorly has joined #maemo | 08:52 | |
*** infobot has quit IRC | 09:10 | |
*** xorly has quit IRC | 09:22 | |
*** japa-fi has quit IRC | 09:51 | |
*** KotCzarny has quit IRC | 10:10 | |
*** jskarvad has joined #maemo | 10:20 | |
*** KotCzarny has joined #maemo | 10:26 | |
*** florian has joined #maemo | 10:31 | |
bencoh | Linkandzelda: you do have the service manuals? :) | 10:37 |
*** florian has quit IRC | 10:40 | |
*** Valle__ has joined #maemo | 10:40 | |
*** thuttu77 has joined #maemo | 10:44 | |
*** PiZZaMartijn has joined #maemo | 10:53 | |
*** heroux has quit IRC | 11:06 | |
*** heroux has joined #maemo | 11:07 | |
*** Valle__ has quit IRC | 11:23 | |
*** jskarvad has quit IRC | 11:23 | |
*** amospalla has quit IRC | 11:31 | |
ceene | my new sim has just arrived at home | 11:34 |
ceene | i'm at work, though | 11:34 |
ceene | and i've slept quite bad today, so maybe i won't start again with yappari until tomorrow | 11:34 |
ceene | but at least i've got the tools now :) | 11:34 |
*** Valle__ has joined #maemo | 11:34 | |
DocScrutinizer05 | you prolla should have gotten 2 dozen, no? | 11:49 |
DocScrutinizer05 | prolly* | 11:49 |
DocScrutinizer05 | wait... 3 dozen, so statistically you always have a number that just got unlocked after 60 days | 11:50 |
*** amospalla has joined #maemo | 11:51 | |
*** heroux has quit IRC | 11:56 | |
*** N-Mi has joined #maemo | 11:57 | |
*** xorly has joined #maemo | 11:58 | |
*** heroux has joined #maemo | 12:04 | |
*** florian has joined #maemo | 12:31 | |
*** heroux has quit IRC | 12:32 | |
*** jskarvad has joined #maemo | 12:33 | |
*** heroux has joined #maemo | 12:34 | |
*** infobot has joined #maemo | 12:34 | |
*** heroux has quit IRC | 12:42 | |
*** heroux has joined #maemo | 12:42 | |
*** eMHa has quit IRC | 13:02 | |
*** l_bratch has quit IRC | 13:10 | |
*** futpib has joined #maemo | 13:12 | |
*** xorly has quit IRC | 13:41 | |
*** vahe has joined #maemo | 13:41 | |
*** jonwil has joined #maemo | 13:59 | |
ceene | let's hope i only need this one :) | 14:04 |
Sicelo | :) | 14:05 |
KotCzarny | i dont use crapsapp so i can lend you my number too | 14:07 |
jonwil | hi | 14:08 |
KotCzarny | and 2 numbers of my gf | 14:08 |
buZz | i've tried to convince facebook that my mobile number is the same as their amsterdam offices | 14:08 |
KotCzarny | and there are starters for ~0.7eur | 14:08 |
buZz | thusfar they've been refusing it :P | 14:08 |
Sicelo | lol buzz | 14:12 |
buZz | i'll get them to do it ;) | 14:12 |
buZz | maybe i can just put a random recruiter thats hunting for FB employees in it | 14:13 |
jonwil | So yeah in reference to the discussion in the channel a few days ago, no, I am not interested in reverse engineering WhatsApp or anything else to do with Facebook :) | 14:33 |
jonwil | Although it sounds like progress is being made and reverse engineering is not needed right now | 14:34 |
*** Valle__ has quit IRC | 14:34 | |
*** tanty_off is now known as tanty | 14:43 | |
jonwil | Oh and in regards to whoever it was that was asking about GPRS before, the GPRS stuff is handled by the cellular services daemon and csd-gprs. The dbus interface to this module is actually documented (likely unintentionally though) | 14:43 |
jonwil | The thing that talks to it is libicd-network-gprs | 14:43 |
* jonwil wonders if there are still parts of the various cellular standards that are not available to the public (I know the GSM encryption used to be top secret | 14:47 | |
jonwil | but then someone figured it out and its not secret anymore | 14:49 |
jonwil | @kerio: ping | 14:51 |
kerio | jonwil: sup | 14:54 |
*** r00t-home has joined #maemo | 14:55 | |
*** vakkov has joined #maemo | 14:56 | |
*** r00t^home has quit IRC | 14:59 | |
jonwil | So yeah about openssl in maemo and what you said the other day (reading from chanlogs) it looks like there are less dependencies on openssl than it looks at first glance | 15:02 |
jonwil | and especially less closed source dependencies | 15:03 |
*** arossdotme has quit IRC | 15:06 | |
*** jskarvad has quit IRC | 15:06 | |
*** arossdotme has joined #maemo | 15:08 | |
*** yosafbridge` has quit IRC | 15:14 | |
*** till has quit IRC | 15:22 | |
*** till_ has joined #maemo | 15:23 | |
*** ecloud is now known as ecloud_wfh | 15:28 | |
*** ArGGu^^ has quit IRC | 15:30 | |
*** ArGGu^^ has joined #maemo | 15:32 | |
*** yosafbridge has joined #maemo | 15:45 | |
*** eMHa has joined #maemo | 15:47 | |
*** PiZZaMartijn has quit IRC | 15:49 | |
*** xorly has joined #maemo | 15:51 | |
*** vakkov has quit IRC | 16:01 | |
*** xorly has quit IRC | 16:03 | |
ceene | new number registered | 16:04 |
Sicelo | :) | 16:05 |
Sicelo | nice | 16:05 |
ceene | let's see what happens now | 16:05 |
*** sunshavi has joined #maemo | 16:07 | |
ceene | Segmentation fault | 16:07 |
ceene | well | 16:07 |
ceene | that was unexpected | 16:07 |
ceene | i didn't do anything | 16:07 |
ceene | it segfaults when i try to send a message to someone | 16:17 |
ceene | cipher() method from axolotl is segfaulting | 16:17 |
ceene | there's a lot of work here :( | 16:17 |
ceene | i don't quite understand how can this even happen. libwa was supposedly working for coderus on jolla | 16:18 |
kerio | LUL | 16:19 |
kerio | ceene: is it using libcrypto | 16:19 |
ceene | libaxolotl.pro:PKGCONFIG += openssl libssl libcrypto | 16:23 |
ceene | somewhere, yes | 16:23 |
kerio | someone hasn't been checking their NULLs | 16:23 |
ceene | i guess so | 16:23 |
buZz | libaxolotl.pro ? is that for axoloti? | 16:23 |
buZz | hmm, no that cant be | 16:24 |
ceene | buZz: it's libaxolotl, now called simply Signal | 16:24 |
ceene | implementation of textsecure | 16:24 |
buZz | ah ok | 16:24 |
ceene | i don't know why the salad of names | 16:24 |
buZz | creativity :P | 16:25 |
ceene | i don't know if i'm gonna be able to solve this | 16:26 |
ceene | even if i solve this particular problem | 16:26 |
ceene | what about all the future ones i don't even know about? | 16:26 |
ceene | :( | 16:26 |
kerio | :( | 16:26 |
ceene | coderus has gone completely silent | 16:26 |
*** Valle__ has joined #maemo | 16:31 | |
*** vahe has quit IRC | 16:32 | |
*** florian has quit IRC | 16:33 | |
*** vahe has joined #maemo | 16:34 | |
*** florian has joined #maemo | 16:35 | |
jonwil | Its a pitty no-one is still working on whatsapp plugin for libpurple, if that was still maintained then we could just compile libpurple on maemo and use that (which gets us all the other libpurple plugins too I guess) | 16:41 |
jonwil | not that I care about Whatsapp or anything else connected to Facebook :P | 16:43 |
ceene | problem with purple is not whatsapp plugin i think | 16:43 |
ceene | but purple versions and libc compatibility | 16:43 |
ceene | or something like that | 16:43 |
ceene | also, maemo messaging interface is awful | 16:43 |
*** aloril_ has quit IRC | 16:45 | |
*** arcean has quit IRC | 16:53 | |
ceene | next step is gonna make axolotl and its children compile statically | 17:17 |
ceene | easier debugging | 17:17 |
ceene | and i guess final .deb package should have them statically compiled | 17:18 |
ceene | no sense on distributing 3 .deb files for just one application | 17:18 |
ceene | and then maybe gdb step by step | 17:18 |
ceene | :/ | 17:18 |
jonwil | kerio: http://talk.maemo.org/showthread.php?t=96288 | 17:19 |
*** aloril has joined #maemo | 17:23 | |
kerio | jonwil: \o/ | 17:29 |
kerio | who da man | 17:29 |
kerio | you da man | 17:29 |
kerio | jonwil: have you considered keeping openssl 0.9.8 instead? | 17:30 |
kerio | i don't think ABI shims are going to work | 17:30 |
jonwil | I never suggested abi shims | 17:30 |
ceene | 0x42c1d7a8 in AES_encrypt () from /usr/lib/libcrypto.so.0.9.8 | 17:31 |
ceene | by the way... that's the origin of this segfault | 17:31 |
jonwil | I suggested we port newest openssl/whatever to Maemo and recompile the things that make sense | 17:31 |
*** vahe has quit IRC | 17:31 | |
jonwil | The things that we can recompile rather | 17:31 |
kerio | jonwil: what do you mean by "For the packages that link to libssl/libcrypto but dont actually call any functions in them" | 17:31 |
kerio | you mean packages that have them as a dependency? | 17:31 |
kerio | remember that dlopen is fucking weird | 17:32 |
kerio | and sometimes you might need to link in openssl to dlopen() a so that needs openssl | 17:32 |
kerio | oh nvm you also checked the .sos | 17:32 |
jonwil | Yeah I checked | 17:32 |
ceene | qt dlopens ssl, for example, and is ready to use any upper version | 17:32 |
ceene | as it searches for version numbers | 17:32 |
kerio | QT is one of the weird ones yea | 17:33 |
ceene | i have a not-yet-ready patch for qt to use newer openssl and use latest tls as default | 17:33 |
jonwil | These particular binaries link to libssl/libcrypto but have no functions in their import tables from either library | 17:33 |
kerio | jonwil: for the binary stuff we probably want to keep openssl 0.9.8 around tho | 17:33 |
*** florian has quit IRC | 17:33 | |
DocScrutinizer05 | jonwil: I just wish you'd use a tad more formatting on your posts in http://talk.maemo.org/showthread.php?t=96288 | 17:33 |
jonwil | Yes we do | 17:33 |
kerio | maybe with the RHEL patches? | 17:33 |
jonwil | We want to keep both | 17:33 |
jonwil | We can keep both | 17:33 |
kerio | hell, let's just use RHEL's openssl | 17:34 |
kerio | what's the worst that can happen | 17:34 |
jonwil | We have the newest openssl and recompile everything that we can recompile so it uses that | 17:34 |
DocScrutinizer05 | redhat sneaking into your dreams? | 17:34 |
kerio | ye ye | 17:34 |
jonwil | and we keep openssl 0.9.8 for the things we cant recompile | 17:34 |
kerio | DocScrutinizer05: RHEL 5 or something stupid like that has openssl 0.9.8 | 17:34 |
kerio | and it's LTE until 2020 or so | 17:34 |
kerio | LTS | 17:34 |
kerio | (fucking 4g lol) | 17:35 |
jonwil | I suspect most of the closed-source things calling libssl/libcrypto are low-risk anyway | 17:35 |
kerio | that's how the NSA sneaks in! | 17:36 |
jonwil | osso-backup for example only needs libssl for AES and for SHA1 | 17:37 |
DocScrutinizer05 | [2016-05-09 Mon 16:36:21] <DocScrutinizer05> Centurion_Dan: does devuan have a armel build now? | 17:37 |
DocScrutinizer05 | [2016-05-09 Mon 16:36:39] <Centurion_Dan> yes... but our current buildhosts are offline... | 17:37 |
ceene | jonwil: do you know if AES_encrypt from libcrypto.so.0.9.8 may be buggy? | 17:37 |
kerio | is there a centos 5 armel | 17:37 |
kerio | DocScrutinizer05: \o/ | 17:37 |
kerio | am i a bad enough dude to switch my sheevaplug to devuan | 17:37 |
jonwil | I know nothing about possible issues in openssl | 17:38 |
kerio | ceene: check man pages from different versions of openssl for AES_encrypt | 17:38 |
kerio | see if anything changed | 17:38 |
kerio | DocScrutinizer05: should i switch to devuan | 17:39 |
kerio | if builds were reproducible, i bet the binaries i have would be bit-by-bit the same | 17:39 |
kerio | no systemd, no udev | 17:40 |
*** Valle__ has quit IRC | 17:40 | |
jonwil | of course none of this helps in any way with the really big problem, namely how to deal with microb and nss | 17:41 |
ceene | forget about microb and find a replacement browser | 17:42 |
jonwil | something I haven't a clue about | 17:42 |
ceene | such as midori | 17:42 |
ceene | which under easy debian works wonderfully | 17:42 |
kerio | jonwil: well, that's a completely orthogonal issue | 17:42 |
jonwil | in the grand scheme of things, the number of packages using openssl to talk to the internet at large is very small and the number of closed packages doing that is even smaller. | 17:43 |
DocScrutinizer05 | I always thought we could upgrade the browserd under microB all we want, since it's a generic rendering engine and completely FOSS | 17:43 |
kerio | DocScrutinizer05: yes, but that would require someone who understands how the bloody thing works | 17:44 |
DocScrutinizer05 | timeless: ^^^ | 17:44 |
jonwil | The biggest problems with upgrading microb are:1.Finding an engine | 17:44 |
jonwil | 1.Finding an engine to use that is suitable and that can be ported to the Neo900 | 17:45 |
jonwil | 2.Dealing with Flash Player (which is fairly well coupled to microb-engine/Gecko) | 17:45 |
DocScrutinizer05 | and mostly useless nowadays anyway? | 17:46 |
jonwil | 3.Dealing with any specific functionality in microb that the new engine needs to handle (for example on microb, I can click on a phone number link on certain web pages and get a dialer window ready to dial) | 17:47 |
DocScrutinizer05 | that's mimetypes | 17:47 |
jonwil | no, its special URL formats | 17:47 |
jonwil | tel:123456 or something | 17:47 |
DocScrutinizer05 | well and that is handled in mimetypes afaik | 17:48 |
ceene | i shall insist on midori once again :P | 17:48 |
jonwil | probably | 17:48 |
ceene | not that i'm associated with midori in any way | 17:48 |
DocScrutinizer05 | ceene: you can get midori any time you want | 17:48 |
DocScrutinizer05 | just like Opera and FF and dunno what | 17:49 |
ceene | i know | 17:49 |
DocScrutinizer05 | however none of those will replace browserd | 17:49 |
kerio | what if we pay mozilla | 17:49 |
ceene | don't know why | 17:49 |
kerio | jonwil: fuck flash player | 17:50 |
kerio | we don't need that anymore, thanks to apple | 17:50 |
jonwil | Yeah I say "screw Flash Player" as well | 17:50 |
kerio | any website has to have a non-flash version | 17:50 |
jonwil | but there are still plenty of sites out there that need it | 17:50 |
DocScrutinizer05 | [2016-05-09 Mon 16:40:11] <parazyd> DocScrutinizer05: there you go, you have your maemo upstream :) | 17:50 |
kerio | not really | 17:50 |
jonwil | for whatever version | 17:50 |
kerio | jonwil: have you tried switching your user agent to safari/ipad | 17:51 |
jonwil | Not talking about my N900 (where I have flash player turned off because its a resource hog) but on my desktop plenty of sites still use Flash unfortunately | 17:51 |
jonwil | But yeah I am sure if we said to CSSU users "flash player wont work anymore" there would be complaints from people who do need it | 17:52 |
DocScrutinizer05 | I noticed they do only until you unistall flash | 17:52 |
DocScrutinizer05 | but yeah, ack for complaints about compatibility in CSSU | 17:53 |
DocScrutinizer05 | for sure needs to be an opt-in package in CSSU | 17:53 |
jonwil | Plenty of news websites still use Flash to deliver video clips for example (and rely on dedicated "apps" on mobile to avoid the "no flash on mobile browsers" problem) | 17:54 |
*** Valle__ has joined #maemo | 17:55 | |
kerio | DocScrutinizer05: a handful of porn sites^W^Wsites require you to switch to an iphoney user agent string | 17:55 |
DocScrutinizer05 | https://botbot.me/freenode/devuan/2016-05-09/?msg=65725085&page=2 | 17:55 |
kerio | jonwil: switch your user agent and use a modern browser | 17:55 |
DocScrutinizer05 | jonwil: as mentioned above I never ran into problems with HTML5 instead of flash when I simply uninstalled flashlibs... until some embedded systems insist in using flash in their HTML GUI | 17:57 |
DocScrutinizer05 | :-/ | 17:57 |
kerio | DocScrutinizer05: do you reckon that the community could pay for someone to update microb to a (more) recent gecko+nss? | 17:57 |
DocScrutinizer05 | I doubt that | 17:57 |
DocScrutinizer05 | it's pretty hard to find affordale devels for such stuff | 17:58 |
DocScrutinizer05 | affordable | 17:58 |
DocScrutinizer05 | actually it's hard to find any devels at all | 17:58 |
jonwil | Ok so mainstream sites like twitter seem to serve up HTML audio/video these days | 18:02 |
jonwil | but I can assure you that no matter what user-agent you use or what browser you have or whether you have Flash installed, a site like CouchTuner will not serve up anything other than Flash | 18:03 |
jonwil | then again, no-one sane is going to be using a site like that on the tiny screen and low-bandwidth network connection of a N900 :) | 18:04 |
ceene | uhm | 18:07 |
ceene | can somebody explain me this? | 18:07 |
ceene | (gdb) n | 18:07 |
ceene | 282 if (version >= 3) { | 18:07 |
ceene | (gdb) p version | 18:07 |
ceene | $6 = 3 | 18:07 |
ceene | (gdb) s | 18:07 |
ceene | [LWP 2803 exited] | 18:07 |
ceene | Breakpoint 1, SessionCipher::getCiphertext (this=<optimized out>, version=3, messageKeys=..., plaintext=...) at src/sessioncipher.cpp:303 | 18:07 |
ceene | 303 qDebug() << "IV:" << iv.constData(); | 18:07 |
ceene | instead of getting inside the version>=3 | 18:07 |
ceene | this thing has jumped to the } else { | 18:07 |
ceene | well, further than that in fact! | 18:08 |
jonwil | me, I dont care about Flash on my N900, I just want an up-to-date browser engine that can run sites like Slack and Trello and can pass the SSLLabs browser test | 18:08 |
kerio | jonwil: i can assure you, i don't have flash player installed | 18:15 |
kerio | http://i.imgur.com/j2UCvV3.jpg | 18:15 |
kerio | have you considered that maybe your browser is just shit | 18:16 |
kerio | (that's with the default user agent string, mind you) | 18:16 |
kerio | i mean | 18:18 |
*** Pali has joined #maemo | 18:18 | |
*** jonwil has quit IRC | 18:23 | |
*** fuz_ has quit IRC | 18:24 | |
*** fuz_ has joined #maemo | 18:35 | |
*** krnlyng has quit IRC | 18:36 | |
freemangordon | ceene: is the binary optimized? | 18:38 |
KotCzarny | ceene: i see you've seen the power of the static side.. muahahahaha | 18:39 |
*** vahe has joined #maemo | 18:40 | |
*** fuz_ has quit IRC | 18:41 | |
*** krnlyng has joined #maemo | 18:49 | |
*** xorly has joined #maemo | 18:49 | |
*** vakkov has joined #maemo | 18:49 | |
*** Valle__ has quit IRC | 19:02 | |
DocScrutinizer05 | -Obla? | 19:02 |
DocScrutinizer05 | yes, that could cause such funny effects | 19:03 |
*** jskarvad has joined #maemo | 19:03 | |
kerio | -Obladi -Oblada | 19:03 |
DocScrutinizer05 | particularly on ARM where you think you are wazching the completely wrong binary with your Lauterbach | 19:04 |
*** florian has joined #maemo | 19:04 | |
*** fuz_ has joined #maemo | 19:05 | |
DocScrutinizer05 | the source often has no faintest resemblance with what you think should be there, in debugger | 19:05 |
freemangordon | DocScrutinizer05: yeah, -02 usually results in impossibility to debug the binary in a sane way :) | 19:05 |
kerio | -Og | 19:06 |
kerio | for when you feel gangsta | 19:06 |
freemangordon | for debugging, -O0 is a must, with --no-skip-frame-pointers (or whatever the flag is) | 19:06 |
KotCzarny | hrm | 19:06 |
DocScrutinizer05 | :nod: | 19:07 |
kerio | surely -fno-omit-frame-pointer is included in -O0 | 19:07 |
kerio | who the hell omits that anyway | 19:07 |
freemangordon | kerio: you don't really need that for release | 19:07 |
KotCzarny | n8x0 cpu instruction set should be subset of a8/a7 right? | 19:07 |
kerio | it's going to be a while before we can collectively heal the damage that gentoo has caused ._. | 19:07 |
freemangordon | KotCzarny: afaik, yes | 19:07 |
kerio | like, don't get me wrong | 19:08 |
KotCzarny | freemangordon: funnything i get: | 19:08 |
KotCzarny | [I have no name!@n8x0chr 16:06:15 /]# /usr/sbin/iconvconfig | 19:08 |
KotCzarny | Illegal instruction | 19:08 |
kerio | it's fun to compile something like openssl with -O3 -fomit-frame-pointers -funroll-all-loops | 19:08 |
kerio | to run the benchmarks | 19:08 |
DocScrutinizer05 | unroll loops BWAHAHAHA | 19:08 |
Wizzup | kerio: you're kidding by blaming this on gentoo, right? | 19:08 |
kerio | Wizzup: maybe :> | 19:09 |
freemangordon | KotCzarny: and? what cou was that compiled for? | 19:09 |
kerio | can't spell -funroll-loops without FUN | 19:09 |
freemangordon | *CPU | 19:09 |
KotCzarny | freemangordon: dont remember exact cpu of n8x0 but its a6 i think | 19:10 |
freemangordon | hmm, I meant - what CPU was /usr/sbin/iconvconfig compiled for? | 19:10 |
KotCzarny | freemangordon: packages were from n8x0 repos and n8x0 sdk repo | 19:11 |
buZz | KotCzarny: OMAP2 | 19:11 |
buZz | at least, n800 | 19:11 |
KotCzarny | so definitely not miscompiled | 19:11 |
freemangordon | buZz: this is arm6, correct? | 19:11 |
DocScrutinizer05 | for (long i = MAXLONG; i > 0; i--) --- unroll DAT!! sucker! | 19:11 |
buZz | no, its armv6 | 19:11 |
freemangordon | yah, that's what I meant | 19:12 |
buZz | oh ok, cause arm6 is something else | 19:12 |
freemangordon | :) | 19:12 |
buZz | its actually arm9 ;) | 19:12 |
buZz | oh eh, arm11 | 19:12 |
KotCzarny | :) | 19:12 |
buZz | OMAP1 is arm9 | 19:12 |
kerio | DocScrutinizer05: what is that loop doing | 19:12 |
freemangordon | KotCzarny: it has some alignment requirements, iirc | 19:13 |
DocScrutinizer05 | whatever you like | 19:13 |
kerio | i can't imagine 2**64 different things to do ._. | 19:13 |
KotCzarny | freemangordon: so even with subset there still might be problem running older binaries on a7? | 19:13 |
DocScrutinizer05 | it's a stub to be finished by you ;-) | 19:13 |
freemangordon | KotCzarny: what are you trying to do? | 19:13 |
KotCzarny | because other things run fine (ie. did apt-get update, ran bash etc) | 19:13 |
KotCzarny | fmg: chroot for compiling packages for n8x0 | 19:13 |
freemangordon | could it be thumb-compiled? | 19:14 |
KotCzarny | fmg: my a7 kernel has thumb enabled | 19:14 |
freemangordon | KotCzarny: so, you do chroot on n900? | 19:14 |
KotCzarny | fmg: nope, on banana pi m1 | 19:15 |
freemangordon | aah | 19:15 |
KotCzarny | and compile things for n900 in chroot | 19:15 |
freemangordon | arm11? | 19:15 |
KotCzarny | and it works fine, and now i wanted to do the same for n8x0 | 19:15 |
* DocScrutinizer05 idly wonders if and/or why not there's a parameter to -funroll-all-loops to define the max loop size | 19:15 | |
freemangordon | got it | 19:15 |
KotCzarny | not that iconvconfig is essential, but wondered if there are some binary gotchas | 19:15 |
DocScrutinizer05 | but you rather do that in sourcecode with metainstructions anyway | 19:16 |
DocScrutinizer05 | global unroll is an idiocy | 19:16 |
freemangordon | KotCzarny: do readelf -A on the binary | 19:17 |
freemangordon | and compare it with some working binary | 19:17 |
KotCzarny | bash: readelf: command not found | 19:17 |
KotCzarny | thich package has it? | 19:18 |
KotCzarny | binutils? | 19:18 |
kerio | DocScrutinizer05: clang: warning: optimization flag '-funroll-all-loops' is not supported | 19:18 |
kerio | ;-; | 19:18 |
freemangordon | do this in scratchbox | 19:18 |
DocScrutinizer05 | hehe ok | 19:18 |
KotCzarny | fmg: no x86 machine at the moment | 19:18 |
freemangordon | yes, binutils | 19:18 |
DocScrutinizer05 | good boy clang | 19:18 |
kerio | honestly tho | 19:18 |
kerio | uint64_t x; for (int64_t i = INT64_MAX; i > 0; i--) x = i; | 19:19 |
kerio | why isn't it optimized to x = 0; | 19:19 |
kerio | or x = 1, i can't think at the moment | 19:19 |
KotCzarny | Attribute Section: aeabi | 19:19 |
KotCzarny | File Attributes | 19:19 |
freemangordon | KotCzarny: not here | 19:19 |
DocScrutinizer05 | to teach you keep your brain in training? | 19:19 |
freemangordon | KotCzarny: use pastebin or something | 19:19 |
kerio | why do i have to think when compilers can do that for me | 19:20 |
KotCzarny | same for /bin/bash | 19:20 |
KotCzarny | no other output | 19:20 |
freemangordon | KotCzarny: weird | 19:20 |
DocScrutinizer05 | I think such stuff gets optinized out at -O2 the latest | 19:20 |
KotCzarny | and bash works | 19:20 |
DocScrutinizer05 | since you don't use x as source of values (on 'right side of =') inside the loop | 19:21 |
*** strohalm has quit IRC | 19:22 | |
KotCzarny | http://pastebin.com/raw/dCbri4gG | 19:22 |
*** strohalm has joined #maemo | 19:22 | |
DocScrutinizer05 | which actually sometimes sucks when compiler doesn't get that x is mapped to a IO or whatever | 19:22 |
freemangordon | KotCzarny: can you upload those 2 binaries so I can test with "my" readelf? | 19:22 |
KotCzarny | sure, just a moment | 19:22 |
*** vahe has quit IRC | 19:23 | |
DocScrutinizer05 | isn't readelf a messybox plugin? | 19:23 |
freemangordon | DocScrutinizer05: it least in SB it is not | 19:24 |
DocScrutinizer05 | messybox-bauer | 19:25 |
DocScrutinizer05 | ;-) | 19:25 |
DocScrutinizer05 | wouldn't be surprised | 19:26 |
*** Valle__ has joined #maemo | 19:26 | |
DocScrutinizer05 | readelf --version ? | 19:26 |
KotCzarny | https://transfer.sh/6TB6g/iconvconfig | 19:26 |
KotCzarny | https://transfer.sh/EWN9d/bash | 19:26 |
DocScrutinizer05 | IroN900:~# readelf --version | 19:27 |
DocScrutinizer05 | GNU readelf (GNU Binutils for Debian) 2.18.50.20070820 | 19:27 |
freemangordon | KotCzarny: both bash and iconvconfig work in SB, unfortunately my readelf gives the same output | 19:30 |
KotCzarny | yes, i know they work because they are from official repos | 19:30 |
*** tanty is now known as tanty_off | 19:31 | |
*** vakkov has quit IRC | 19:31 | |
*** RedM has quit IRC | 19:33 | |
freemangordon | KotCzarny: well, start it in gdb, to see which instruction is problematic | 19:33 |
DocScrutinizer05 | http://paste.opensuse.org/45708992 FWIW | 19:34 |
KotCzarny | fmg: how to run it in gdb? | 19:35 |
KotCzarny | Program received signal SIGILL, Illegal instruction. | 19:35 |
KotCzarny | 0x0000b8d0 in ?? () | 19:35 |
freemangordon | disassemble | 19:35 |
KotCzarny | No function contains program counter for selected frame. | 19:36 |
freemangordon | yeah, sure | 19:36 |
DocScrutinizer05 | freemangordon: what means >>Tag_THUMB_ISA_use: Thumb-1<< ? | 19:36 |
*** RedW has joined #maemo | 19:36 | |
freemangordon | KotCzarny: disassemble 0x0000b8d0 * or somesuch | 19:37 |
KotCzarny | (gdb) disassemble 0x0000b8d0 | 19:37 |
KotCzarny | No function contains specified address. | 19:37 |
freemangordon | "disassemble * 0x0000b8d0" | 19:37 |
* DocScrutinizer05 also glares at >>Tag_ABI_HardFP_use: SP and DP<< on an armel platform - though not really having the faintest clue | 19:37 | |
KotCzarny | A syntax error in expression, near `'. | 19:38 |
freemangordon | without the quotes | 19:38 |
KotCzarny | was without | 19:38 |
freemangordon | just a second | 19:38 |
freemangordon | (gdb) disassemble * 0 | 19:39 |
freemangordon | Cannot access memory at address 0x0 | 19:39 |
* DocScrutinizer05 afk o/ <3 | 19:39 | |
KotCzarny | but did you see paste of strace? | 19:39 |
KotCzarny | http://pastebin.com/raw/dCbri4gG | 19:39 |
*** xorly has quit IRC | 19:39 | |
freemangordon | hmm | 19:39 |
KotCzarny | as a side note: GNU gdb 6.8-debian | 19:39 |
freemangordon | KotCzarny: anyway, disasm should work, it is 7.2 here, but should not make difference | 19:40 |
KotCzarny | syntax probably changed 6 -> 7 | 19:41 |
KotCzarny | because it doesnt | 19:41 |
KotCzarny | and according to strace: | 19:41 |
KotCzarny | cacheflush(0xbeb20a68, 0xbeb20a78, 0, 0x98e8, 0xbeb20a68) = -1095628184 | 19:41 |
KotCzarny | --- SIGILL (Illegal instruction) @ 0 (0) --- | 19:41 |
freemangordon | I doubt, is stock maemo is 6. | 19:41 |
KotCzarny | stock maemo in 2008 | 19:41 |
freemangordon | KotCzarny: comeon, don't tell me the debugger cannot dump the instructions | 19:42 |
KotCzarny | you saw it, bad syntax | 19:42 |
KotCzarny | command is available, just missing magic incantation | 19:42 |
KotCzarny | (gdb) disas 0x401050 0x401075 | 19:43 |
KotCzarny | according to some cygwin google | 19:43 |
KotCzarny | disassemble 0x0000b8d0 0 | 19:44 |
KotCzarny | Dump of assembler code from 0xb8d0 to 0x0: | 19:44 |
KotCzarny | Dump of assembler code from 0xb8d0 to 0xb8d8: | 19:44 |
KotCzarny | 0x0000b8d0 <sysconf+11648>: bx lr | 19:44 |
KotCzarny | 0x0000b8d4 <sysconf+11652>: push {lr} ; (str lr, [sp, #-4]!) | 19:44 |
freemangordon | KotCzarny: hmm, yeah, I don;t think bx lr is avalable on arm11 | 19:45 |
KotCzarny | um, but binaries were compiled for arm11 | 19:45 |
freemangordon | which library is that? | 19:45 |
KotCzarny | and are run on a7 | 19:45 |
KotCzarny | hmm? | 19:45 |
freemangordon | KotCzarny: this is in iconvconfig or in some .so? | 19:46 |
KotCzarny | how can i tell? | 19:47 |
freemangordon | bt? | 19:47 |
KotCzarny | (gdb) bt | 19:49 |
KotCzarny | #0 0x0000b8d0 in ?? () | 19:49 |
KotCzarny | funny how everything else works without a problem, unless that iconvconfig was miscompiled or just working magically over some bug | 19:49 |
freemangordon | KotCzarny: what is the output of "cat /proc/cpuinfo"? | 19:50 |
KotCzarny | http://pastebin.com/raw/J5qseGLw | 19:51 |
KotCzarny | and this is apparently cpuinfo of nokia n8x0 http://lists.openafs.org/pipermail/openafs-info/2007-December/028209.html | 19:54 |
KotCzarny | brb | 19:57 |
freemangordon | KotCzarny: could you also dump the previous 2-3 instructions, when you're back? | 19:57 |
freemangordon | as maybe 0x0000b8d0 is the instruction AFTER the illegal one | 19:58 |
KotCzarny | 0x0000b8c8 <sysconf+11640>: mov r2, #0 ; 0x0 | 19:59 |
KotCzarny | 0x0000b8cc <sysconf+11644>: svc 0x009f0002 | 19:59 |
KotCzarny | 0x0000b8d0 <sysconf+11648>: bx lr | 19:59 |
freemangordon | aaah | 19:59 |
freemangordon | here it is :D | 19:59 |
DocScrutinizer05 | thumb? | 19:59 |
freemangordon | svc 0x009f0002 | 19:59 |
freemangordon | no, supervisor call | 19:59 |
DocScrutinizer05 | krhrhr | 20:00 |
KotCzarny | funny thing to be in iconvconfig | 20:00 |
freemangordon | yes | 20:00 |
freemangordon | but this is meant for n800, where there is Nokia BOOTROM | 20:00 |
*** vakkov has joined #maemo | 20:00 | |
KotCzarny | k, brb (15 min) | 20:00 |
*** vakkov has quit IRC | 20:05 | |
*** buZz has quit IRC | 20:07 | |
*** buZz has joined #maemo | 20:09 | |
*** buZz is now known as Guest43496 | 20:09 | |
*** Guest43496 is now known as buZz | 20:10 | |
*** eMHa has quit IRC | 20:12 | |
freemangordon | KotCzarny: here is your bugger http://osxr.org:8080/glibc/source/ports/sysdeps/unix/sysv/linux/arm/sysdep.h?v=glibc-2.17#0333 | 20:13 |
DocScrutinizer05 | looks nasty | 20:17 |
*** vakkov has joined #maemo | 20:17 | |
freemangordon | DocScrutinizer05: well, what "svc 0x009f0002" does, is to call supervisor (or kernel, not sure) to flush the cache | 20:18 |
freemangordon | and that doesn't seem related to Nokia | 20:18 |
freemangordon | or n800 in that regard | 20:18 |
DocScrutinizer05 | yeah, oh well it's glibc, such stuff expected to show up there I guess. *somewhere* it needs to get done | 20:19 |
DocScrutinizer05 | flush cache is sth that's not exactly trivial I guess | 20:20 |
freemangordon | KotCzarny: check CONFIG_OABI_COMPAT is enabled in your kernel :) | 20:20 |
freemangordon | or rather - make sure CONFIG_OABI_COMPAT is enabled | 20:21 |
KotCzarny | yup, # CONFIG_OABI_COMPAT is not set | 20:39 |
KotCzarny | thx for pointing it out! | 20:40 |
KotCzarny | even if n8x0 uses libc-2.5 and probably eabi | 20:44 |
KotCzarny | hrm, no findutils in diablo, nor in diablo/sdk, nor in diablo/extras-devel. wtf. | 21:00 |
sunshavi | KotCzarny: I use sb2 on VB for compling for both n8X0 and n900, Why do You need findutils? | 21:03 |
KotCzarny | sunshavi: because i have arm based box and dont want vm? | 21:03 |
KotCzarny | and asking why one wants findutils is well, cant find the word. | 21:03 |
KotCzarny | same for md5sum | 21:04 |
sunshavi | a required pkg then | 21:04 |
sunshavi | btw which compiler version are you using? | 21:05 |
KotCzarny | gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2) | 21:05 |
KotCzarny | but im setting chroot now | 21:05 |
sunshavi | I think it is the same use on sb2 | 21:05 |
sunshavi | s/use/used/ | 21:05 |
infobot | sunshavi meant: I think it is the same used on sb2 | 21:05 |
sunshavi | thanks infobot | 21:06 |
infobot | sunshavi: pas de quoi | 21:06 |
KotCzarny | gotta love those chicken-egg situations: | 21:17 |
KotCzarny | sh: line 1: find: command not found when building findutils ;) | 21:17 |
*** vakkov has quit IRC | 21:19 | |
*** jskarvad has quit IRC | 21:21 | |
*** xes_ has joined #maemo | 21:25 | |
*** xes has quit IRC | 21:27 | |
*** xorly has joined #maemo | 21:32 | |
KotCzarny | shall i upload few of those missing packages to diablo extras-devel? | 21:38 |
*** pagurus` has quit IRC | 21:46 | |
KotCzarny | funny, make 3.80 doesnt build, but 3.81 from lenny does. figures. | 22:16 |
*** N-Mi has quit IRC | 22:30 | |
*** N-Mi has joined #maemo | 22:32 | |
*** N-Mi has joined #maemo | 22:32 | |
sunshavi | mmm. pretty funny | 22:34 |
*** pagurus has joined #maemo | 22:42 | |
*** vakkov has joined #maemo | 22:43 | |
DocScrutinizer05 | congrats, you found the only two actions the bot is doing without being correctly addressed ;-) | 23:03 |
*** futpib has quit IRC | 23:10 | |
*** shentey has joined #maemo | 23:18 | |
*** vakkov has quit IRC | 23:27 | |
*** vakkov has joined #maemo | 23:32 | |
*** xes_ is now known as xes | 23:37 | |
*** Cor-Ai has quit IRC | 23:39 | |
sunshavi | DocScrutinizer05: lol | 23:43 |
sunshavi | I like a lot the bot on the emacs channel, for me it talks more than people | 23:43 |
sunshavi | very intuitive a regular question here is the repos, perhaps de bot can solve it | 23:44 |
*** Cor-Ai has joined #maemo | 23:44 | |
sunshavi | another quetion could be: how to install cssu | 23:45 |
sunshavi | or when neon900 is mentioned | 23:45 |
sunshavi | KotCzarny: You have busybox installed, right? | 23:47 |
sunshavi | DocScrutinizer05: actually I have just started with irc. At the beginning I was thinking infobot was another user. But one that types very quickly and very focused on all conversations | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!