ChaiTRex has quit [Remote host closed the connection]
ChaiTRex has joined #asahi
<mkurz>
If I produce a ELF binary with a page size of 64k, in theory that should run on all aarch64 machines, no matter if their kernel has a page size of 4k, 16k or 64k. Is that correct?
<tpw_rules>
malte: i think that is planned for further down the pipeline
<tpw_rules>
mkurz: that is a very vague question
<tpw_rules>
the ELF section alignment has to be 64k for the program to load into memory
<tpw_rules>
but once it loads, it can check the page size and do whatever it wants. or ignore it and hope page-size-dependent operations work
<jn>
do ELF binaries actually specify a page size? or do you mean the program header address alignment?
<tpw_rules>
pretty sure they mean the latter. we were talking earlier
<jn>
ah, alright, nvm :)
<mkurz>
tpw_rules: thanks
swaggie has joined #asahi
bpye has quit [Ping timeout: 480 seconds]
florenceofarabia has joined #asahi
Zopolis4 has joined #asahi
<florenceofarabia>
First message on here! Only in the last few months have I really learned about open source and, just having purchased an new MacBook, I had to try out Asahi!
ten157237 has joined #asahi
florenceofarabia has quit [Remote host closed the connection]
Brainium has quit [Quit: Konversation terminated!]
bpye has joined #asahi
Moprius has joined #asahi
kh has joined #asahi
<mkurz>
I could solve my problem I had with theGraalVM native image tool by passing `-H:PageSize=16384` when producing the image. A bit weird, but the alignment still is 0x10000, however now I can execute the binary...
<mkurz>
The explanation of the flag is: -H:PageSize=0 Define PageSize of a machine that runs the image. The default = 0 (== same as host machine page size).
<mkurz>
So I think it does not change the header address alignment but does something else so it knows what the target system will be
<psykose>
the vm probably bakes in some hardcoded pagesize based on host that it uses for runtime operations
<psykose>
nothing to do with alignment
<psykose>
so with =0 it gets 4k
Moprius has quit [Quit: bye]
swaggie has quit [Remote host closed the connection]
amarioguy has quit [Remote host closed the connection]
swaggie has joined #asahi
jamespmo_ has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
florenceofarabia has joined #asahi
florenceofarabia has quit [Remote host closed the connection]
Hibyehello has quit [Ping timeout: 480 seconds]
swaggie has quit [Remote host closed the connection]
swaggie has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
sebastia2 has joined #asahi
Zopolis4 has quit [Quit: Connection closed for inactivity]
Oro has joined #asahi
Hibyehello has joined #asahi
amarioguy has joined #asahi
swaggie has joined #asahi
Zopolis4 has joined #asahi
swaggie has quit [Remote host closed the connection]
Oro has quit [Ping timeout: 480 seconds]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
caef^ has joined #asahi
hertz_ has joined #asahi
mamba_ has joined #asahi
mamba has quit [Ping timeout: 480 seconds]
hertz has quit [Ping timeout: 480 seconds]
bluetail8 has joined #asahi
Hibyehello_ has joined #asahi
Hibyehello has quit [Read error: Connection reset by peer]
eroc1990 has quit [Remote host closed the connection]
eroc1990 has joined #asahi
jamespmorgan has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #asahi
karpouzi has joined #asahi
jamespmo_ has joined #asahi
VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
jamespmorgan has quit [Ping timeout: 480 seconds]
sebastia2 has quit [Quit: Lost terminal]
VinDuv has joined #asahi
jamespmorgan has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
MajorBiscuit has joined #asahi
swaggie has joined #asahi
karpouzi has quit [Ping timeout: 480 seconds]
guillaume_g has joined #asahi
gladiac has quit [Quit: k thx bye]
<jannau>
malte: you can set 'apple_dcp.show_notch=1'. this is not regularly tested / officially supported so it might break or change at some point
kh has quit [Quit: Konversation terminated!]
hertz_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cylm_ has quit [Ping timeout: 480 seconds]
fossdd has joined #asahi
landscape15 has joined #asahi
landscape15 has quit [autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2022-12-23 10:15:09)]