-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromium: Update to 121.0.6167.184 #791
Conversation
@rjanani-p testing would be greatly appreciated! @rakuco as already mentioned in #716 (comment), it's sadly not feasible to fix all the compile errors that occur on kirkstone due to using clang 14. I suppose that means we should remove kirkstone from |
@MaxIhlenfeldt sure, I will start testing |
Hi @MaxIhlenfeldt , I have tested the pull request for below configurations:
Status:
I am sharing the results in document
please correct me if I am doing any mistakes. Thank you |
@MaxIhlenfeldt I have completed the build & testing for nanbield branch for below machines, sharing the testing status below: chromium worked well for qemux86-64, qemuarm64 machines but for qemuarm machine chromium browser not loading fully to check chromium version for chromium-ozone-wayland && chromium-x11 recipes:
:
**I didn't test with rpi4 due to hardware unavailability. ** next, I have started the build for master branch. |
Hi @MaxIhlenfeldt , I have completed the build & testing for poky master branch for below machines, sharing the testing status below: chromium worked well for qemux86-64, qemuarm64 machines but for qemuarm machine chromium browser not loading fully to check chromium version for chromium-x11 recipe and for chromium-ozone-wayland able to build the source code but getting below error during testing the qemux86-64, qemuarm64 && for qemuarm machine /target images. root@qemux86-64:~# chromium --no-sandbox 1.1.1.1 **I didn't test with rpi4 due to hardware unavailability. ** could you please share your input how to fix the issue? |
Hi @MaxIhlenfeldt @kraj , I have tried to build 791 pull request with poky mickledore and poky kirkstone branches but getting build issues for chromium-x11 recipe. Here I am sharing snippet of build log, could you please share your input how to resolve the issue.
is the error expected for poky kirkstone & mickledore branches |
@rjanani-p thanks for testing! I'm not sure I can help much with the runtime issues, maybe @rwmacleod knows more. Regarding the build issues:
|
Thanks for the response @MaxIhlenfeldt , sure I will check with @rwmacleod . |
@rjanani-p any updates on the runtime issues? m122 is already shipping to stable, so I'd like to get this PR merged and start working on the next version update. |
@MaxIhlenfeldt, I will work on it. I would like to inform; I am getting compilation issues for both poky nanbield and poky master branches for chromium-x11 package. Have you tried to build the chromium recently? for same pull request. I have observed that clang++ tried to compile the changes getting compilation issues. Here I am sharing the build issue snippet for reference, could you please share your input anything I need to add? m/build_poky_master/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chromium-x11/121.0.6167.184/recipe-sysroot-native= -g1 -fvisibility-inlines-hidden -stdlib=libc++ -c ../../third_party/webrtc/pc/legacy_stats_collector.cc -o obj/third_party/webrtc/pc/legacy_stats_collector/legacy_stats_collector.o |
Good day! With Yocto master branch repositories and this commit, i get next error, when compile for arm64 :
Clang version 18.1 Any ideas? |
Please port https://cgit.freebsd.org/ports/commit/?id=4c36b9d0387620442dced802e25078a06fb930ce to meta-chromium |
12df687
to
0f1902f
Compare
Done, thanks for finding the needed patches! @rjanani-p can you please try again to see if all compilation errors are fixed now? |
sure @MaxIhlenfeldt, I will check and update the results. |
@MaxIhlenfeldt , I am getting below compilation issue for qemux86-64 target, for both chromium-ozone-wayland && chromium-x11 recipes -stdlib=libc++ -c ../../components/power_metrics/energy_metrics_provider_linux.cc -o obj/components/power_metrics/power_metrics/energy_metrics_provider_linux.o poky-linux/chromium-x11/121.0.6167.184/chromium-121.0.6167.184/out/Release=/usr/src/debug/chromium-x11/121.0.6167.184 -fdebug-prefix-map=/buildarea/eng1/rpandi/wrkspc/chromium/buildchromium/build_poky_master/tmp/work/core2-64-poky-linux/chromium-x11/121.0.6167.184/recipe-sysroot= -fmacro-prefix-map=/buildarea/eng1/rpandi/wrkspc/chromium/buildchromium/build_poky_master/tmp/work/core2-64-poky-linux/chromium-x11/121.0.6167.184/recipe-sysroot= -fdebug-prefix-map=/buildarea/eng1/rpandi/wrkspc/chromium/buildchromium/build_poky_master/tmp/work/core2-64-poky-linux/chromium-x11/121.0.6167.184/recipe-sysroot-native= -g1 -fvisibility-inlines-hidden -stdlib=libc++ -c ../../components/power_metrics/energy_metrics_provider_linux.cc -o obj/components/power_metrics/power_metrics/energy_metrics_provider_linux.o | 1 error generated. I will start compiling changes for poky nanbield, thank you. |
0f1902f
to
ebbcb00
Compare
Forgot to add the new backports to |
Thank you very much for fix! But after all is compiled, linker give me this error.
Clang 18.1 (i fix it, because 18.1.1 from master branch of meta-clang give new error on compilation} There was no error in the previous version of clang on 120 version of chromium with mickledore version of meta-openembedd and poky! I had a similar problem when I tried to switch to version 123 on my own after finalizing all the patches. |
Last week NXP posted an update to their ecosystem to Nanbield and a new branch appeared in meta-imx. I ran the build with it, but I see the following:
I am attaching a set of patches. Perhaps there is an adaptation option. |
@MaxIhlenfeldt ,I have completed the testing for Poky master with latest changes, sharing the results for reference:
|
Given the above and #789, I think we'll have to stop supporting kirkstone for the time being. I agree with creating a branch as well. |
I got problem 4 when I tried to compile chromium with clang version 18.1.1, version 18.1.0 does not have the problem. |
clang does not install anything under |
It works. @MaxIhlenfeldt thank you for your work |
I got this issue when i add master branch to my manifest without revision and meta-clang automatically takes from latest master branch commit. When i set revision in manifest to eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52 commit (lksctp-tools: Reset SECURITY_STACK_PROTECTOR with clang) , last before bump to 18.1.1 version, all is good. |
it is not a clang problem as fas as I can tell. Look into how chromium recipe munges with sysroot. |
This is done by us, in the In any case, the issue is separate from this update PR, please file an issue where we can track it. @VaginAY |
@rjanani-p does the Finally, is this specific to this update, or does the issue also happen when you build c76bc3a (the latest commit on master)? If it's unrelated, we might be able to go ahead with this PR and fix the issue separately. |
let me cross check the issue with clean rebuild and I am facing issue with MaxIhlenfeldt:121.0.6167.184 code changes and I haven't tested with meta-browser master branch recently. I will check with meta-browser master branch too. |
issue created |
@MaxIhlenfeldt ,I have completed the testing for Poky nanbield with latest changes, sharing the results for reference:
|
FAILED: prebuilt_rustc_sysroot/lib/rustlib/x86_64-poky-linux-gnu/lib/libprofiler_builtins.rlib /buildarea/eng1/rpandi/wrkspc/chromium/buildchromium/build_poky_master/tmp/work/core2-64-poky-linux/chromium-ozone-wayland/120.0.6099.224/chromium-120.0.6099.224/tools/metrics/histograms/../common/models.py:260: SyntaxWarning: invalid escape sequence '\w' please find build log and could please check, is these are expected results for if we are building with meta-browser master branch. |
@rjanani-p thanks for testing! Regarding the remaining |
Given that all m121-specific issues seem to have been resolved by now, I'll go ahead and merge this. |
Release notes: https://chromereleases.googleblog.com/2024/01/stable-channel-update-for-desktop_23.html https://chromereleases.googleblog.com/2024/01/stable-channel-update-for-desktop_30.html https://chromereleases.googleblog.com/2024/02/stable-channel-update-for-desktop.html https://chromereleases.googleblog.com/2024/02/stable-channel-update-for-desktop_13.html Build and patch changes: ------------------------ Drop five backported patches that are included upstream now, and add three new backports. Drop arm/0002-Fix-ARM-build-with-recent-glibc.patch as https://crrev.com/c/5035139 includes an equivalent patch. Add 0019-Don-t-require-profiler_builtins.rlib.patch to fix a build error when using OE master. Rebase and renumber remaining patches. License changes: ---------------- Added licenses: * third_party/lit/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/5046161 Removed licenses: * base/third_party/xdg_mime/LICENSE - https://chromium-review.googlesource.com/c/chromium/src/+/4996430 * native_client/LICENSE - not sure which change caused this, but we don't use NativeClient anyways Updated licenses: * third_party/libxml/src/Copyright - https://chromium-review.googlesource.com/c/chromium/src/+/4985186 Test-built (big thanks to @rjanani-p): -------------------------------------- * chromium-ozone-wayland: - master, clang, MACHINE=qemuarm, qemux86-64 - nanbield, clang, MACHINE=qemuarm64, qemux86-64 * chromium-x11: - master, clang, MACHINE=qemuarm, qemuarm64, qemux86-64 - nanbield, clang, MACHINE=qemuarm, qemuarm64, qemux86-64 Signed-off-by: Max Ihlenfeldt <max@igalia.com>
ebbcb00
to
88fa333
Compare
Fixes OSSystems#792. Build and patch changes: ------------------------ In OSSystems#782, we decided to depend on rust instead of libstd-rs, because the latter didn't include libprofiler_builtins and also used a naming scheme that trips up Chromium. However, in OSSystems#791 we decided to patch Chromium so that it doesn't need libprofiler_builtins any more, because the master version of the rust recipe also doesn't include it. Finally, while investigating OSSystems#792 it turned out that our approach breaks as soon as we have something that depends on libstd-rs in our dependency graph. In that scenario, both libstd-rs and rust (the latter due to our bbappend file) install Rust libraries to /usr/lib/rustlib. This first leads to Chromium build system errors (due to libstd-rs's naming scheme), and after fixing these to Rust compiler errors due to multiple versions being present. The conclusion is now that we can depend on libstd-rs we should do so. This only requires a small change to Chromium's Rust build scripts to adapt them to the slightly different naming scheme. License changes: ---------------- Added licenses: none. Removed licenses: none. Updated licenses: none. Test-built: ----------- * chromium-wayland: - nanbield, clang, MACHINE=qemuarm64 * chromium-x11: - master, clang, MACHINE=qemuarm Signed-off-by: Max Ihlenfeldt <max@igalia.com>
Fixes OSSystems#792. Build and patch changes: ------------------------ In OSSystems#782, we decided to depend on rust instead of libstd-rs, because the latter didn't include libprofiler_builtins and also used a naming scheme that trips up Chromium. However, in OSSystems#791 we decided to patch Chromium so that it doesn't need libprofiler_builtins any more, because the master version of the rust recipe also doesn't include it. Finally, while investigating OSSystems#792 it turned out that our approach breaks as soon as we have something that depends on libstd-rs in our dependency graph. In that scenario, both libstd-rs and rust (the latter due to our bbappend file) install Rust libraries to /usr/lib/rustlib. This first leads to Chromium build system errors (due to libstd-rs's naming scheme), and after fixing these to Rust compiler errors due to multiple versions being present. The conclusion is now that we can depend on libstd-rs we should do so. This only requires a small change to Chromium's Rust build scripts to adapt them to the slightly different naming scheme. License changes: ---------------- Added licenses: none. Removed licenses: none. Updated licenses: none. Test-built: ----------- * chromium-wayland: - nanbield, clang, MACHINE=qemuarm64 * chromium-x11: - master, clang, MACHINE=qemuarm Signed-off-by: Max Ihlenfeldt <max@igalia.com>
Fixes OSSystems#792. Build and patch changes: ------------------------ In OSSystems#782, we decided to depend on rust instead of libstd-rs, because the latter didn't include libprofiler_builtins and also used a naming scheme that trips up Chromium. However, in OSSystems#791 we decided to patch Chromium so that it doesn't need libprofiler_builtins any more, because the master version of the rust recipe also doesn't include it. Finally, while investigating OSSystems#792 it turned out that our approach breaks as soon as we have something that depends on libstd-rs in our dependency graph. In that scenario, both libstd-rs and rust (the latter due to our bbappend file) install Rust libraries to /usr/lib/rustlib. This first leads to Chromium build system errors (due to libstd-rs's naming scheme), and after fixing these to Rust compiler errors due to multiple versions being present. The conclusion is now that we can depend on libstd-rs we should do so. This only requires a small change to Chromium's Rust build scripts to adapt them to the slightly different naming scheme. License changes: ---------------- Added licenses: none. Removed licenses: none. Updated licenses: none. Test-built: ----------- * chromium-wayland: - nanbield, clang, MACHINE=qemuarm64 * chromium-x11: - master, clang, MACHINE=qemuarm Signed-off-by: Max Ihlenfeldt <max@igalia.com>
chromium: Depend on libstd-rs instead of rust Fixes #792. Build and patch changes: ------------------------ In #782, we decided to depend on rust instead of libstd-rs, because the latter didn't include libprofiler_builtins and also used a naming scheme that trips up Chromium. However, in #791 we decided to patch Chromium so that it doesn't need libprofiler_builtins any more, because the master version of the rust recipe also doesn't include it. Finally, while investigating #792 it turned out that our approach breaks as soon as we have something that depends on libstd-rs in our dependency graph. In that scenario, both libstd-rs and rust (the latter due to our bbappend file) install Rust libraries to /usr/lib/rustlib. This first leads to Chromium build system errors (due to libstd-rs's naming scheme), and after fixing these to Rust compiler errors due to multiple versions being present. The conclusion is now that we can depend on libstd-rs we should do so. This only requires a small change to Chromium's Rust build scripts to adapt them to the slightly different naming scheme. Also, while we're already reworking our Rust setup, we can remove the remaining part of our bbappend for the rust recipe and instead inherit the `rust-common` class, thereby inheriting `rust-target-config` (which needs stuff from `rust-common`). This means we get the `target.json` files the Rust compiler needs installed in the directory pointed to by the `RUST_TARGET_PATH` environment variable. License changes: ---------------- Added licenses: none. Removed licenses: none. Updated licenses: none. Test-built: ----------- * chromium-wayland: - nanbield, clang, MACHINE=qemuarm64 * chromium-x11: - master, clang, MACHINE=qemuarm Signed-off-by: Max Ihlenfeldt <max@igalia.com>
Release notes:
https://chromereleases.googleblog.com/2024/01/stable-channel-update-for-desktop_23.html
https://chromereleases.googleblog.com/2024/01/stable-channel-update-for-desktop_30.html
https://chromereleases.googleblog.com/2024/02/stable-channel-update-for-desktop.html
https://chromereleases.googleblog.com/2024/02/stable-channel-update-for-desktop_13.html
Build and patch changes:
Drop five backported patches that are included upstream now, and add
three new backports.
Drop arm/0002-Fix-ARM-build-with-recent-glibc.patch as
https://crrev.com/c/5035139 includes an equivalent patch.
Add 0019-Don-t-require-profiler_builtins.rlib.patch to fix a build error
when using OE master.
Rebase and renumber remaining patches.
License changes:
Added licenses:
Removed licenses:
Updated licenses:
Test-built (big thanks to @rjanani-p):
Signed-off-by: Max Ihlenfeldt max@igalia.com