#
…

2024-12-19

00:05emilia-miki has quit [Ping timeout: 480 seconds]
00:24hightower2 has joined #asahi-alt
01:18n3ph has quit [Quit: WeeChat 4.4.3]
01:18n3ph has joined #asahi-alt
02:06verlio has quit [Ping timeout: 480 seconds]
02:15n3ph has quit [Ping timeout: 480 seconds]
02:20verlio has joined #asahi-alt
02:59verlio has quit [Ping timeout: 480 seconds]
03:23hightower4 has joined #asahi-alt
03:30hightower2 has quit [Ping timeout: 480 seconds]
03:34tobhe_ has joined #asahi-alt
03:41tobhe has quit [Ping timeout: 480 seconds]
04:32jnn has joined #asahi-alt
04:36jn has quit [Ping timeout: 480 seconds]
04:57verlio has joined #asahi-alt
05:01Halian has quit [Quit: Going offline, see ya! (www.adiirc.com)]
05:17television has joined #asahi-alt
05:57Halian has joined #asahi-alt
07:21television has quit [Ping timeout: 480 seconds]
08:14n3ph has joined #asahi-alt
08:18n3ph has quit []
08:19n3ph has joined #asahi-alt
08:53kdb42490357 has joined #asahi-alt
08:58kdb4249035 has quit [Ping timeout: 480 seconds]
08:58kdb42490357 is now known as kdb4249035
09:11JayBeeFOSS has quit [Ping timeout: 480 seconds]
09:12JayBeeFOSS has joined #asahi-alt
09:15zerdox has joined #asahi-alt
09:16zerdoxhi! who compiled chromium on gentoo? any success? requires sve or sme for me
09:18chadmedzerdox: qtwebengine works here. make sure your CPU_FLAGS_ARM is set properly
09:20zerdoxsorry but where can i get the value for it?
09:20zerdoxi don't set it and never have set it
09:21chaos_princessare you doing `emerge chromium` or something custom?
09:21zerdoxemerge chromium
09:21chadmedpaste the output of emerge -pv chromium somewhere
09:22zerdoxFAILED: obj/third_party/libyuv/libyuv_sme/rotate_sme.o
09:22zerdoxue -Wno-gnu-redeclared-enum -Wno-gnu-statement-expression -Wno-gnu-zero-variadic-macro-arguments -Wno-zero-length-array -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -funwind-tables -fPIC -pthread -fcolor-diagnost
09:22zerdoxaarch64-unknown-linux-gnu-clang++-19 -MD -MF obj/third_party/libyuv/libyuv_sme/rotate_sme.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D__ARM_NEON__=1 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D
09:22zerdox2561900383e10dbefc1d3e8f38cedfbe9 -DTMP_REBUILD_HACK -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCHROMIUM -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/libyuv/include -march=armv9-a+sme -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wgnu -Wno-gnu-anonymous-struct -Wno-gnu-conditional-omitted-operand -Wno-gnu-include-
09:22zerdox-fno-sized-deallocation -fcomplete-member-pointers -mbranch-protection=standard -mno-outline -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -Wno-missing-templ
09:22zerdox../../third_party/libyuv/source/rotate_sme.cc:24:46: error: function executed in streaming-SVE mode requires 'sme'
09:22zerdoxe-kw -Wno-dangling-assignment-gsl -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include -fvisibility-inlines-hidden -march=armv8.4-a+crypto+simd+i8mm+bf16+aes -mtune=native -O2 -pipe -fno-lto -Wno-unknown-warning-option -c ../../third_party/libyuv/source/rotate_sme.cc -o obj/third_party/libyuv/libyuv_sme/r
09:22zerdox 24 | __arm_locally_streaming __arm_new("za") void TransposeWxH_SME(
09:22zerdox../../third_party/libyuv/source/rotate_sme.cc:91:46: error: function executed in streaming-SVE mode requires 'sme'
09:22zerdox 91 | __arm_locally_streaming __arm_new("za") void TransposeUVWxH_SME(
09:22zerdox2 errors generated.
09:22zerdox[4632/50984] aarch64-unknown-linux-gnu-clang++-19 -MD -MF obj/third_party/libyuv/libyuv_neon/scale_neon64.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D__ARM_NEON__=1 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILIT
09:22zerdoxREVISION=8e31ad42561900383e10dbefc1d3e8f38cedfbe9 -DTMP_REBUILD_HACK -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCHROMIUM -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/libyuv/include -march=armv8-a+dotprod+i8mm -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wgnu -Wno-gnu-anonymous-struct -Wno-gnu-conditional-omitted-
09:22zerdoxext -Wno-gnu-label-as-value -Wno-gnu-redeclared-enum -Wno-gnu-statement-expression -Wno-gnu-zero-variadic-macro-arguments -Wno-zero-length-array -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -funwind-tables -fPIC
09:22zerdoxcs -fmerge-all-constants -fno-sized-deallocation -fcomplete-member-pointers -mbranch-protection=standard -mno-outline -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-c++11-narrowing-const-ref
09:23zerdoxte-arg-list-after-template-kw -Wno-dangling-assignment-gsl -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include -fvisibility-inlines-hidden -march=armv8.4-a+crypto+simd+i8mm+bf16+aes -mtune=native -O2 -pipe -fno-lto -Wno-unknown-warning-option -c ../../third_party/libyuv/source/scale_neon64.cc -o obj/thir
09:23zerdox has quit [Remote host closed the connection]
09:23chadmedthats not even what i asked you to paste :/
09:23zerdox has joined #asahi-alt
09:23zerdoxi am sorry..
09:23zerdoxi meant to yes
09:23chaos_princessalso, not the right thing
09:26chadmedinteresting, so chromium doesnt respect CPU_FLAGS_ARM
09:26mixiI've seen that one before and it was too much google build system debugging for me
09:26chadmedtry enable USE="custom-cflags"
09:26chadmedlooks like its trying to build with -march=armv9 for whatever reason
09:26chaos_princessno? -march=armv8.4-a+crypto+simd+i8mm+bf16+aes
09:27zerdoxCOMMON_FLAGS_NO_LTO="-march=armv8.4-a+crypto+simd+i8mm+bf16+aes -mtune=native -O2 -pipe
09:27zerdoxCOMMON_FLAGS="${COMMON_FLAGS_NO_LTO} -flto=thin"
09:27mixiit needs to build with its custom -march, but the user cflags overwrite it
09:27chadmed[19:22] <zerdox> 2561900383e10dbefc1d3e8f38cedfbe9 -DTMP_REBUILD_HACK -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCHROMIUM -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/libyuv/include -march=armv9-a+sme
09:27zerdoxthis is how i do it
09:27chaos_princesssomething tells me the flag filtering broke
09:27chadmedthe chromium ebuild will ignore your cflags in some places unless you pass USE="custom-cflags"
09:27chadmedjust like libreoffice
09:27chaos_princessor it is google build system nonsense where it tries to do march=native by hand
09:28chaos_princessand fail at that
09:28stintelhah I'm not the only one with chromium build issues
09:28chadmedthe real solution is emerge -av firefox btw
09:28zerdoxoh ok co custom-cflags globally
09:28zerdoxi'll double check
09:28zerdoxit's usages
09:28chadmedno just do it for chromium for now please
09:28chaos_princessunless you like random stuff breaking
09:28stintelI ended up using /etc/portage/env/www-client/chromium without march at all
09:28zerdoxi'll report if it works. ty
09:28chaos_princessalthough, aside from flto=thin your cflags look safe
09:29stinteland the latest chromium stable now even broke with that
09:29chaos_princessand, unless gcc fixed m-series cpu detection, your mtune=native hurts more than helps
09:29chaos_princesssince i think it is doing something like mtune=random-cortex-from-2016
09:29kujeger has joined #asahi-alt
09:30zerdoxdo i use it?
09:30chaos_princessjust drop mtune entirely
09:30chadmedif youre using clang (which you seem to be) just use -mcpu
09:30zerdoxyes 99% clang
09:31chadmedyeah just yeet all that march crap out and replace with -mcpu=apple-m1 or -mcpu=apple-m2
09:31chaos_princessiirc for gcc it copies(ish) march into mtune if it is not st
09:31chadmedin your gcc env you will have to specify march manually since it doesnt have cpu presets for us
09:31chadmedbut yeah get rid of -mtune entirely
09:32zerdoxgreat thank you guys
09:32kujeger- has quit [Ping timeout: 480 seconds]
09:34stintelld.lld: error: undefined symbol: __arm_tpidr2_save
09:34stintelis my latest issue with chromium
09:34chadmedthe eu should be far more punitive toward google tbh
09:35chadmedis that with or without lto?
09:35stintel-mcpu=apple-m2 is clang only?
09:35chadmedit is yes
09:35chadmed[19:31] <chadmed> in your gcc env you will have to specify march manually since it doesnt have cpu presets for us
09:35stintelok so I'll try throwing that in /etc/portage/env/www-client/chromium
09:36chaos_princesstpidr should not be m1-specific
09:37stintelI have an M2 and was just using this in /etc/portage/env/www-client/chromium COMMON_FLAGS="-O2 -pipe"
09:37stintelbecause of many previous build issues
09:37chaos_princessprobably a hot take, but google's "open source" is literally the worst.
09:37stintelbut that gives me __arm_tpidr2_save with www-client/chromium-131.0.6778.139
09:37stintelso I'll try -mcpu=apple-m2
09:38chaos_princessit's like they are religiously opposed to the concept of using standard tools
09:38stintelaarch64-unknown-linux-gnu-gcc: fatal error: unknown value ‘apple-m2’ for ‘-mcpu’
09:38j`eychaos_princess: NIH syndrome
09:39chadmedgerrit is an abomination and probably the most egregious offence
09:39chadmedmozilla have mercurial and mach too which.... ugh
09:40stintelI'd stop using chromium but I can't really
09:40chadmedgerrit though... imagine naming such a fuck ugly piece of crap after a designer like cmon
09:40stintelthere's enough websites that simply do not work in firefox :(
09:40mixihttps://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
09:40mixibut the user cflags overwrite it, so the file that unconditionally depends on sme intrinsics can't be built
09:41mixithe 'COMMON_FLAGS="-O2 -pipe"' bit should work around that one error
09:42chadmedcustom-cflags is probably required here then
09:43mixiI think it should be the opposite - disabling custom cflags should help
09:44mixior am I misunderstanding what the option is supposed to do?
09:44mixithe proper fix would be for google to fix their build system to pass the user cflags before their overwrites, not after
09:45chadmedby default, ebuilds with the custom-cflags USE flag will _not_ use the user cflags
09:45chadmedyou have to enable the USE flag for your own cflags to override whatever the build system has asked for
09:46chadmedthis 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
09:52leiosorry, 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?
09:53chaos_princessmaybe, but unrelated to current issue
09:53leioi.e., if it gets compiled, might be trouble anyways?
09:53chaos_princessthere is a patch that fixes 16k floating around somewhere iirc
09:53j`eychange true to false somewhere
09:53chaos_princesssth like that :P
09:54j`eythe rest is left as an exercise to the reader
09:54chadmedsed -i 's/true/false/g' src/*/* ezpz
09:54leioso 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
09:55chaos_princesschadmed: #define if (...) if ((arc4random() & 1) && (__VA_ARGS)) :P
09:55leiofor 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
09:56chadmedchaos_princess: almost as bad as that one nodejs package that asks chatgpt if a number is even
09:56chaos_princessand that is depended by literally half the npm?
09:57chaos_princessleio: from what i hear, the 16k fix is to revert this thing https://chromium-review.googlesource.com/c/v8/v8/+/5864909
09:58chadmedim 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
09:59chadmedthat is indeed the fix for chromium
09:59Halian| has joined #asahi-alt
09:59chadmedthe flatpak has been working for me when i need it though, apart from a single page that also crashes on edge on my work computer so *shrug*
10:00Halian has quit [Ping timeout: 480 seconds]
10:02leioso if it's crashy in ::gentoo, please someone work with Kangie in #gentoo-arm on that and get it fixed there; beware, he's same timezone as chadmed
10:07chaos_princessso... who here uses chromium on gentoo? :P
10:09chadmedi use the flatpak for work for $reasons but aint no way im compiling chromium _and_ qtwebengine
10:12leioat least it only takes an hour
10:12leioor well, 28 minutes for qtwebengine
10:13leioI do use it occasionally because I refuse to fake UA for slack huddles to work in firefox, as they'd not see I'm using firefox for it for the rest of the time then
10:13leiobut I'm not at 131 yet
10:17kdb42490354 has joined #asahi-alt
10:22kdb4249035 has quit [Ping timeout: 480 seconds]
10:22kdb42490354 is now known as kdb4249035
10:28n3ph_ has joined #asahi-alt
10:30zerdoxmy chrome compilation now goes further and previous error resolved, thank you
10:30zerdoxdo i need to apply that 16k patch?
10:30n3ph has quit [Ping timeout: 480 seconds]
10:31chaos_princessif you are ok doing extra recompiles, try it without the patch first and see how crashy is it
10:31zerdoxyes its ok for me
10:41dcavalca8569 has quit []
10:42dcavalca8569 has joined #asahi-alt
10:59kdb4249035 has quit [Ping timeout: 480 seconds]
11:17n3ph_ has quit [Quit: WeeChat 4.4.3]
11:17n3ph has joined #asahi-alt
11:23n3ph has quit [Quit: WeeChat 4.4.3]
11:25n3ph has joined #asahi-alt
11:38verlio has quit [Ping timeout: 480 seconds]
11:48verlio has joined #asahi-alt
11:50kdb4249035 has joined #asahi-alt
11:56verlio has quit [Ping timeout: 480 seconds]
12:06verlio has joined #asahi-alt
12:46ethantwardy has quit [Quit: WeeChat 4.4.2]
12:49tobhe_ has quit [Remote host closed the connection]
13:36tobhe has joined #asahi-alt
13:51n3ph_ has joined #asahi-alt
13:54n3ph has quit [Ping timeout: 480 seconds]
14:24verlio has quit [Ping timeout: 480 seconds]
14:25n3ph_ has quit [Ping timeout: 480 seconds]
14:36verlio has joined #asahi-alt
14:44verlio has quit [Ping timeout: 480 seconds]
15:10verlio has joined #asahi-alt
15:18verlio has quit [Ping timeout: 480 seconds]
15:30n3ph has joined #asahi-alt
16:02verlio has joined #asahi-alt
16:04n3ph has quit [Read error: No route to host]
16:10verlio has quit [Ping timeout: 480 seconds]
16:18verlio has joined #asahi-alt
16:26verlio has quit [Ping timeout: 480 seconds]
16:36hightower2 has joined #asahi-alt
16:38hightower4 has quit [Ping timeout: 480 seconds]
16:50hightower2 has quit [Remote host closed the connection]
16:52hightower2 has joined #asahi-alt
16:53verlio has joined #asahi-alt
17:01verlio has quit [Ping timeout: 480 seconds]
17:06kujeger- has joined #asahi-alt
17:11verlio has joined #asahi-alt
17:12qyliss has quit [Quit: bye]
17:13kujeger has quit [Ping timeout: 480 seconds]
17:20verlio has quit [Ping timeout: 480 seconds]
17:23verlio has joined #asahi-alt
17:23qyliss has joined #asahi-alt
17:31verlio has quit [Ping timeout: 480 seconds]
17:33verlio has joined #asahi-alt
17:42john-cabaj has joined #asahi-alt
18:00john-cabaj has quit [Ping timeout: 480 seconds]
18:57n3ph has joined #asahi-alt
19:29john-cabaj has joined #asahi-alt
19:44hightower2 has quit [Remote host closed the connection]
19:45hightower2 has joined #asahi-alt
19:54hightower2 has quit []
20:17zerdox_ has joined #asahi-alt
20:19zerdox has quit [Ping timeout: 480 seconds]
20:19zerdox_ is now known as zerdox
20:48zerdox has quit [Ping timeout: 480 seconds]
21:33n3ph has quit [Read error: No route to host]
21:37verlio has quit [Ping timeout: 480 seconds]
21:39verlio has joined #asahi-alt
23:51Halian| is now known as Halian
23:58lynndotpy has quit [Quit: bye bye]
…