-
Notifications
You must be signed in to change notification settings - Fork 1
Test changes from my whinlatter compatibility PR #14
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
base: for/review/ossystems/master/138.0.7204.157
Are you sure you want to change the base?
Test changes from my whinlatter compatibility PR #14
Conversation
6c723b8
to
20f14e4
Compare
I've kicked a build: https://github.com/brightsign/meta-browser/actions/runs/17744437113 |
Build failed. Can you give me the hashes you used for: meta-oe, meta-clang, poky. |
Hi,
|
20f14e4
to
6cbbbe5
Compare
I just replaced the last commit. With |
Still failed, with a much advanced state. It complains about a rust module:
|
I've replied your message on other pull request. I'll test this, but I first want to land the existing changes and do the adaptations for latest oe as a follow up. Some general comments about the changeset:
|
So the bottom line is meta-browser master should more aggressively remove support for older versions then. This way, no conditionals are necessary. |
FWIW, I tried to revive my OSSystems#918 with the lld fix, and it also failed with a rust related error, only with more missing symbols that are alloc related. Maybe rust 1.89 needs an even newer chromium, like 139 or 140. |
Can you please try adding this change as a patch: |
The build is in progress and has long passed the previous failure point. I will report back. Regarding the extra changes: I can clean up the conditionals and make meta-chromium whinlatter-only. Or we can keep them, because meta-firefox in the same repository also uses them to keep compatibility with walnascar and older. In fact, the whole conditional idea came from there. |
This would be my preferred option. Chromium is much more complicated and fragile than Firefox. |
The build failed at 57% with this:
|
There are breaking changes in whinlatter in oe-core. Part of the changes was that meta-clang was merged into oe-core. There's no need to depend on meta-clang anymore. Signed-off-by: Zoltán Böszörményi <[email protected]>
f27f9fe
to
112fe39
Compare
Cleaned up the conditionals. |
I suspect this is due to new compiler not being happy with some old code. Can you paste entire error message? |
|
it is due to strict argument number checking for macros on Clang21. You need to add this patch to your build: |
Compiling |
e3da573
to
5961b8b
Compare
Next error, this time it's Rust again:
|
Seems like Chromium haven't started using the latest Rust yet. I can't find a patch addressing this issue upstream on latest Chromium. You need these changes in the source:
and
You will likely find more problems though. |
5961b8b
to
017f03b
Compare
I went a different route. Instead of finding patches that can be cherry picked, I upgraded to chromium 140 and it completed the build. |
RUNTIME and TC_CXX_RUNTIME are both set explicitly to "llvm" in chromium.inc. Therefore the :runtime-llvm override is not needed because it's always on. But it's also a problem in whinlatter now, because the DEPENDS = "compiler-rt" is not applied properly, making do_copy_clang_library() fail. Remove :runtime-llvm override. Use TOOLCHAIN_NATIVE instead of TOOLCHAIN:class-native. Drop 0008-Use-the-correct-path-to-libclang_rt.builtins.a.patch and fix do_copy_clang_library() in a way that's compatible with clang in oe-core. Depend on lld-native. Signed-off-by: Zoltán Böszörményi <[email protected]>
017f03b
to
508981d
Compare
Signed-off-by: Zoltán Böszörményi <[email protected]>
Hi,
I tried your changes from OSSystems#920 but it failed to build for me, see my comment there.
I cherry-picked/adapted/salvaged some changes from my own PR at OSSystems#918 and it seems to build now.