💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-09-10.txt captured on 2024-05-26 at 16:05:54.
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
[2022-09-10T04:11:40Z] <testuser[m]12> Hi [2022-09-10T04:23:51Z] <ioraff> hi [2022-09-10T05:51:13Z] <wael[m]> Hi [2022-09-10T09:29:41Z] <illiliti> noocsharp: wayclip Makefile isn't posix despite claiming so [2022-09-10T09:30:09Z] <illiliti> https://illiliti.pastes.sh/1662802069594013603 [2022-09-10T09:30:20Z] <illiliti> this patch fixes compatibility with bmake and smake, but not pdpmake [2022-09-10T09:30:53Z] <illiliti> cuz pdpmake is more stricter than these two [2022-09-10T09:31:30Z] <illiliti> it prohibit using '-' in target names [2022-09-10T09:32:08Z] <illiliti> i can send patch to ML if you like [2022-09-10T09:32:16Z] <illiliti> when i get home [2022-09-10T11:40:12Z] <wael[m]> a [2022-09-10T11:40:17Z] <testuser[m]12> lol [2022-09-10T13:33:29Z] <macslash1[m]> Hiii [2022-09-10T14:29:58Z] <testuser[m]12> illiliti: I think /lib and /usr/lib are pretty much guaranteed to be present in dynlink search path on any system -- so adding ignoring rpath of these 2 values should cover most of the cases, and others like lib32 lib64 or x86*linux* or whatever can be treated as edge cases that we can't handle [2022-09-10T14:30:08Z] <testuser[m]12> https://github.com/wbx-github/uclibc-ng/blob/master/ldso/ldso/dl-elf.c#L337-L338 [2022-09-10T14:30:09Z] <testuser[m]12> https://github.com/bminor/musl/blob/master/ldso/dynlink.c#L1118 [2022-09-10T14:33:23Z] <illiliti> it's not edge cases [2022-09-10T14:33:43Z] <illiliti> it's quite common cases [2022-09-10T14:38:19Z] <testuser[m]12> https://www.unix.com/man-page/freebsd/1/ld.so/ [2022-09-10T14:38:32Z] <testuser[m]12> > The /lib and /usr/lib directories [2022-09-10T14:45:06Z] <illiliti> glibc has /usr/lib/x86_64-linux-gnu [2022-09-10T14:45:13Z] <illiliti> illumos/solaris has /usr/lib/{64,32} [2022-09-10T14:45:22Z] <illiliti> also /usr/ccs/lib [2022-09-10T14:45:47Z] <illiliti> and /usr/lib/<arch> [2022-09-10T14:46:12Z] <illiliti> e.g /usr/lib/amd64 [2022-09-10T14:49:04Z] <testuser[m]12> https://github.com/openbsd/src/blob/master/libexec/ld.so/library_subr.c#L42 netbsd and openbsd only have /usr/lib but that's just cuz /lib doesn't even exist [2022-09-10T14:49:08Z] <testuser[m]12> https://www.netbsd.org/docs/pkgsrc/files.html [2022-09-10T14:49:13Z] <testuser[m]12> https://man.openbsd.org/hier [2022-09-10T14:58:36Z] <illiliti> if hardcoding something non-portable is the only option, then better off resorting to hacks [2022-09-10T14:59:10Z] <illiliti> note that kiss doesn't assume /usr [2022-09-10T14:59:21Z] <illiliti> hardcoding /usr/lib would make it so [2022-09-10T14:59:45Z] <illiliti> can we get this path at runtime? [2022-09-10T14:59:57Z] <illiliti> you said something about INTERP before [2022-09-10T15:11:10Z] <illiliti> actually i feel this is wrong direction towards proper fix [2022-09-10T15:12:14Z] <illiliti> this is still a fix yeah, but it isn't good [2022-09-10T15:14:25Z] <illiliti> i'll try to find some time to fully dive into it [2022-09-10T15:14:38Z] <illiliti> too busy rn tbh [2022-09-10T19:43:36Z] <noocsharp> illiliti: send to ml or me directly, either works [2022-09-10T19:44:02Z] <noocsharp> i'll make a new release too [2022-09-10T22:20:42Z] <rohan> yo guys [2022-09-10T22:20:57Z] <rohan> someone know a solution to use arduino on kiss? [2022-09-10T22:25:16Z] <phinxy> avr-gcc? [2022-09-10T22:26:28Z] <phinxy> avr-gcc is available for Alpine at least.