[2022-09-06T01:22:58Z] Hi [2022-09-06T01:27:06Z] hi [2022-09-06T01:27:23Z] hi [2022-09-06T07:02:31Z] hi [2022-09-06T09:27:49Z] ioraff: are u ok with adding pipewire as a mandatory build (not runtime, dlopen'd) dependency for chromium? it can probably save a few hrs if someone decided that they need screen sharing [2022-09-06T09:28:30Z] ofc they'd need dbus and stuff too [2022-09-06T11:35:36Z] cant pipewire be built without dbus [2022-09-06T11:38:24Z] i meant screen casting [2022-09-06T11:39:39Z] so screen casting needs dbus 100% [2022-09-06T11:41:49Z] yeah cuz browsers communicate to abstraction layer over ayyland compositor's cast implementation which also communicates via dbus, via dbus [2022-09-06T11:42:30Z] u can write another webrtc backend that skips all this abstraction [2022-09-06T11:42:48Z] its sad to see that dbus is needed [2022-09-06T11:42:48Z] i hope there is a backend yea [2022-09-06T11:43:01Z] it's not gonna appear by itself lol [2022-09-06T11:43:32Z] alternatively u can cast to v4l2 camera via wf-recorder and use that as a webcam in firefox [2022-09-06T11:43:50Z] and do whatever config to pass speaker to mic device [2022-09-06T11:43:59Z] but then obv u cant use either of those with real defices [2022-09-06T11:44:52Z] software is magic it'll appear and save ur life [2022-09-06T13:09:59Z] hey uh is there any way to test if my pc could realistically compile a kernel, I want my own custom kernel for KISS but I really don't know if my system could compile it [2022-09-06T13:10:37Z] macslash1[m]: i compiled my kernels back in 2001, the thing is time [2022-09-06T13:11:48Z] Yeah true [2022-09-06T13:12:15Z] also just remembered I'm gonna have to use GKISS for this too [2022-09-06T13:21:10Z] testuser[m]12: hm. not sure [2022-09-06T13:21:16Z] @raph_ael poor guy's 4g ram laptop couldn't compile it in a chroot [2022-09-06T13:21:26Z] probably because of systemd oomd moment [2022-09-06T13:21:38Z] oh [2022-09-06T13:22:11Z] some dev should get rpi to dev and taste most people real life computing feeling [2022-09-06T13:24:37Z] testuser[m]12: I'm holding off on llvm 15 as rust can't build against it yet [2022-09-06T13:25:01Z] wael: well I'm compiling on a 16gig ram pc now [2022-09-06T13:25:26Z] quadcore AMD smth CPU I forget [2022-09-06T13:29:22Z] ioraff: ok [2022-09-06T13:30:28Z] a new rust release should be coming in few days anyway so no point in bumping old ver [2022-09-06T13:30:56Z] rust linux my beloved [2022-09-06T13:33:06Z] 1.64 is due on 9/22. maybe there'll be a 1.63.1 [2022-09-06T15:52:04Z] * macslash1[m] posted a file: glibc-2022-09-06-15:24-338301 (8305KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/WweIjXqnbkjUpLKKDuBiSXGl > [2022-09-06T15:52:11Z] Hello, so I'm trying to update glibc 2.36-1 => 2.36-3 and whenever I do it always gets stuck at a line with the error (.text+0xe5e9): undefined reference to `strcpy' [2022-09-06T15:52:11Z] this is the whole log file [2022-09-06T15:54:34Z] macslash1: cflags? [2022-09-06T15:55:06Z] env [2022-09-06T15:55:55Z] okay weirdly whenever I try `echo $CFLAGS` it doesn't output anything I'll try fix it and retry [2022-09-06T15:56:21Z] maybe u didn't set any then [2022-09-06T15:56:21Z] It should work fine [2022-09-06T15:56:24Z] Hmm [2022-09-06T15:57:49Z] I added it maybe it'll work now [2022-09-06T15:57:49Z] what CFLAGS did you set? [2022-09-06T15:58:46Z] should be okay on 16 gigs [2022-09-06T15:58:46Z] -O3 -pipe -march=native [2022-09-06T15:58:59Z] yep [2022-09-06T15:59:14Z] macslash1: can u tell the exact steps u used before rebuilding glibc [2022-09-06T15:59:17Z] that's probably why it was so damn slow it was all on one core before [2022-09-06T15:59:36Z] you need to set MAKEFLAGS=-j$(nproc) for slowness [2022-09-06T16:00:05Z] yeah ik I set it to 8 threads [2022-09-06T16:00:09Z] 8 is output by nproc so [2022-09-06T16:02:19Z] testuser[m]12: I just exported CFLAGS, CXXFLAGS, and MAKEFLAGS [2022-09-06T16:02:19Z] CFLAGS with `export CFLAGS="-O3 -pipe -march=native", [2022-09-06T16:02:19Z] `export CXXFLAGS=$CFLAGS` and [2022-09-06T16:02:19Z] `export MAKEFLAGS="-j8" [2022-09-06T16:02:22Z] arg weird codeblocks [2022-09-06T16:02:50Z] > <@testuser:matrix.pratham.cc> macslash1: can u tell the exact steps u used before rebuilding glibc [2022-09-06T16:02:50Z] * I just exported CFLAGS, CXXFLAGS, and MAKEFLAGS [2022-09-06T16:02:50Z] CFLAGS with `export CFLAGS="-O3 -pipe -march=native"`, `export CXXFLAGS=$CFLAGS`and`export MAKEFLAGS="-j8"` [2022-09-06T16:02:56Z] it's working now anyway [2022-09-06T16:03:58Z] ty btw [2022-09-06T16:08:33Z] * ty [2022-09-06T16:08:45Z] fwiw you should avoid O3 [2022-09-06T16:08:50Z] O2 is enough [2022-09-06T16:09:07Z] sorry forgot this was an IRC with the reply lmao [2022-09-06T16:09:07Z] O3 can cause subtle errors because it enables unsafe optimizations [2022-09-06T16:10:07Z] I see, I'll probably change it then [2022-09-06T16:10:15Z] probably a good idea [2022-09-06T16:10:30Z] O3 can also cause binaries to actually be larger and slower [2022-09-06T16:10:41Z] it enables a lot of weird tricks [2022-09-06T16:10:58Z] if you want to fiddle with CFLAGS, it's best to read the GCC manual and look at what Red Hat and Debian set [2022-09-06T16:11:12Z] really? [2022-09-06T16:11:14Z] yes [2022-09-06T16:11:25Z] did not know that ty [2022-09-06T16:11:37Z] O2 with a handful of hardening options is really all you need tbqh [2022-09-06T16:13:26Z] alternatively if you were a based cool kid like me you would just use a non-optimizing compiler [2022-09-06T16:13:28Z] :smug: [2022-09-06T16:15:52Z] lmao [2022-09-06T16:23:47Z] * macslash1[m] uploaded an image: (16KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/eaYLPKfQoiUwKIVnUwlbxOqf/image.png > [2022-09-06T16:23:50Z] did not realise this until just now [2022-09-06T16:25:55Z] @midfavila : been using O3 ever since I got into kiss [2022-09-06T16:28:27Z] midfavila: O3 only breaks UB [2022-09-06T16:28:32Z] Of which there is a lot [2022-09-06T16:32:07Z] should I get the mainline or stable kernel [2022-09-06T16:32:09Z] probably stable but [2022-09-06T16:32:30Z] 6.0-rc4 sounds fun xd [2022-09-06T16:35:42Z] i use a LTS kernel [2022-09-06T16:35:59Z] 5.10 with hardening and performance patches [2022-09-06T16:36:12Z] wael[m] anecdote means nothing in this case [2022-09-06T16:36:29Z] O3 is known to cause problems and GCC even warns against using it iirc [2022-09-06T16:36:59Z] i will repeat myself: O2 with hardening flags is usually enough [2022-09-06T16:37:02Z] midfavila: fair but bleeding edge kernel sounds fun :3 [2022-09-06T16:37:15Z] upstream will enable O3 and other optimizations as needed [2022-09-06T16:37:27Z] macslash1[m] eeeeeeeeeeeh, you do you [2022-09-06T16:40:17Z] inb4 my system lasts 2 hours [2022-09-06T16:57:16Z] Hmm it seems to be trivial to parse elf and get rpath and NEEDED from dynamic section within 100 loc [2022-09-06T16:57:16Z] But does library search logic in various libc's differ to such a level that just searching in /usr/lib wouldn't suffice? [2022-09-06T16:57:18Z] illiliti: [2022-09-06T17:04:42Z] I mean the default search path [2022-09-06T17:04:53Z] not including rpath [2022-09-06T17:08:35Z] macslash1: https://sourceware.org/bugzilla/show_bug.cgi?id=29454 [2022-09-06T17:08:38Z] Found the bug [2022-09-06T17:09:34Z] I see, so my system was probably just defaulting to -O1 so when I changed it it fixed the issue [2022-09-06T17:10:48Z] Yeah [2022-09-06T17:42:31Z] midfavila: just curious, what flags do you use? [2022-09-06T17:42:44Z] none [2022-09-06T17:42:50Z] i wasn't joking when i said i use a non-optimizing compiler [2022-09-06T17:43:22Z] although on my current main workstation... [2022-09-06T17:44:22Z] http://0x0.st/ofqc.txt [2022-09-06T17:44:29Z] some of these are redundant because they're already enabled by O2 [2022-09-06T17:47:45Z] * macslash1[m] uploaded an image: (19KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JoFFJztALQEHgSeqvDaeqkBb/image.png > [2022-09-06T17:47:56Z] I finally got a screenie with max on all cores lmao [2022-09-06T17:48:12Z] >he only has eight cores [2022-09-06T17:48:18Z] can u tell I'm compiling a kernel [2022-09-06T17:48:20Z] ara ara [2022-09-06T17:48:25Z] no [2022-09-06T17:48:31Z] nerd smh [2022-09-06T17:49:15Z] ik [2022-09-06T17:49:28Z] * macslash1[m] uploaded an image: (5KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/zyWChMbIwmcXKheWolsGZpsn/image.png > [2022-09-06T17:49:30Z] do you use a swap file or partition? [2022-09-06T17:49:32Z] I need an upgrade [2022-09-06T17:49:38Z] and is it on a hard disk or SSD? [2022-09-06T17:49:44Z] oh shit it finished compiling [2022-09-06T17:51:41Z] partition and HDD, I also need to get an SSD at some point [2022-09-06T17:51:55Z] did you make sure your swap partition was the first one? [2022-09-06T17:51:59Z] lol [2022-09-06T17:52:24Z] it's important = w= [2022-09-06T17:54:41Z] Uh im not sure, cant fix it rn im about to eat [2022-09-06T17:54:52Z] np [2022-09-06T17:55:24Z] anyway yeah for future reference: keep in mind that the lower a track is, the higher its angular velocity and the lower the latency to seek is [2022-09-06T17:55:43Z] so by placing your swap partition at the start of your partition table, you minimize the time necessary to complete a full rotation of the track(s) it's on [2022-09-06T17:55:50Z] thereby increasing performance when swapping [2022-09-06T17:56:27Z] (you might have already known that though idk) [2022-09-06T18:02:22Z] -fdelete-null-pointer-checks sounds sussy [2022-09-06T18:02:36Z] iirc that's one of the redundant flags enabled by O2 [2022-09-06T18:05:23Z] yup [2022-09-06T18:05:25Z] it totally is [2022-09-06T18:05:43Z] https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html [2022-09-06T18:13:34Z] kernel patch to remove the bash dependency got merged. woooo [2022-09-06T18:14:10Z] based and posixpilled [2022-09-06T18:17:20Z] ioraff: WHAT I literally just had to install bash to compile my kernel [2022-09-06T18:17:24Z] 😭 [2022-09-06T18:17:39Z] ughhhh [2022-09-06T18:18:28Z] it might be in a later version of 6.0. for now, it's only in the kbuild branch [2022-09-06T18:18:45Z] ah I see [2022-09-06T18:18:54Z] https://0x0.st/o2_n.patch [2022-09-06T18:20:20Z] 6.0 is shaping up to a quite nice kernel update [2022-09-06T18:20:33Z] doesn't it have rust? [2022-09-06T18:20:39Z] yes. [2022-09-06T18:20:51Z] i'm sticking with 5.10 = w= [2022-09-06T18:20:55Z] hBSD can't come soon enough [2022-09-06T18:20:56Z] :) [2022-09-06T18:23:31Z] I don't think that patchset was merged yet [2022-09-06T18:23:53Z] midfavila: h what [2022-09-06T18:24:04Z] HyperbolaBSD [2022-09-06T18:24:20Z] I wonder how many will actually move to BSD because of rust in the linux kernel [2022-09-06T18:24:25Z] probably not many [2022-09-06T18:24:34Z] probably 0 [2022-09-06T18:24:44Z] 0 unless it's hard dep for common modules [2022-09-06T18:24:51Z] Personally I don't see an issue in it and a version of the gnu coreutils has been created in rust and it's actually faster than the current implementation [2022-09-06T18:24:59Z] Few decades left for that [2022-09-06T18:25:03Z] that's irrelevant, macslash1[m] [2022-09-06T18:25:23Z] idk but I've seen some people who really hate rust and I can't understand it [2022-09-06T18:25:38Z] rust is a poorly-defined and non-portable language with licensing flaws and really shitty build UX [2022-09-06T18:25:43Z] do they even have a spec yet? [2022-09-06T18:25:49Z] or is it still "the compiler is the spec"? [2022-09-06T18:26:13Z] is the opinion on PPC still "get fucked nerds"? [2022-09-06T18:26:28Z] do you still need to either rely on binaries or bootstrap literally years' worth of compilers? [2022-09-06T18:26:29Z] etc [2022-09-06T18:26:37Z] these are all massive issues [2022-09-06T18:26:45Z] Firefox constantly needs small patches for rust breakage every 2 major releases [2022-09-06T18:26:57Z] and all for what - so people can think a little less when writing programs? [2022-09-06T18:27:06Z] midfavila: huh. [2022-09-06T18:27:35Z] like don't get me wrong, C is a pain in the ass [2022-09-06T18:27:42Z] the syntax is obtuse compared to Scheme [2022-09-06T18:27:52Z] and all the bullshit people do with pointers and casting is sinful [2022-09-06T18:27:53Z] Scheme? [2022-09-06T18:28:02Z] minimalist Lisp implementation [2022-09-06T18:28:14Z] very portable, very efficient, very easy to understand, and very easy to use [2022-09-06T18:28:27Z] but, it also doesn't really have a standard library [2022-09-06T18:28:35Z] (they're working on that though) [2022-09-06T18:29:04Z] sounds cool [2022-09-06T18:29:10Z] it's very cool [2022-09-06T18:29:28Z] ohhh the (((((((())))))))) [2022-09-06T18:29:29Z] although some of the stuff you can do with it is a little mind-bending at first [2022-09-06T18:29:34Z] I forgot about that [2022-09-06T18:29:46Z] and yes, it uses parentheses for its primary punctuation [2022-09-06T18:29:58Z] lol, a little too much if you ask me [2022-09-06T18:30:48Z] compared to <>{}[]();+-=/*==|&~||&&! and so on and so forth? [2022-09-06T18:31:24Z] oh yeah shellscript is weird like that I don't know too much about it [2022-09-06T18:31:36Z] C has a bunch of grammatical rules to memorize that can act in unusal ways and the language itself for better or worse forces you to think about implementation more than the program itself [2022-09-06T18:31:44Z] shell, I don't even care about [2022-09-06T18:31:45Z] i use rc [2022-09-06T18:31:54Z] but, point is, [2022-09-06T18:32:13Z] replacing C with "C but handholding" doesn't really improve the situation much [2022-09-06T18:32:18Z] and by adding a bunch of caveats to rust, [2022-09-06T18:32:23Z] it's overall a much worse situation [2022-09-06T18:32:24Z] like, [2022-09-06T18:32:27Z] i could write in rust, [2022-09-06T18:32:52Z] or i could write a program in scheme and transpile it to C and know that it'll be as fast or faster than rust, yet have all the niceties of scheme [2022-09-06T18:33:31Z] or, if I needed something that would absolutely *not* fuck up *ever*, I could use haskell, or if I was concerned about space, FORTH... there are a bunch of languages that do what rust is trying to do but better [2022-09-06T18:33:42Z] and they also don't have shitty communities [2022-09-06T18:34:03Z] and they're also, you know, portable to more than x86, x86-64 and ARM [2022-09-06T19:05:31Z] testuser[m]12: instead of shipping a pc file with llvm, should we instead try to add llvm-config support to muon? [2022-09-06T19:11:02Z] tt