ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
<chadmed> ffs why is $(get_libdir) returning lib64 in crossdev when the libs get installed to lib
Dan___ has joined #asahi-alt
<chaos_princess> which package
<chadmed> gcc stage 1
<chadmed> its also pulling aarch64-unknown-linux-gnu into ${ED} so i think its getting confused with the host portage?
<chaos_princess> if it is from crossdev itself then i think lib64 is right
Dan___ has quit [Ping timeout: 480 seconds]
<chadmed> the files it's trying to stat are in ${ED}/usr/lib though so something is dodgy
<chadmed> is it expecting USE=multilib or something
<sam_> oh not this bs again..
<chadmed> was it something i said :p
<sam_> you know I wouldn't say that about something a person said :)
<sam_> more that the bug is really irritating
<sam_> first there's bug 794181
<sam_> but i was thinking of bug 908455
<chadmed> yeah im hitting that second one
<chadmed> let me try with --abis 'amd64 x86'
<sam_> (it's the same root cause, I think, but what I don't get is why it ever worked)
<sam_> oh no I think I know why lmao
<sam_> it must have been in one of my many toolchain.eclass cleanups
<sam_> where I added || die
<sam_> and it never worked, just nobody noticed
<chadmed> lmfao so previously it was just silently not doing anything
<sam_> yep
<chadmed> well judging by random emails i sometimes receive i feel like we have way more users than we think
<chadmed> so this is gonna have to work properly :p
<chadmed> yup still fails with --abis 'amd64 x86' smdh
<sam_> I think a glob is good enough there
<sam_> better than now, anyway
<sam_> can you test it and send a patch?
<chadmed> test what?
<sam_> glob instead of get_libdir?
<sam_> lib*
<chadmed> oh right yeah patch the eclass one sec
<sam_> also, frankly
<sam_> i think the fight for non-flat libdir is over
<sam_> we tried it with riscv
<sam_> it didnt work
<sam_> way too much shit broke
<sam_> ($(get_libdir) is useful especially where you have like, lib/libFUCKMEABI)
<chadmed> i didnt even realise we werent symlinking lib to lib64 tbh
<chadmed> lfg that worked
<chadmed> oh this is completely fucked and broken
<chadmed> it unions the host portage but does not respect package.env are you serious
<chadmed> checking 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
<chadmed> just.... why
<chadmed> none of this has been tested by anyone not on a stock standard amd64 gentoo machine has it far out
<chadmed> glibc cant find prctl.h because its looking at the host headers -.-
<chadmed> we cannot use this as a solution for installing thunks its deranged
<chadmed> at least not in the state its in
<chadmed> if 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
zerdox has quit [Ping timeout: 480 seconds]
<chaos_princess> Are you trying to make clang work?
<chadmed> no im just trying to get crossdev to set up amd64/gcc
<chaos_princess> And it is failing?
<chadmed> issue 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/
<chaos_princess> For 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
<chadmed> yeah idk
<chadmed> could 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
<chadmed> i filed a bug about it, it does seem to be related to ^
<chadmed> i might need something special in env
n3ph has joined #asahi-alt
<sam_> i think explicitly setting CC confuses crossdev
flokli has quit [Quit: WeeChat 4.3.5]
flokli has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
<chadmed> yeah :/
<chadmed> i tried putting CC="" and unset CC (and the rest of the toolchain) in an env but it did nothing
<sam_> I'm not sure unset works in env
<sam_> anyway that's a known issue I'm not yet sure how to fix
<chadmed> hmmm yeah okay
<chadmed> in any case i dont think we can really ship anything that hard depends on this working tbh
<chadmed> so i think at least in the short term we should probably just do surgery on the fedora rpm with the thunklibs in it
<chadmed> or better yet just pinch the rootfs wholesale if it already has the thunks loaded in
zerdox has quit [Ping timeout: 480 seconds]
<chadmed> anyway building the kernel witl clang works again, it was just CONFIG_DEBUG_INFO_BTF
zerdox has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
u154ss has joined #asahi-alt
<u154ss> @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.
Dan___ has joined #asahi-alt
Dan___ has quit [Ping timeout: 480 seconds]
u154ss has quit [Remote host closed the connection]
Dementor9 has joined #asahi-alt
Dan___ has joined #asahi-alt
r0r0 has joined #asahi-alt
r0r0 has quit [Read error: Connection reset by peer]
KxCORP589400 has joined #asahi-alt
allmazz has joined #asahi-alt
allmazz has quit [Remote host closed the connection]
Dan___ has quit [Ping timeout: 480 seconds]
allmazz has joined #asahi-alt
Dan___ has joined #asahi-alt
n3ph has joined #asahi-alt
Dan___ has quit [Ping timeout: 480 seconds]
n3ph has quit [Quit: WeeChat 4.3.4]
n3ph has joined #asahi-alt
opticron has quit [Remote host closed the connection]
opticron has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
KxCORP589400 has quit [Quit: Bye!]
zerdox has joined #asahi-alt
zerdox has quit [Remote host closed the connection]
KxCORP589400 has joined #asahi-alt
zerdox has joined #asahi-alt
Dan___ has joined #asahi-alt
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
glem810 has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
Dan___ has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
zerdox has quit [Remote host closed the connection]
zerdox has joined #asahi-alt
Dan___ has joined #asahi-alt
KxCORP589400 has quit [Quit: Bye!]
zerdox has quit [Remote host closed the connection]
zerdox has joined #asahi-alt
donier has joined #asahi-alt
donier has quit []
KxCORP589400 has joined #asahi-alt
Dan___ has quit [Ping timeout: 480 seconds]
nela has quit [Ping timeout: 480 seconds]
nela has joined #asahi-alt
ipatch has quit [Quit: WeeChat 4.4.0]
ipatch has joined #asahi-alt
allmazz has quit [Quit: allmazz]
n3ph_ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
<cy8aer> @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
<cy8aer> and for orientation: these are my main config diffs to default: https://git.g3la.de/repos/m1-debian/src/branch/baer/config.txt
n3ph_ has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
Leo3418 has quit [Quit: Applying updates]
Leo3418 has joined #asahi-alt
Juest has quit [Ping timeout: 480 seconds]
Juest has joined #asahi-alt