💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2023-08-06.txt captured on 2023-09-08 at 17:01:12.
-=-=-=-=-=-=-
[2023-08-06T07:46:59Z] <ehawkvu> illiliti: emacs 29.1 for community - https://0x0.st/H_Hy.PGgLFC [2023-08-06T08:13:16Z] <illiliti> what does esources file do? [2023-08-06T08:13:27Z] <illiliti> > # Determine whether we are the -nox package or not... [2023-08-06T08:14:21Z] <illiliti> i wouldn't do it [2023-08-06T08:15:57Z] <illiliti> also isn't ./configure script smart enough to make all these pkg-config checks without assistance? [2023-08-06T08:16:46Z] <ehawkvu> the esources file is my own thing - i can rm that [2023-08-06T08:17:14Z] <ehawkvu> and the configure script does *not* check for libgccjit automatically so that option at least has to stay [2023-08-06T08:17:34Z] <ehawkvu> and fair enough on the -nox check, i figured if i could share the build script i should [2023-08-06T08:19:15Z] <ehawkvu> more context on esources: https://github.com/ehawkvu/kiss-personal/blob/master/bin/kiss-echecksum [2023-08-06T08:20:00Z] <ehawkvu> i've been using it to much success over in kiss-xorg [2023-08-06T08:23:35Z] <illiliti> i'm kinda against using kiss in build scripts, so if there is a more agnostic way to check for it please remove kiss in favor of it [2023-08-06T08:25:09Z] <ehawkvu> hmm [2023-08-06T08:25:16Z] <illiliti> esources file - sorry but non standard extensions are definitely no go [2023-08-06T08:30:39Z] <ehawkvu> illiliti: figured that [2023-08-06T08:31:29Z] <illiliti> if there is no better way to check for libgccjit don't bother. i won't block your patch because of that [2023-08-06T08:32:57Z] <ehawkvu> I have a hacky solution - https://0x0.st/H_H0.mMbaJM [2023-08-06T08:33:16Z] <ehawkvu> When you compile and run that it'll tell you whether or not libgccjit is installed [2023-08-06T08:33:23Z] <ehawkvu> but I really don't like it lol [2023-08-06T08:36:06Z] <illiliti> me too [2023-08-06T08:36:27Z] <illiliti> i feel it could be simplified but not sure how [2023-08-06T08:37:01Z] <ehawkvu> Here's the manifest of libgccjit - https://0x0.st/H_H5.BBAJaj [2023-08-06T08:40:03Z] <ehawkvu> also should -nox be committed? I don't mind adding it but i think most ppl will be using the gui version anyways [2023-08-06T08:42:03Z] <illiliti> yeah we shouldn't rely on the fact that it's exists in /usr/lib [2023-08-06T08:43:14Z] <illiliti> personally i think that -nox is redundant because we have kiss-fork which can be used to tweak package how you like [2023-08-06T08:43:30Z] <ehawkvu> right [2023-08-06T08:45:57Z] <illiliti> case $("$CC" -print-file-name=libgccjit.so) in */*) [2023-08-06T08:48:19Z] <illiliti> basically if $CC produces output with path, then library exists. if no, then doesn't exist [2023-08-06T08:48:26Z] <illiliti> we use this trick in main repo, so there is nothing wrong to use it in community as well [2023-08-06T08:48:33Z] <ehawkvu> sweet [2023-08-06T08:48:47Z] <ehawkvu> should I just check for the exit code? [2023-08-06T08:49:14Z] <illiliti> no, you should check output. exit code should be ignored [2023-08-06T08:49:27Z] <ehawkvu> ok [2023-08-06T08:51:17Z] <illiliti> https://codeberg.org/kiss-community/repo/src/branch/master/extra/rust/build#L118 [2023-08-06T08:54:17Z] <ehawkvu> new patch - https://0x0.st/H_Xr.FCecjj [2023-08-06T08:54:28Z] <ehawkvu> also ty illiliti [2023-08-06T09:09:31Z] <illiliti> merged, thanks! [2023-08-06T09:10:32Z] <illiliti> btw why emacs is so prone to segfaults as you noted in build script? [2023-08-06T09:13:28Z] <ehawkvu> that is something I have been trying to find out myself tbh [2023-08-06T09:14:16Z] <ehawkvu> based off of what ive read in the repo & my own testing, all of the segfaults [2023-08-06T09:14:23Z] <ehawkvu> happen with the executable `temacs' [2023-08-06T09:14:46Z] <ehawkvu> which, from what I understand, is the pure C version that is used to bootstrap the full elisp version [2023-08-06T09:15:03Z] <ehawkvu> but for some reason, that C version is very picky with how it likes to be built [2023-08-06T09:15:42Z] <ehawkvu> i remember reading the ASLR stuff in etc/PROBLEMS [2023-08-06T09:17:07Z] <ehawkvu> lol: https://github.com/emacs-mirror/emacs/blob/1e8322bb26e4945de460780168732250bbd083d0/configure.ac#L6524 [2023-08-06T09:17:11Z] <ehawkvu> apparently they don't know either [2023-08-06T09:17:12Z] <ehawkvu> lmao [2023-08-06T09:20:19Z] <illiliti> amazing shit [2023-08-06T09:21:23Z] <ehawkvu> what's even better is that you can build with -O3 -march=native if you use clang [2023-08-06T09:21:45Z] <ehawkvu> I haven't tested trying to use -flto though [2023-08-06T09:21:54Z] <ehawkvu> that may be the breaking point [2023-08-06T09:22:25Z] <ehawkvu> and iirc it doesn't require the -no-pie flag [2023-08-06T21:43:33Z] <zlib> hi my favorite people i have a really niche question about kexec and heads if anyone knows about it? i tried asking in coreboot but nobody knew at all [2023-08-06T22:52:53Z] <zlib> never mind the lovely reddit man helped x