#
…

2024-08-25

00:18chadmedffs why is $(get_libdir) returning lib64 in crossdev when the libs get installed to lib
00:27Dan___ has joined #asahi-alt
00:31chaos_princesswhich package
00:33chadmedgcc stage 1
00:33chadmedits also pulling aarch64-unknown-linux-gnu into ${ED} so i think its getting confused with the host portage?
00:34chaos_princessif it is from crossdev itself then i think lib64 is right
00:35Dan___ has quit [Ping timeout: 480 seconds]
00:35chadmedthe files it's trying to stat are in ${ED}/usr/lib though so something is dodgy
00:36chadmedis it expecting USE=multilib or something
01:46sam_oh not this bs again..
02:04chadmedwas it something i said :p
02:06sam_you know I wouldn't say that about something a person said :)
02:06sam_more that the bug is really irritating
02:06sam_first there's bug 794181
02:06sam_but i was thinking of bug 908455
02:07chadmedyeah im hitting that second one
02:07chadmedlet me try with --abis 'amd64 x86'
02:07sam_(it's the same root cause, I think, but what I don't get is why it ever worked)
02:08sam_oh no I think I know why lmao
02:08sam_it must have been in one of my many toolchain.eclass cleanups
02:08sam_where I added || die
02:08sam_and it never worked, just nobody noticed
02:08chadmedlmfao so previously it was just silently not doing anything
02:09chadmedwell judging by random emails i sometimes receive i feel like we have way more users than we think
02:09chadmedso this is gonna have to work properly :p
02:09chadmedyup still fails with --abis 'amd64 x86' smdh
02:10sam_I think a glob is good enough there
02:10sam_better than now, anyway
02:10sam_can you test it and send a patch?
02:11chadmedtest what?
02:12sam_glob instead of get_libdir?
02:13chadmedoh right yeah patch the eclass one sec
02:14sam_also, frankly
02:14sam_i think the fight for non-flat libdir is over
02:14sam_we tried it with riscv
02:14sam_it didnt work
02:14sam_way too much shit broke
02:14sam_($(get_libdir) is useful especially where you have like, lib/libFUCKMEABI)
02:15chadmedi didnt even realise we werent symlinking lib to lib64 tbh
02:32chadmedlfg that worked
02:34chadmedoh this is completely fucked and broken
02:34chadmedit unions the host portage but does not respect package.env are you serious
02:35chadmedchecking for x86_64-unknown-linux-gnu-gcc... clang -m64 -fuse-ld=lld -Wl,--as-needed -Wl,-O3 -Wl,-zrelro -Wl,-zpack-relative-relocs -Wl,--undefined-version
02:35chadmedjust.... why
03:23chadmednone of this has been tested by anyone not on a stock standard amd64 gentoo machine has it far out
03:23chadmedglibc cant find prctl.h because its looking at the host headers -.-
03:24chadmedwe cannot use this as a solution for installing thunks its deranged
03:24chadmedat least not in the state its in
03:29chadmedif clang doesnt work at all then we can either build them on an amd64 machine and host them somewhere or just pinch them out of the fedora rpm
03:54zerdox has quit [Ping timeout: 480 seconds]
06:20chaos_princessAre you trying to make clang work?
06:22chadmedno im just trying to get crossdev to set up amd64/gcc
06:23chaos_princessAnd it is failing?
06:23chadmedissue seems to be that amd64 glibc expects <asm/prctl.h> in /usr/include/ which is not the case for arm64 and it is not looking in /usr/${CHOST}/usr/include/
06:24chaos_princessFor me setting up x86 and amd64 gccs was as simple as just running the crossdev commands so i am kinda confused as to what went wrong with yours
06:24chadmedyeah idk
06:29chadmedcould be crossdev being intolerant of clang as the host system compiler but ive got my gcc env override set for cross-x86_64-unknown-linux-gnu/* (and an explicit amd64 one for glibc) and it still explodes
06:38chadmedi filed a bug about it, it does seem to be related to ^
06:39chadmedi might need something special in env
07:07n3ph has joined #asahi-alt
07:26sam_i think explicitly setting CC confuses crossdev
08:17flokli has quit [Quit: WeeChat 4.3.5]
08:17flokli has joined #asahi-alt
09:04n3ph has quit [Ping timeout: 480 seconds]
09:24zerdox has joined #asahi-alt
10:03chadmedi tried putting CC="" and unset CC (and the rest of the toolchain) in an env but it did nothing
10:07sam_I'm not sure unset works in env
10:07sam_anyway that's a known issue I'm not yet sure how to fix
10:14chadmedhmmm yeah okay
10:15chadmedin any case i dont think we can really ship anything that hard depends on this working tbh
10:16chadmedso i think at least in the short term we should probably just do surgery on the fedora rpm with the thunklibs in it
10:17chadmedor better yet just pinch the rootfs wholesale if it already has the thunks loaded in
10:17zerdox has quit [Ping timeout: 480 seconds]
10:18chadmedanyway building the kernel witl clang works again, it was just CONFIG_DEBUG_INFO_BTF
10:26zerdox has joined #asahi-alt
10:46zerdox has quit [Ping timeout: 480 seconds]
11:02zerdox has joined #asahi-alt
11:05u154ss has joined #asahi-alt
11:09u154ss@all maybe I have overseen something. Using Debian, since asahi-6.10.3-1, when I do a kernel build (make -j8 LLVM=-17 OR LLVM=-18 bindeb-pkg) initrd is not being built. I have changed nothing in my .config. Anyone else experiencing this? asahi-6.10.3-1 works, i.e. initrd builds.
11:53Dan___ has joined #asahi-alt
12:04Dan___ has quit [Ping timeout: 480 seconds]
13:12u154ss has quit [Remote host closed the connection]
13:20Dementor9 has joined #asahi-alt
15:44Dan___ has joined #asahi-alt
16:13r0r0 has joined #asahi-alt
16:13r0r0 has quit [Read error: Connection reset by peer]
16:20KxCORP589400 has joined #asahi-alt
16:21allmazz has joined #asahi-alt
16:28allmazz has quit [Remote host closed the connection]
16:29Dan___ has quit [Ping timeout: 480 seconds]
16:30allmazz has joined #asahi-alt
16:41Dan___ has joined #asahi-alt
16:41n3ph has joined #asahi-alt
16:49Dan___ has quit [Ping timeout: 480 seconds]
16:52n3ph has quit [Quit: WeeChat 4.3.4]
16:53n3ph has joined #asahi-alt
17:12opticron has quit [Remote host closed the connection]
17:12opticron has joined #asahi-alt
17:30zerdox has quit [Ping timeout: 480 seconds]
17:38KxCORP589400 has quit [Quit: Bye!]
17:38zerdox has joined #asahi-alt
17:45zerdox has quit [Remote host closed the connection]
17:46KxCORP589400 has joined #asahi-alt
17:47zerdox has joined #asahi-alt
17:59Dan___ has joined #asahi-alt
18:02JayBeeFOSS has quit [Ping timeout: 480 seconds]
18:03JayBeeFOSS has joined #asahi-alt
18:09n3ph has quit [Ping timeout: 480 seconds]
18:12n3ph has joined #asahi-alt
18:21glem810 has joined #asahi-alt
18:24n3ph has quit [Ping timeout: 480 seconds]
18:41Dan___ has quit [Ping timeout: 480 seconds]
18:44n3ph has joined #asahi-alt
19:07zerdox has quit [Remote host closed the connection]
19:09zerdox has joined #asahi-alt
19:16Dan___ has joined #asahi-alt
19:18KxCORP589400 has quit [Quit: Bye!]
19:22zerdox has quit [Remote host closed the connection]
19:24zerdox has joined #asahi-alt
19:24donier has joined #asahi-alt
19:24donier has quit []
19:25KxCORP589400 has joined #asahi-alt
19:45Dan___ has quit [Ping timeout: 480 seconds]
19:46nela has quit [Ping timeout: 480 seconds]
19:53nela has joined #asahi-alt
20:05ipatch has quit [Quit: WeeChat 4.4.0]
20:07ipatch has joined #asahi-alt
20:18allmazz has quit [Quit: allmazz]
20:37n3ph_ has joined #asahi-alt
20:40n3ph has quit [Ping timeout: 480 seconds]
21:05cy8aer@irc_oftc_u154ss:g3la.de: Still no problems. Beware that the initrd building is done at installation time with a postinstall hook. "/etc/kernel/postinst.d/initramfs-tools". You may try to build the initrd "by hand" or via "update-initramfs" to see if there are problems on building the intrd
21:09cy8aerand for orientation: these are my main config diffs to default: https://git.g3la.de/repos/m1-debian/src/branch/baer/config.txt
21:41n3ph_ has quit [Ping timeout: 480 seconds]
22:19zerdox has quit [Ping timeout: 480 seconds]
22:50Leo3418 has quit [Quit: Applying updates]
22:51Leo3418 has joined #asahi-alt
23:17Juest has quit [Ping timeout: 480 seconds]
23:37Juest has joined #asahi-alt
…