#asahi-alt · 2024-08-28 09:34
chaos_princessemerge installkernel with the correct use flags, and it will do it automatically as a part of make install#asahi-alt · 2024-08-27 21:09
chaos_princessit was in fact a google moment https://pastebin.com/dKrcVBX3#asahi-alt · 2024-08-27 13:15
chaos_princessill mirror the sommelier subtree to gh#asahi-alt · 2024-08-27 12:54
chaos_princessthat might actually be bad, they could be generating that tarball on the fly and we might need to mirror it#asahi-alt · 2024-08-27 12:44
chaos_princessconfirming that it all builds on gcc#asahi-alt · 2024-08-27 12:26
chaos_princessand i do not want to "ship" krun yet#asahi-alt · 2024-08-27 12:26
chaos_princesskrun installs binfmt handlers in the nested vm, but on host we need krun's launcher handlers#asahi-alt · 2024-08-27 12:25
chaos_princessnot yet#asahi-alt · 2024-08-27 12:24
chaos_princessfor rootfs, i kinda want to build a "steam-nano" one. Just enough libraries to start steam, and then use everything from steam runtime#asahi-alt · 2024-08-27 12:22
chaos_princessidk, fired off the compiles on my gcc system, we will know in like 15 mins#asahi-alt · 2024-08-27 12:20
chaos_princesshttps://github.com/chadmed/asahi-overlay/commit/c558b2842153698444f636ee2eeca8891bb46c1b#diff-9c879a1aedb42acb15d9a6142ed55b5745d9e659b240efd5f29f94acd15f5c15R259#asahi-alt · 2024-08-27 12:20
chaos_princessthe if block around that patch is not useful, gcc systems also have that file in /etc/clang#asahi-alt · 2024-08-27 12:12
chaos_princesschadmed: CTARGET already includes multilib-linux-gnu, it should be ${CTARGET}-gcc here https://github.com/chadmed/asahi-overlay/commit/7a9cfb950f2d3fe9d736fb96a7fc356646027513#diff-ba6834964aeea9ed7b6f08ace5d3c6a8587c9b8e39e75c752d17a7c46a6404f1R257#asahi-alt · 2024-08-27 07:53
chaos_princessor do `echo 'nameserver 8.8.8.8' >/etc/resolv.conf` inside the vm and it should also work#asahi-alt · 2024-08-27 07:52
chaos_princessyep, but that's a passt bug, downgrade it and it will work#asahi-alt · 2024-08-27 07:51
chaos_princessthey have a branch that at least will stop it from randomly failing from start with EEXIST#asahi-alt · 2024-08-27 07:49
chaos_princessi will check on my gcc system a bit later#asahi-alt · 2024-08-27 07:49
chaos_princessjust replace the hardcoded triples with ${CTARGET} in the glibc export block and tentative lgtm#asahi-alt · 2024-08-27 07:49
chaos_princessthey probably won't#asahi-alt · 2024-08-27 07:48
chaos_princesswould you apply your changes yourself or do you want me to do it?#asahi-alt · 2024-08-27 07:33
chaos_princessadd --config=/path/to/that/file to thunkgen flags#asahi-alt · 2024-08-27 07:27
chaos_princessyes, that would do it#asahi-alt · 2024-08-27 07:26
chaos_princessAh#asahi-alt · 2024-08-27 07:26
chaos_princessWhich one did it fail to catch?#asahi-alt · 2024-08-27 07:26
chaos_princessIt should have filtered out the ones that break it with that line. #asahi-alt · 2024-08-27 07:25
chaos_princessWell, yea, that's the idea#asahi-alt · 2024-08-27 07:24
chaos_princessWhy did you change X86_CFLAGS, what went wrong there?#asahi-alt · 2024-08-27 07:19
chaos_princessWhich other overrides did you have to pass?#asahi-alt · 2024-08-27 07:18
chaos_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#asahi-alt · 2024-08-27 07:16
chaos_princessYes#asahi-alt · 2024-08-27 07:15
chaos_princesswhich file was the flag in?#asahi-alt · 2024-08-27 07:15
chaos_princessWell, now to find out how to do it automatically i guess#asahi-alt · 2024-08-27 07:12
chaos_princessOk, and now take that thing and add it to tunkgen flags#asahi-alt · 2024-08-27 07:10
chaos_princesscan you grep for gcc inside /etc/clang#asahi-alt · 2024-08-27 07:02
chaos_princessjust tell me which places it searches when compiling arm 64 code#asahi-alt · 2024-08-27 07:02
chaos_princessNo, no need for now#asahi-alt · 2024-08-27 06:59
chaos_princessAnd host clang?#asahi-alt · 2024-08-27 06:55
chaos_princessthere should be some way to make it print what places it searches for headers in#asahi-alt · 2024-08-27 06:54
chaos_princess(thunkgen is a clang plugin(?) and should accept clang flags)#asahi-alt · 2024-08-27 06:54
chaos_princessCan you manually run the failing thunkgen command and add --verbose to it?#asahi-alt · 2024-08-27 06:43
chaos_princessWhere even _is_ cstdint on a llvm system?#asahi-alt · 2024-08-27 06:41
chaos_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#asahi-alt · 2024-08-27 00:00
chaos_princessProbably libc++ or something in gcc stage 2#asahi-alt · 2024-08-26 23:17
chaos_princessno, it is a real compiler and it should be in PATH#asahi-alt · 2024-08-26 23:09
chaos_princessguess ill have to look at what it wants there#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: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-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
chaos_princessAnd it is failing?