<mkurz>
I have a question about page sizes... I have a binary (ELF) which gets build with a pagesize of 4kb because it was build on a Ubuntu aarch64 machine. Now that binary does not execute on Asahi Linux. Is it enough to set the max-page size to 16, to make it run in Asahi, with e..g gcc .... -Wl,-z,max-page-size=0x10 - will that binary then also run on both systems?
<mkurz>
Sorry I am a noob
Agua has joined #asahi
<tpw_rules>
what binary?
<tpw_rules>
gcc by default links things with a page size of 64kb
<tpw_rules>
so i don't think it's just because you built it on ubuntu
<sven>
usually software doesn’t work on 16k pages because it implicitly makes a wrong page size assumption somewhere. grep-ing for mmap and/or mprotect is probably a good start
<tpw_rules>
if it has then you are almost guaranteed there are wrong assumptions in the software too and just increasing that will not be sufficient
<tpw_rules>
google software in particular does that a lot
delsol_ has quit [Remote host closed the connection]
<mkurz>
this is a graalvm binary
<mkurz>
created with graal native image tool
<mkurz>
if I build it in asahi the binary works
<mkurz>
if I build it on on another aarch64 machine and copy the binary over it does not work
<mkurz>
The align value for both binaries is 0x10000, which is 64k
<mkurz>
So if I run "readelf -l " for both binaries the align values are exactly the same, just the entry point differ and also the offsets
<mkurz>
but I think that should be normal (?)
<j`ey>
so its using PAGE_SIZE at compile time
<tpw_rules>
then there is something in graalvm which is measuring the system page size and compiling it in
<mkurz>
tpw_rules: so you are saying its a "bug" in graalvm? so I can do nothing about it, like passing params?
<j`ey>
might be a bug in the code, not graalvm itself?
zkrx has quit []
zkrx has joined #asahi
malte has quit [Remote host closed the connection]
malte has joined #asahi
<tpw_rules>
i don't know anything about graalvm or the graal native image tool
<tpw_rules>
but it sounds like it
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Guest81 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest167
bcrumb has joined #asahi
malte has quit [Remote host closed the connection]
malte has joined #asahi
milky has joined #asahi
malte has quit [Remote host closed the connection]
malte has joined #asahi
Guest167 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest173
Zopolis4 has joined #asahi
gladiac has quit [Quit: k thx bye]
iaguis has quit [Ping timeout: 480 seconds]
bcrumb has quit [Quit: WeeChat 3.7.1]
milky_ has joined #asahi
milky has quit [Ping timeout: 480 seconds]
milky_ has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
iaguis has joined #asahi
milky has joined #asahi
delsol has joined #asahi
milky has quit [Ping timeout: 480 seconds]
milky has joined #asahi
Agua has quit [Ping timeout: 480 seconds]
iaguis has quit [Quit: leaving]
jamespmorgan has joined #asahi
swaggie has quit [Remote host closed the connection]
tobhe_ has joined #asahi
tobhe has quit [Ping timeout: 480 seconds]
Zopolis4 has quit [Quit: Connection closed for inactivity]
bcrumb has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
delsol has quit [Remote host closed the connection]
bcrumb has quit [Quit: WeeChat 3.7.1]
milky has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi
<bcrumb>
https://github.com/b-crumb/asahi-infra so since sd-asahi probably isn't a good fit for the scripts i'll be mainting my downstream fork, the repo i linked is how i'm building my files for anyone interested
<bcrumb>
it's just autopatching via my branch that i'll keep up to date as much as i need to
<bcrumb>
i'll also throw apparmor at some point in there i guess and anything else that comes up
bcrumb has quit []
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
SSJ_GZ has quit [Ping timeout: 480 seconds]
Agua has joined #asahi
Agua has quit [Remote host closed the connection]
Brainium has joined #asahi
<malte>
hi all, is it possible to enable the top part of the display (left and right to the notch) on the M2 MBA? the new GPU driver works like a charm btw, thank you all so much for your efforts! <3