libera/#maemo/ Sunday, 2020-12-13

sixwheeledbeast~boot-process00:01
infoboti heard boot-process is http://wiki.maemo.org/Maemo_5_boot_process00:01
CatButts`ELF00:03
CatButts~elf00:04
infobotmethinks elf is the Executable and Linking Format .. it is a Binary format used by System V Release 4 Unix. It is also the prefered binary format in Linux. or the little people.  There are three kind of elven: Noldor, Sindar and Wood elven00:04
CatButtsin context of compiling software, an elf .so can be both linked against dynamically, or statically brought into the program, yes?00:04
CatButtsso, in windows terms, a windows .dll and a compiler lib00:06
Maxdamantus".so" specifically means "shared object", so it's only meant to be used for dynamic linking.00:16
Maxdamantuslibraries that are meant to be statically linked normally end in ".o", and they're usually packaged in some archive file that end in ".a"00:17
MaxdamantusI think Windows has that distinction too, where static libraries are ".lib" or something.00:20
CatButtsaha, so, .so don't double as "dlls" and libs00:21
MaxdamantusThey are libs, but they're meant to be linked dynamically, not statically.00:21
CatButtsso, just the dll part00:22
MaxdamantusSure, where "dll" afaik stands for "dynamically linked library"00:23
* Maxdamantus doesn't know too much about Windows usage nowadays.00:24
CatButtsI'm kinda drunk, I should continue tomorrow00:24
sixwheeledbeastcomparing linux and windows like that is difficult as they do that stuff completely differently.00:44
sixwheeledbeastPackage management and dependencies mean the concept of a DLL isn't a thing.00:52
CatButtswhat's package management?00:53
* CatButts loads everything relative to current directory00:53
CatButts*relative to application's executing directory00:54
CatButtsthat's win9x mentality00:55
CatButtshue00:55
CatButtswith advent of NT, you gots things like "documents and settings" per-user profile folder doohickey thing00:56
CatButtsor whatever they decided to rename it to vista+00:56
CatButtsand now, "program files" folder is read-only(you can write with special privileges)00:57
CatButtsas if to discourage the win9x mentality00:57
CatButtsloads-a-bollocks, if ya ask me00:59
CatButtslinux mentality resembles NT one, I suppose, but is waaay more compartimentalized01:04
CatButts"this part of the application goes into bin X, this one in bin Y, and this in Z"01:05
CatButtsthe config, the main application, and whatever .so it may depend on01:06
CatButtsin NT, the separation is partial, with each application(say if built with Qt) having duplicates of same dlls in each appfolder01:07
CatButtsbut settings get put in dedicated place01:07
CatButtsI am alligned to win9x mentality, where app and its folder of gubbins are self-sufficient01:08
MaxdamantusKind of like gobolinux afaik.01:13
luke-jrsixwheeledbeast: lolwut no06:30
luke-jr.so = .dll06:30
sixwheeledbeastoh? seems i misunderstand then?11:34
siceloCatButts: actually the windows and linux way here are mostly the same. you just 'notice' the .so situation on linux because most of the dlls on windows are part of the base system (shipped by MS). but they're there, and equally important12:46
sicelo"this part of the application goes into bin X, this one in bin Y, and this in Z" - this also happens on windows too. hence when you uninstall an application that installed extra dlls, it typically notifies you if it seems those dlls are used by other applications as well12:48
siceloplease help me with building kernel for N900. it seems to all be going well, until i get this, https://paste.debian.net/1176726/16:57
bencoheww17:07
bencohis that leste or maemo5/KP kernel?17:07
sicelomainline :)17:09
bencohold toochain maybe?17:09
bencohtoolchain/compiler17:10
bencohs/old/broken/ even17:10
siceloi would like to think the compiler is fine. most likely i have bad kernel config and/or sources, since i might have been merging stuff wrong :p17:18
sicelolet me try this first, https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2349834.html17:19
siceloif that doesn't work, guess i need to try a simple config first17:20
sicelonice. looks like there was no conclusion there. will go with Dmitry's workaround, although it seems to not have been the best option17:25
siceloah, looks like final and accepted solution was https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9030/1 . but seems https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9018/2 works too, and since i'm lazy and just want/need something booting, i'll go with the latter for now17:31
sicelo CC      arch/arm/boot/compressed/decompress.o17:35
sicelowrong paste17:35
siceloanyway, seems a kernel built17:36
bencohdid it break recently?17:38
bencohoh and ... is leste kernel thumb2 as well?17:39
siceloyes, it's thumb2.17:43
siceloleste has kernel 5.1 for N900 yet. however, i know fmg built 5.9 very recently and didn't get the issue. no idea what the differences are17:44
bencohthat's the question I was about to ask ;)17:44
sicelounfortunately i'm a out of my depth with this stuff - guess i must still learn how cherry-picking works. i'm totally confused about the kernel branches i'm tracking :p17:47
CatButtsHow do I deal with recursive dependencies in GCC in automagic fashion?18:11
CatButtsfor example, for a gtk hello world, I start with -lgtk-x11-2.0 -lglib-2.018:12
CatButtsbut then those depend on other libs, which depend on other libs, which... and so on18:12
CatButtsI found18:12
CatButts-Wl,--start-group -lfirst -lsecond -Wl,--end-group18:13
CatButtsbut I don't think it does what I expect it to18:13
CatButtsattempt to do this manually is nothing short of insanity18:13
sicelommm, so u-boot finds the kernel i built, but nothing happens after i see "starting kernel". after some time, maybe 1 min, device turns off.19:21
* CatButts barfs on the carpet19:40

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!