2024-08-22
00:29chadmed_both of which could probably be upstreamed into ::gentoo quick-smart after some incubation time in ::asahi
02:04abbe has joined #asahi-alt
02:20ipatch has joined #asahi-alt
03:02jeisom has quit [Ping timeout: 480 seconds]
03:57chadmed_ has quit [Remote host closed the connection]
04:08dcavalca85 has joined #asahi-alt
04:08dcavalca8 has quit [Read error: Connection reset by peer]
06:33xal has quit [Quit: bye]
06:33xal has joined #asahi-alt
06:42chaos_princesschadmed: at least for now, fmt must be vendored, it already is in ::gentoo, but iirc it is not slotted and the version that fex wants breaks dolphin.
06:58chaos_princessWe need a x86 compiler on arm64 host to compile them
07:09chaos_princessA set of libraries that allow redirecting calls into x86 libraries to arm64 ones
07:10chaos_princesswe want them because running native arm code is faster than emulating x86 versions of system libraries
07:11chaos_princessFex is a x86 emulator for arm, the main purpose is games, but not neccessarily
07:12chaos_princessPretty much.
07:13chaos_princessGlibc too?
07:14chaos_princessNot super sure about fex, but i am making another thing that needs an x86 compiler and that one does need glibc
07:14sam_you should copy mingw64-toolchain if needing that runtime component (as it has an equivalent, whereas we didn't need that for bpf)
07:48chaos_princessguess i will try building them with clang since that is an option and fex requires clang anyway
08:09n3ph has joined #asahi-alt
08:56n3ph has quit [Quit: WeeChat 4.3.4]
08:56n3ph has joined #asahi-alt
09:03n3ph has quit [Quit: WeeChat 4.3.4]
09:05n3ph has joined #asahi-alt
09:11zerdox has joined #asahi-alt
09:17chaos_princess has quit [Quit: chaos_princess]
09:18chaos_princess has joined #asahi-alt
09:25n3ph has joined #asahi-alt
09:25n3ph has quit [Quit: WeeChat 4.3.4]
09:31n3ph has quit [Quit: WeeChat 4.3.4]
09:31n3ph has joined #asahi-alt
10:05n3ph has quit [Ping timeout: 480 seconds]
10:12n3ph has joined #asahi-alt
10:21zerdox has quit [Ping timeout: 480 seconds]
10:27noisycoil has joined #asahi-alt
10:28noisycoil has left #asahi-alt [#asahi-alt]
10:37chadmedchaos_princess: that was going to be my third less-gross option. just enforce LLVM_TARGETS: AMD64 X86 (or whatever we need) and pass --target=x86_64-unknown-linux-gnu to clang and let it do it
10:38chadmedi did the reverse for distcc when i had an amd64 build host and pissant arm64 SBCs and it worked a treat
10:40chaos_princessyes, and also llvm_targets has an amazing footgun for people who use clang as system compiler
10:41chaos_princessso, just do not touch it
10:41chadmed*/* LLVM_TARGETS: -AMDGPU -ARM -ARC -AVR -Hexagon -Lanai -LoongArch -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -VE -X86 -XCore
10:41chadmedbut on a normal system not maintained by a moronic goon we can expect AMD64 and X86 to be there so no worries
10:49chadmedand chaos_princess might have to fix tiny-dfr to deal with the new cargo.eclass stuff unless that got dealt with as part of that series
10:50chaos_princessdo i need too? i do not have any special code in src_install, so the eclass should just work (tm)?
10:53chadmedjust thinking about possible runtime abnormalities that might arise from using gcc-built clang to build the thunks
10:58jeisom has joined #asahi-alt
11:02sam_but there were definitely a bunch of LLVM consumers who were greedily using all targets via CMake
11:03chaos_princessits something involving rust, and also if you drop a llvm_target, and your main compiler is clang, it just straight up breaks your compiler
11:03sam_it sucks pretty hard because most people obviously dont need anything but the native target but there were definitely some things which were using anything available, or even *needing* everything (like zig?) and disabling it broke
11:04chadmedthat seems like something that is both really silly and could be fixed by those projects
11:06sam_(I consider the two as slightly different but maybe they're really the same cause as well, I don't know, I just never looked into it)
11:07j`eychadmed: that was annoying when I built zig recently on my air, had to rebuild LLVM because zig needs all targets
11:07chaos_princessthe second one is slightly worse, since it is not fixed by the current approach. right now some extra exotic stuff like xtensa is not enabled, and if you enable and then disable it, rip clang
11:09chadmedwe have a path forward that doesnt involve me hosting anything on my jank ass residential connection
11:09chaos_princesswhat exactly do you want to host
11:10chaos_princessand how much are you willing to abuse free^W vc-funded infra?
11:11chaos_princesswrap the build in a docker container, upload it to ghcr.io, pull only the final layer's tarball in the ebuild
11:18chaos_princessi've heard that back in the day people put pirated movies in a docker container and used docker's registry to distribute them, so my idea is comparatively tame
12:34jeisom has quit [Quit: Leaving]
12:35jeisom has joined #asahi-alt
12:45jeisom has quit [Remote host closed the connection]
12:46jeisom has joined #asahi-alt
12:58jeisom has quit [Remote host closed the connection]
13:04jeisom has joined #asahi-alt
13:07r0ni has joined #asahi-alt
13:34jeisom_ has joined #asahi-alt
13:34jeisom has quit [Read error: Connection reset by peer]
14:08john-cabaj has joined #asahi-alt
14:46n3ph has quit [Ping timeout: 480 seconds]
15:24JayBeeFOSS has quit [Ping timeout: 480 seconds]
15:25JayBeeFOSS has joined #asahi-alt
17:12mps has quit [Quit: leaving]
17:14mps has joined #asahi-alt
17:31jeisom_ has quit [Ping timeout: 480 seconds]
18:36zerdox has joined #asahi-alt
19:22psykose has quit [Remote host closed the connection]
19:24psykose has joined #asahi-alt
20:19jeisom_ has joined #asahi-alt
21:31n3ph has joined #asahi-alt
22:23chaos_princessmispaste, ignore me
22:41MichaelLong has quit [Remote host closed the connection]
22:42MichaelLong has joined #asahi-alt
23:06zerdox has quit [Remote host closed the connection]