#asahi-alt · 2024-08-26 23:16
chadmed_could be something as simple as toolchain-funcs not understanding x86_64-multilib-linux-gnu#asahi-alt · 2024-08-26 23:09
chaos_princessguess ill have to look at what it wants there#asahi-alt · 2024-08-26 23:05
chadmed_yeah echo "${CC}" after you try setting it just returns gcc -m32#asahi-alt · 2024-08-26 23:01
chadmed_x86_64* #asahi-alt · 2024-08-26 22:59
chadmed_fwiw the config log for glibc shows just "gcc -m32" not "x86_86-unknown-linux-gnu-gcc -m32"like it should#asahi-alt · 2024-08-26 22:47
chadmed_yarp one sec#asahi-alt · 2024-08-26 22:47
chaos_princessif it does not work, would you mind throwing an `echo ${CC}` after that line and telling me what is set as CC on your system?#asahi-alt · 2024-08-26 22:45
chaos_princesswell, i do that https://github.com/chadmed/asahi-overlay/pull/106/files#diff-ba6834964aeea9ed7b6f08ace5d3c6a8587c9b8e39e75c752d17a7c46a6404f1R256#asahi-alt · 2024-08-26 22:45
chadmed_which for me either either clang or aarch64-unknown-linux-gnu-g{cc,++}#asahi-alt · 2024-08-26 22:44
chadmed_chaos_princess: when building glibc we need to explicitly set CC and CXX otherwise emake will take whatever the system/package.env provided one is #asahi-alt · 2024-08-26 22:32
chaos_princesschadmed: not sure what do you want to happen with overridden CC/CXX, do you want me to use the system ones, or what happens?#asahi-alt · 2024-08-26 12:59
chadmedsam_: could you take another look at https://github.com/chadmed/asahi-overlay/pull/106 for chaos_princess if you get a few spare minutes? ill probably smoke test and merge tomorrow anyway provided it works#asahi-alt · 2024-08-26 04:13
u154ss@cy8aer That was it, somehow initramfs-tools was no longer on my system. Reinstall and all is good. Danke!#asahi-alt · 2024-08-25 21:09
cy8aerand for orientation: these are my main config diffs to default: https://git.g3la.de/repos/m1-debian/src/branch/baer/config.txt#asahi-alt · 2024-08-25 21:05
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#asahi-alt · 2024-08-25 11:09
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.#asahi-alt · 2024-08-25 10:18
chadmedanyway building the kernel witl clang works again, it was just CONFIG_DEBUG_INFO_BTF#asahi-alt · 2024-08-25 10:17
chadmedor better yet just pinch the rootfs wholesale if it already has the thunks loaded in #asahi-alt · 2024-08-25 10:16
chadmedso i think at least in the short term we should probably just do surgery on the fedora rpm with the thunklibs in it#asahi-alt · 2024-08-25 10:15
chadmedin any case i dont think we can really ship anything that hard depends on this working tbh #asahi-alt · 2024-08-25 10:14
chadmedhmmm yeah okay#asahi-alt · 2024-08-25 10:07
sam_anyway that's a known issue I'm not yet sure how to fix#asahi-alt · 2024-08-25 10:07
sam_I'm not sure unset works in env#asahi-alt · 2024-08-25 10:03
chadmedi tried putting CC="" and unset CC (and the rest of the toolchain) in an env but it did nothing #asahi-alt · 2024-08-25 10:03
chadmedyeah :/#asahi-alt · 2024-08-25 07:26
sam_i think explicitly setting CC confuses crossdev#asahi-alt · 2024-08-25 06:39
chadmedi might need something special in env #asahi-alt · 2024-08-25 06:38
chadmedhttps://bugs.gentoo.org/938482#asahi-alt · 2024-08-25 06:38
chadmedi filed a bug about it, it does seem to be related to ^#asahi-alt · 2024-08-25 06:29
chadmedcould 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#asahi-alt · 2024-08-25 06:24
chadmedyeah idk #asahi-alt · 2024-08-25 06:24
chaos_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#asahi-alt · 2024-08-25 06:23
chadmedissue 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/#asahi-alt · 2024-08-25 06:23
chaos_princessAnd it is failing?#asahi-alt · 2024-08-25 06:22
chadmedno im just trying to get crossdev to set up amd64/gcc#asahi-alt · 2024-08-25 06:20
chaos_princessAre you trying to make clang work?#asahi-alt · 2024-08-25 03:29
chadmedif 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#asahi-alt · 2024-08-25 03:24
chadmedat least not in the state its in#asahi-alt · 2024-08-25 03:24
chadmedwe cannot use this as a solution for installing thunks its deranged#asahi-alt · 2024-08-25 03:23
chadmedglibc cant find prctl.h because its looking at the host headers -.- #asahi-alt · 2024-08-25 03:23
chadmednone of this has been tested by anyone not on a stock standard amd64 gentoo machine has it far out#asahi-alt · 2024-08-25 02:35
chadmedjust.... why#asahi-alt · 2024-08-25 02:35
chadmedchecking 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#asahi-alt · 2024-08-25 02:34
chadmedit unions the host portage but does not respect package.env are you serious#asahi-alt · 2024-08-25 02:34
chadmedoh this is completely fucked and broken#asahi-alt · 2024-08-25 02:32
chadmedlfg that worked#asahi-alt · 2024-08-25 02:15
chadmedi didnt even realise we werent symlinking lib to lib64 tbh#asahi-alt · 2024-08-25 02:14
sam_($(get_libdir) is useful especially where you have like, lib/libFUCKMEABI)#asahi-alt · 2024-08-25 02:14
sam_way too much shit broke