#
#asahi-alt · 2024-12-19 09:59
chadmedthat is indeed the fix for chromium
#asahi-alt · 2024-12-19 09:58
chadmedim lucky at work that the product we support links against a version of JINT so old that it doesnt even support ES5. dont have to think about node or promises or any other frameworks because we literally cannot use them anyway :p
#asahi-alt · 2024-12-19 09:57
chaos_princessleio: from what i hear, the 16k fix is to revert this thing https://chromium-review.googlesource.com/c/v8/v8/+/5864909
#asahi-alt · 2024-12-19 09:56
chaos_princessand that is depended by literally half the npm?
#asahi-alt · 2024-12-19 09:56
chadmedchaos_princess: almost as bad as that one nodejs package that asks chatgpt if a number is even
#asahi-alt · 2024-12-19 09:55
leiofor the page size stuff, I don't know about the compile issues, other than having similar fun lately with firefox linkage and rust_eh_personality :P
#asahi-alt · 2024-12-19 09:55
chaos_princesschadmed: #define if (...) if ((arc4random() & 1) && (__VA_ARGS)) :P
#asahi-alt · 2024-12-19 09:54
leioso on the unrelated topic, if it's broken, then someone who actually can test it and then test with patch can talk to Kangie and get it fixed in ::gentoo if need be
#asahi-alt · 2024-12-19 09:54
chadmedsed -i 's/true/false/g' src/*/* ezpz
#asahi-alt · 2024-12-19 09:54
j`eythe rest is left as an exercise to the reader
#asahi-alt · 2024-12-19 09:53
chaos_princesssth like that :P
#asahi-alt · 2024-12-19 09:53
j`eychange true to false somewhere
#asahi-alt · 2024-12-19 09:53
chaos_princessthere is a patch that fixes 16k floating around somewhere iirc
#asahi-alt · 2024-12-19 09:53
leioi.e., if it gets compiled, might be trouble anyways?
#asahi-alt · 2024-12-19 09:53
chaos_princessmaybe, but unrelated to current issue
#asahi-alt · 2024-12-19 09:52
leiosorry, I can't catch up with backlog fully, so just throwing it out there - I think gentoo might be affected by the chromium 131+ 16k page size problem still?
#asahi-alt · 2024-12-19 09:46
chadmedthis use flag is only present on extremely fragile builds like chromium and libreoffice where a lot of issues are due to a certain type of gentoo user enabling -O99999 etc and complaining when large builds fail
#asahi-alt · 2024-12-19 09:45
chadmedyou have to enable the USE flag for your own cflags to override whatever the build system has asked for
#asahi-alt · 2024-12-19 09:45
chadmedby default, ebuilds with the custom-cflags USE flag will _not_ use the user cflags
#asahi-alt · 2024-12-19 09:44
mixithe proper fix would be for google to fix their build system to pass the user cflags before their overwrites, not after
#asahi-alt · 2024-12-19 09:44
mixior am I misunderstanding what the option is supposed to do?
#asahi-alt · 2024-12-19 09:43
mixiI think it should be the opposite - disabling custom cflags should help
#asahi-alt · 2024-12-19 09:42
chadmedcustom-cflags is probably required here then
#asahi-alt · 2024-12-19 09:41
mixithe 'COMMON_FLAGS="-O2 -pipe"' bit should work around that one error
#asahi-alt · 2024-12-19 09:40
mixibut the user cflags overwrite it, so the file that unconditionally depends on sme intrinsics can't be built
#asahi-alt · 2024-12-19 09:40
mixihttps://chromium.googlesource.com/libyuv/libyuv.git/+/refs/heads/main/BUILD.gn#274 <-- this is where they set the required -march=armv9-a+sme for rotate_sme.cc
#asahi-alt · 2024-12-19 09:40
stintelthere's enough websites that simply do not work in firefox :(
#asahi-alt · 2024-12-19 09:40
chadmedgerrit though... imagine naming such a fuck ugly piece of crap after a designer like cmon
#asahi-alt · 2024-12-19 09:40
stintelI'd stop using chromium but I can't really
#asahi-alt · 2024-12-19 09:39
chadmedmozilla have mercurial and mach too which.... ugh
#asahi-alt · 2024-12-19 09:39
chadmedgerrit is an abomination and probably the most egregious offence
#asahi-alt · 2024-12-19 09:38
j`eychaos_princess: NIH syndrome
#asahi-alt · 2024-12-19 09:38
stintelheh
#asahi-alt · 2024-12-19 09:38
stintelaarch64-unknown-linux-gnu-gcc: fatal error: unknown value ‘apple-m2’ for ‘-mcpu’
#asahi-alt · 2024-12-19 09:38
chaos_princessit's like they are religiously opposed to the concept of using standard tools
#asahi-alt · 2024-12-19 09:37
stintelso I'll try -mcpu=apple-m2
#asahi-alt · 2024-12-19 09:37
stintelbut that gives me __arm_tpidr2_save with www-client/chromium-131.0.6778.139
#asahi-alt · 2024-12-19 09:37
chaos_princessprobably a hot take, but google's "open source" is literally the worst.
#asahi-alt · 2024-12-19 09:37
stintelbecause of many previous build issues
#asahi-alt · 2024-12-19 09:37
stintelI have an M2 and was just using this in /etc/portage/env/www-client/chromium COMMON_FLAGS="-O2 -pipe"
#asahi-alt · 2024-12-19 09:36
chaos_princesstpidr should not be m1-specific
#asahi-alt · 2024-12-19 09:35
stintelok so I'll try throwing that in /etc/portage/env/www-client/chromium
#asahi-alt · 2024-12-19 09:35
chadmed[19:31] <chadmed> in your gcc env you will have to specify march manually since it doesnt have cpu presets for us
#asahi-alt · 2024-12-19 09:35
chadmedit is yes
#asahi-alt · 2024-12-19 09:35
stintel-mcpu=apple-m2 is clang only?
#asahi-alt · 2024-12-19 09:35
chadmedis that with or without lto?
#asahi-alt · 2024-12-19 09:34
chadmedthe eu should be far more punitive toward google tbh
#asahi-alt · 2024-12-19 09:34
stintelis my latest issue with chromium
#asahi-alt · 2024-12-19 09:34
stintelld.lld: error: undefined symbol: __arm_tpidr2_save
#asahi-alt · 2024-12-19 09:32
zerdoxgreat thank you guys

plus ›