#asahi-alt · 2025-06-08 02:23
chadmedand the eclass will need to enable do $(usev arm64 arm64ec) or something to that effect because wow64 by itself is almost entirely useless without it here#asahi-alt · 2025-06-08 02:23
chadmedwe should filter out BTI anyway since it is known broken#asahi-alt · 2025-06-08 02:05
chadmedand in fact it does not seem to be BTI at all because i just rebuilt wine without -mbranch-protection=standard but all my other flags intact and it's still doing it #asahi-alt · 2025-06-08 01:59
chadmedthat heuristic does not work here because even inside muvm we get SIGILLs in the steam runtime (cs2 for example will often crash with a SIGILL or segfault depending on how it feels)#asahi-alt · 2025-06-08 01:28
sam_quick answer: SIGILL#asahi-alt · 2025-06-08 01:28
sam_quick question: how do you know when BTI has done something?#asahi-alt · 2025-06-08 01:28
sam_dumbass lol#asahi-alt · 2025-06-07 23:12
chadmedyeah although if it is BTI then i would suspect itll just be "yeah.. no shit" :P #asahi-alt · 2025-06-07 23:10
chaos_princessmaybe file a report on fex repo if it is in fact the culprit#asahi-alt · 2025-06-07 23:10
chaos_princessoh well#asahi-alt · 2025-06-07 23:10
chaos_princessit _is_ weird, cause strip-flags really should nuke it#asahi-alt · 2025-06-07 23:09
chadmedthanks for helping out :) given it's gentoo i should have really just assumed it was cflag ricing to begin with... #asahi-alt · 2025-06-07 23:08
chaos_princessif it is what is causing problems, will probably file a pr to also filter it out later#asahi-alt · 2025-06-07 23:08
chaos_princessanyway, try with your normal cflags but w/o mbranch protection#asahi-alt · 2025-06-07 23:07
chadmedok yep that worked!#asahi-alt · 2025-06-07 23:06
chadmedi think doing something like that might end up being quite upsetting though. i remember how upset i was when i was like 10 and found out that people litter on mt everest#asahi-alt · 2025-06-07 23:05
chadmeda cruise out of tasmania is on my bucket list but theyre like $30,000 #asahi-alt · 2025-06-07 23:04
chaos_princessif you have too much money, i heard there are sightseeing flights to antarctica from aus and nz#asahi-alt · 2025-06-07 23:03
chadmedi should really go see some glaciers before theyre gone...#asahi-alt · 2025-06-07 23:02
chaos_princesslol, i'd trade, its 0100 here and still 23 degrees#asahi-alt · 2025-06-07 23:00
chadmedi really should be doing this on the studio but it's cold in that room #asahi-alt · 2025-06-07 23:00
chadmedif it works ill add stuff back until it breaks again#asahi-alt · 2025-06-07 22:59
chadmed"-O2 -pipe -mcpu=apple-m2" and default ldflags#asahi-alt · 2025-06-07 22:59
chadmedyeah thats what im doing#asahi-alt · 2025-06-07 22:59
chaos_princesstry just clean flags first#asahi-alt · 2025-06-07 22:59
chadmedrebuilding without it now anyway so let's see#asahi-alt · 2025-06-07 22:58
chaos_princessidk, but i've noticed that it was applied when building wine here#asahi-alt · 2025-06-07 22:57
chadmedi wonder why theyd still be applied with USE="-custom-cflags" though#asahi-alt · 2025-06-07 22:56
chaos_princessi think my bet is on mbranch-protection. it enables bti, bti breaks jits, and i think muvm's kernel has bti disabled#asahi-alt · 2025-06-07 22:50
chaos_princessbuilding with your cflags make it fail to even create the wineprefix. Granted, it is a m1, but shouldnt matter much?#asahi-alt · 2025-06-07 22:50
chadmedin the middle of rebuilding trying something else rn but that was my next strat#asahi-alt · 2025-06-07 22:49
chadmedyeah ofc #asahi-alt · 2025-06-07 22:48
chaos_princesscan you try with just "-O2 -pipe -mcpu=apple-m2" ?#asahi-alt · 2025-06-07 22:46
chaos_princesswell, your CFLAGS break wine here#asahi-alt · 2025-06-07 22:39
chadmedcorrupt stack seemingly#asahi-alt · 2025-06-07 22:39
chadmedthis is what wine complains about after segfaulting 0054:err:virtual:virtual_setup_exception stack overflow 2016 bytes addr 0x6fffffe9d7a0 stack 0x23820 (0x20000-0x24000-0x120000)#asahi-alt · 2025-06-07 22:39
chadmednup still crashed#asahi-alt · 2025-06-07 22:31
chaos_princessnot necessary for wow64, will come later#asahi-alt · 2025-06-07 22:31
chadmedbtw in the eclass i think we need to --enable-archs=arm64ec if use wow64 && use arm64#asahi-alt · 2025-06-07 22:29
chaos_princessand try with xtajit only at first, not -64#asahi-alt · 2025-06-07 22:29
chadmedyeah#asahi-alt · 2025-06-07 22:29
chaos_princessok, that should be the correct way. nuke and rebuild the wineprefix after rebuilding wine just in case#asahi-alt · 2025-06-07 22:28
chadmedyeah i had the plucky DLLs installed as xtajit64 and xtajit in /usr/lib/wine/aarch64-windows/ before building the prefix#asahi-alt · 2025-06-07 22:28
chaos_princesswas fex already installed to wine install location before running wine for the first time?#asahi-alt · 2025-06-07 22:27
chaos_princessit is x29 on arm#asahi-alt · 2025-06-07 22:27
chadmedalso the wine prefix is just the default ~/.wine set up by running wine for the first time #asahi-alt · 2025-06-07 22:27
chaos_princessi think it does#asahi-alt · 2025-06-07 22:27
chadmed-fomit-frame-pointer doesnt do anything on aarch64 does it? #asahi-alt · 2025-06-07 22:26
chaos_princessalso, how exactly are you setting up wine prefix and all that?#asahi-alt · 2025-06-07 22:26
chadmedrebuilding now