2024-08-27
00:00chaos_princessProbably libc++ or something in gcc stage 2
00:48chadmed_ has joined #asahi-alt
01:00KxCORP5894000 has quit [Quit: Bye!]
01:00KxCORP5894000 has joined #asahi-alt
01:13chadmed_seems to be passing the lib build with no toolchain overrides but idk what this is going to do at runtime...
01:51chadmed_var/tmp/portage/app-emulation/FEX-2408/work/FEX-FEX-2408/ThunkLibs/GuestLibs/../libVDSO/Types.h:2:10: fatal error: 'cstdint' file not found
01:56runxiyui'm running Jared's gentoo install, and everything seems great, though i would want to ask whether people had luck with the openrc stage3's
02:47chadmed_no nvm libstdc++ does exist because i can compile cpp code with the toolchain, the fex ebuild just doesnt know where it is or something
04:41chadmed_ has quit [Remote host closed the connection]
04:49chadmed has quit [Quit: Konversation terminated!]
04:49chadmed has joined #asahi-alt
05:02aead has quit [Remote host closed the connection]
05:07aead has joined #asahi-alt
05:19Juest is now known as Guest1590
05:19Juest has joined #asahi-alt
05:25Guest1590 has quit [Ping timeout: 480 seconds]
05:29runxiyuI never did Asahi Gentoo before and I'm a bit scared (lol) so I'm following Jared's systemd guide for now
05:29runxiyuI'll switch it next reinstall when I get familiar enough with the initramfs-making process
05:30chadmed_ has joined #asahi-alt
05:31chadmed_runxiyu: jared's guide is now really outdated as we have moved to a new method where i publish uefi bootable installcds so if it still works its only by fluke
05:37chadmed_ has quit [Quit: Page closed]
05:37opticron has quit [Read error: Connection reset by peer]
05:37opticron has joined #asahi-alt
05:56aead has quit [Remote host closed the connection]
05:57aead has joined #asahi-alt
06:40runxiyuAlso, "From here, you can simply follow the Gentoo Handbook for amd64, stopping only when it is time to install a kernel." almost made me unpack an amd64 stage3 ._.
06:41chaos_princessSo, thunks use kind of an insane build process where they use host headers for compiling x86 code. And i guess llvm systems install them in a different place to gcc ones
06:43chaos_princessWhere even _is_ cstdint on a llvm system?
06:43chadmedyeah i assume thats whats going on because thunkgen is just exploding in some random place and then throwing "cant find blah blah blah header" errors
06:54chaos_princessCan you manually run the failing thunkgen command and add --verbose to it?
06:54chaos_princess(thunkgen is a clang plugin(?) and should accept clang flags)
06:55chaos_princessthere should be some way to make it print what places it searches for headers in
06:58zerdox has joined #asahi-alt
06:58chadmed /var/tmp/portage/app-emulation/FEX-2408/work/FEX-FEX-2408/ThunkLibs/GuestLibs/../include
06:59chaos_princessAnd host clang?
07:02chaos_princessNo, no need for now
07:02chaos_princessjust tell me which places it searches when compiling arm 64 code
07:10chaos_princesscan you grep for gcc inside /etc/clang
07:11chadmedjust the standard stuff gentoo installs, the only non comment is --gcc-install-dir="/usr/lib/gcc/aarch64-unknown-linux-gnu/14"
07:12chaos_princessOk, and now take that thing and add it to tunkgen flags
07:15chaos_princessWell, now to find out how to do it automatically i guess
07:15chaos_princesswhich file was the flag in?
07:17chadmedi have a bunch of other overrides locally that made it work here that _should_ keep working on pure gcc systems (just explicitly specifying flags and such instead of using whatever portage gives us)
07:18chaos_princessWell, we can't patch the flag itself, since it is dependent on gcc version, but we can fish it out of that file and pass it that way
07:19zerdox_ has joined #asahi-alt
07:19chaos_princessWhich other overrides did you have to pass?
07:21chadmedthe thunks toolchain cmake file bit might not be necessary now that was just me bumming around
07:22zerdox has quit [Ping timeout: 480 seconds]
07:23zerdox_ is now known as zerdox
07:24chaos_princessWhy did you change X86_CFLAGS, what went wrong there?
07:25chaos_princessWell, yea, that's the idea
07:25flokli has quit [Ping timeout: 480 seconds]
07:26chaos_princessIt should have filtered out the ones that break it with that line.
07:26chaos_princessWhich one did it fail to catch?
07:27chaos_princessyes, that would do it
07:28chadmedi would prefer if we had a gitlab or forgejo or something that we control but it is what it is
07:33chaos_princessadd --config=/path/to/that/file to thunkgen flags
07:38flokli has joined #asahi-alt
07:48chaos_princesswould you apply your changes yourself or do you want me to do it?
07:49chaos_princessthey probably won't
07:49chaos_princessjust replace the hardcoded triples with ${CTARGET} in the glibc export block and tentative lgtm
07:49chaos_princessi will check on my gcc system a bit later
07:51chaos_princessthey have a branch that at least will stop it from randomly failing from start with EEXIST
07:52chaos_princessyep, but that's a passt bug, downgrade it and it will work
07:53chaos_princessor do `echo 'nameserver 8.8.8.8' >/etc/resolv.conf` inside the vm and it should also work
08:01zerdox_ has joined #asahi-alt
08:03zerdox has quit [Ping timeout: 480 seconds]
08:05zerdox_ is now known as zerdox
08:20n3ph has joined #asahi-alt
09:00nst_ has quit [Ping timeout: 480 seconds]
09:10nst has joined #asahi-alt
09:13n3ph has quit [Ping timeout: 480 seconds]
09:20n3ph has joined #asahi-alt
10:07Dan___ has joined #asahi-alt
10:29n3ph has quit [Ping timeout: 480 seconds]
10:49n3ph has joined #asahi-alt
10:59n3ph has quit [Ping timeout: 480 seconds]
11:51Dan___ has quit [Ping timeout: 480 seconds]
11:55n3ph has joined #asahi-alt
12:12chaos_princesschadmed: CTARGET already includes multilib-linux-gnu, it should be ${CTARGET}-gcc here https://github.com/chadmed/asahi-overlay/commit/7a9cfb950f2d3fe9d736fb96a7fc356646027513#diff-ba6834964aeea9ed7b6f08ace5d3c6a8587c9b8e39e75c752d17a7c46a6404f1R257
12:12n3ph has quit [Ping timeout: 480 seconds]
12:18zerdox has quit [Ping timeout: 480 seconds]
12:20chaos_princessthe if block around that patch is not useful, gcc systems also have that file in /etc/clang
12:20chaos_princesshttps://github.com/chadmed/asahi-overlay/commit/c558b2842153698444f636ee2eeca8891bb46c1b#diff-9c879a1aedb42acb15d9a6142ed55b5745d9e659b240efd5f29f94acd15f5c15R259
12:22chaos_princessidk, fired off the compiles on my gcc system, we will know in like 15 mins
12:23chadmedlast trick if we want to tackle it would be amd64 mesa but meson's cross compilation system is thoroughly deranged and i dont want to touch it
12:23chadmedand also hopefully the asahi mesa just ends up vendored by either the fedora rootfs or a fex-blessed one
12:24chaos_princessfor rootfs, i kinda want to build a "steam-nano" one. Just enough libraries to start steam, and then use everything from steam runtime
12:25chaos_princessnot yet
12:26chaos_princesskrun installs binfmt handlers in the nested vm, but on host we need krun's launcher handlers
12:26chaos_princessand i do not want to "ship" krun yet
12:37zerdox has joined #asahi-alt
12:44chaos_princessconfirming that it all builds on gcc
12:54chaos_princessthat might actually be bad, they could be generating that tarball on the fly and we might need to mirror it
13:00n3ph has joined #asahi-alt
13:15chaos_princessill mirror the sommelier subtree to gh
13:16minecrell7544 has quit []
13:17minecrell7544 has joined #asahi-alt
13:26ipatch has quit [Ping timeout: 480 seconds]
13:50n3ph has quit [Ping timeout: 480 seconds]
14:00n3ph has joined #asahi-alt
14:06john-cabaj has joined #asahi-alt
14:20runxiyuCan I just follow https://wiki.gentoo.org/wiki/Power_management/Guide or are there peculiarities about power management here?
14:23r0ni has quit [Ping timeout: 480 seconds]
14:29n3ph has quit [Ping timeout: 480 seconds]
16:53hightower2 has quit [Ping timeout: 480 seconds]
17:08n3ph has joined #asahi-alt
17:28n3ph has quit [Ping timeout: 480 seconds]
17:57DannyB has joined #asahi-alt
18:03hightower2 has joined #asahi-alt
18:16DannyB has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
18:19DannyB has joined #asahi-alt
18:56harryheres has joined #asahi-alt
19:09r0ni has joined #asahi-alt
19:21zerdox has quit [Remote host closed the connection]
19:23zerdox has joined #asahi-alt
19:24chadmed has quit [Quit: Konversation terminated!]
19:24chadmed has joined #asahi-alt
19:28nela has quit [Quit: Ping timeout (120 seconds)]
19:29nela has joined #asahi-alt
19:56zerdox has quit [Remote host closed the connection]
19:58zerdox has joined #asahi-alt
20:05KxCORP5894000 has quit [Quit: Bye!]
20:06KxCORP5894000 has joined #asahi-alt
20:10zerdox has quit [Ping timeout: 480 seconds]
20:12zerdox has joined #asahi-alt
20:16n3ph has joined #asahi-alt
20:19hightower2 has quit [Remote host closed the connection]
20:19hightower2 has joined #asahi-alt
20:23harryheres has quit [Remote host closed the connection]
20:29n3ph_ has joined #asahi-alt
20:29n3ph has quit [Ping timeout: 480 seconds]
20:43Dan___ has joined #asahi-alt
20:53n3ph_ has quit [Read error: No route to host]
21:05minecrell7544 has quit []
21:05minecrell has joined #asahi-alt
21:28SalimTer- has joined #asahi-alt
21:29SalimTerryLi has quit [Ping timeout: 480 seconds]
22:38john-cabaj has quit [Ping timeout: 480 seconds]
22:39zerdox has quit [Ping timeout: 480 seconds]
23:17JayBeeFOSS has quit [Ping timeout: 480 seconds]
23:18JayBeeFOSS has joined #asahi-alt