marcan changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
odmir has quit [Remote host closed the connection]
odmir has joined #asahi-dev
odmir has quit [Ping timeout: 246 seconds]
odmir has joined #asahi-dev
odmir has quit [Ping timeout: 245 seconds]
amw has joined #asahi-dev
riker77_ has joined #asahi-dev
riker77_ is now known as riker77
riker77 has quit [Ping timeout: 240 seconds]
odmir has joined #asahi-dev
odmir has quit [Ping timeout: 246 seconds]
odmir has joined #asahi-dev
odmir has quit [Remote host closed the connection]
odmir has joined #asahi-dev
phiologe has quit [Ping timeout: 260 seconds]
PhilippvK has joined #asahi-dev
odmir has quit [Remote host closed the connection]
odmir has joined #asahi-dev
odmir has quit [Remote host closed the connection]
_whitelogger has joined #asahi-dev
taziden has quit [Ping timeout: 264 seconds]
taziden has joined #asahi-dev
VinDuv has joined #asahi-dev
brandas_ has quit [Quit: quit]
brandas has joined #asahi-dev
_whitelogger has joined #asahi-dev
TomJepp has quit [Quit: ZNC closing...]
TomJepp has joined #asahi-dev
amw has quit [Ping timeout: 260 seconds]
the-mentor3 has joined #asahi-dev
the-mentor has quit [Ping timeout: 276 seconds]
the-mentor3 is now known as the-mentor
zvtu[m] is now known as m1kr0[m]
<kettenis> ouch, m1n1 depends quite heavily on the hos header files
<marcan> kettenis: ... hos?
<marcan> you mean host?
<marcan> I don't think I use anything other than stuff that should come with any reasonable compiler (stdint, stdarg, can't think of anything else?)
<marcan> ah, stddef and assert too
<kettenis> yeah host
<jannau> stdbool.h too
<marcan> ah, stdbool is used in 3rdparty stuff, yeah
<marcan> it's possible the malloc and other 3rd party stuff in there are spuriously pulling in proper libc headers; if so that's a bug
<marcan> but either way none of these should be *host* headers
<kettenis> a "freestanding" C implementation is supposed to provide some of them
<marcan> they should be *cross-compiler* headers
<kettenis> yeah, I run into this because I am using a cross-compoler ;)
<marcan> so am I :)
<kettenis> cross-compiler I mean
<kettenis> I don't think you are
<marcan> I absolutely am
<marcan> I do all my builds on an x86
<marcan> I don't even have any normal-use aarch64 machines lying around, other than a few dedicated rPis
<kettenis> ah, you are using a cross-linux compiler ;)
<kettenis> where as I'm using a bare-metal cross-compiler
<marcan> I do default to the linux triple (aarch64-linux-gnu-) because I expect most people to have that and it should be equivalent to the native compiler once we're all on M1s as our daily drivers (;)), but m1n1 is intended to work with any sane AArch64 gcc or gcc-like compiler (clang support is in there, though less tested)
<marcan> what headers are you missing?
<kettenis> <assert.h> and <stdlib.h>
<kettenis> and <string.h> as well
<marcan> string.h should be "string.h"
<marcan> stdlib... what on earth is pulling that
<marcan> assert I just realized is not in gcc
<marcan> oh tinflate, heh
<marcan> let me fix those
<kettenis> dlmalloc and libfdt are the main offenders
<marcan> I know dlmalloc gratuitously pulls in some stuff which it shouldn't; I tried to remove most of it but probably missed some
<kettenis> I have some modifications now to malloc_conf.h that make dlmalloc happy
<marcan> let me see if I can figure out a canonical way of getting rid of the libc include paths while keeping the gcc ones
<marcan> (I think linux does this...)
<kettenis> so I'm using aarch64-none-elf- which in this case is the OpenBSD port of the "standard" linaro cross-compiler
<marcan> ah, found it
<kettenis> should I let you fix a few things and see if there are any remaining issues a bit later?
<marcan> yeah, let me do a pass
<kettenis> I'll finish watching another will deacon talk then ;)
<marcan> :)
<marcan> kettenis: pushed a pile of fixes, let me know if you run into anything else
<kettenis> seems to work; thanks!
<marcan> yay!
<kettenis> (work as in it compiles)
<marcan> yeah I haven't even tested it either
<marcan> but that would have to be a pretty big snafu to have broken in that way :)
<marcan> let me do a quick test
<kettenis> will give it a spin later when my current native build finishes
<marcan> seems to work here
<kettenis> cool
<marcan> off to sleep, let me know how it goes :)
<kettenis> time to get some food here; sleep well
choozy has joined #asahi-dev
cdesai has quit [*.net *.split]
ar has quit [*.net *.split]
never_released_ has quit [*.net *.split]
arnd has quit [*.net *.split]
hatf0 has quit [*.net *.split]
eric_engestrom has quit [*.net *.split]
jkkm has quit [*.net *.split]
rwhitby has quit [*.net *.split]
artemist has quit [*.net *.split]
rjeli has quit [*.net *.split]
tardyp has quit [*.net *.split]
Shiz has quit [*.net *.split]
never_released has joined #asahi-dev
artemist has joined #asahi-dev
eric_engestrom has joined #asahi-dev
jkkm has joined #asahi-dev
hatf0 has joined #asahi-dev
rjeli has joined #asahi-dev
Shiz has joined #asahi-dev
tardyp has joined #asahi-dev
ar has joined #asahi-dev
arnd has joined #asahi-dev
rwhitby has joined #asahi-dev
arnd has joined #asahi-dev
arnd has quit [Changing host]
cdesai has joined #asahi-dev
_alice has quit [Ping timeout: 246 seconds]
ryanhrob[m] has quit [Ping timeout: 265 seconds]
greatudini[m] has quit [Ping timeout: 265 seconds]
ldhacker[m] has quit [Ping timeout: 268 seconds]
Spectrejan[m] has quit [Ping timeout: 265 seconds]
rockinrobstar[m] has quit [Ping timeout: 268 seconds]
irradiated_lemmi has quit [Ping timeout: 240 seconds]
svenpeter has quit [Ping timeout: 246 seconds]
will1 has quit [Ping timeout: 240 seconds]
Augur[m] has quit [Ping timeout: 268 seconds]
foxlet has quit [Ping timeout: 268 seconds]
jamesmunns[m] has quit [Ping timeout: 268 seconds]
TellowKrinkle[m] has quit [Ping timeout: 265 seconds]
Eighth_Doctor has quit [Ping timeout: 240 seconds]
alexanderwillner has quit [Ping timeout: 265 seconds]
emily has quit [Ping timeout: 265 seconds]
ewlsh[m] has quit [Ping timeout: 265 seconds]
encounter[m] has quit [Ping timeout: 265 seconds]
pakl[m] has quit [Ping timeout: 265 seconds]
PedroArajo[m] has quit [Ping timeout: 240 seconds]
winocm has quit [Ping timeout: 240 seconds]
Bastian[m] has quit [Ping timeout: 240 seconds]
AkihikoOdaki[m] has quit [Ping timeout: 240 seconds]
davidrysk[m] has quit [Ping timeout: 246 seconds]
izzyisles[m] has quit [Ping timeout: 240 seconds]
bngs[m] has quit [Ping timeout: 268 seconds]
m1kr0[m] has quit [Ping timeout: 244 seconds]
josiahmendes[m] has quit [Ping timeout: 268 seconds]
fridtjof[m] has quit [Ping timeout: 244 seconds]
hypergenesis[m] has quit [Ping timeout: 244 seconds]
Jasper[m] has quit [Ping timeout: 258 seconds]
blazra has quit [Ping timeout: 265 seconds]
konradybcio has quit [Ping timeout: 240 seconds]
M0_osx[m] has quit [Ping timeout: 244 seconds]
psydruid has quit [Ping timeout: 268 seconds]
Alice[m] has quit [Ping timeout: 260 seconds]
user1tt[m] has quit [Ping timeout: 260 seconds]
ransom_rs[m] has quit [Ping timeout: 260 seconds]
bylaws has quit [Ping timeout: 258 seconds]
jevinskie[m] has quit [Ping timeout: 268 seconds]
bastilian has quit [Ping timeout: 268 seconds]
mofux[m] has quit [Ping timeout: 265 seconds]
_alice has joined #asahi-dev
ldhacker[m] has joined #asahi-dev
greatudini[m] has joined #asahi-dev
ryanhrob[m] has joined #asahi-dev
Spectrejan[m] has joined #asahi-dev
Eighth_Doctor has joined #asahi-dev
davidrysk[m] has joined #asahi-dev
bngs[m] has joined #asahi-dev
rockinrobstar[m] has joined #asahi-dev
AkihikoOdaki[m] has joined #asahi-dev
irradiated_lemmi has joined #asahi-dev
foxlet has joined #asahi-dev
svenpeter has joined #asahi-dev
pakl[m] has joined #asahi-dev
encounter[m] has joined #asahi-dev
ewlsh[m] has joined #asahi-dev
jamesmunns[m] has joined #asahi-dev
alexanderwillner has joined #asahi-dev
Augur[m] has joined #asahi-dev
TellowKrinkle[m] has joined #asahi-dev
emily has joined #asahi-dev
will1 has joined #asahi-dev
Bastian[m] has joined #asahi-dev
PedroArajo[m] has joined #asahi-dev
winocm has joined #asahi-dev
izzyisles[m] has joined #asahi-dev
josiahmendes[m] has joined #asahi-dev
tburgin[m] has joined #asahi-dev
M0_osx[m] has joined #asahi-dev
bylaws has joined #asahi-dev
m1kr0[m] has joined #asahi-dev
fridtjof[m] has joined #asahi-dev
Jasper[m] has joined #asahi-dev
blazra has joined #asahi-dev
ransom_rs[m] has joined #asahi-dev
odmir has joined #asahi-dev
Alice[m] has joined #asahi-dev
konradybcio has joined #asahi-dev
mofux[m] has joined #asahi-dev
hypergenesis[m] has joined #asahi-dev
user1tt[m] has joined #asahi-dev
psydruid has joined #asahi-dev
jevinskie[m] has joined #asahi-dev
bastilian has joined #asahi-dev
odmir has quit []
odmir has joined #asahi-dev
odmir has quit [Remote host closed the connection]
odmir has joined #asahi-dev
VinDuv has quit [Quit: Leaving.]
odmir has quit [Ping timeout: 264 seconds]
odmir has joined #asahi-dev
odmir has quit [Remote host closed the connection]
odmir has joined #asahi-dev
odmir has quit [Ping timeout: 245 seconds]
odmir has joined #asahi-dev
odmir has quit [Remote host closed the connection]
odmir has joined #asahi-dev
<kettenis> works here as well, and I can talk to it using the proxyclient code
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi-dev