Skip to content
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: dunfell build fails because host include directories are used for native build #726

Open
MaxIhlenfeldt opened this issue Jun 20, 2023 · 12 comments
Assignees

Comments

@MaxIhlenfeldt
Copy link
Collaborator

Example error (happens for multiple files):

FAILED: yocto_native/obj/third_party/boringssl/boringssl/handoff.o
clang++ -MMD -MF yocto_native/obj/third_party/boringssl/boringssl/handoff.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_
LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_ALLOW_CXX_RUNTIME -DBORINGSSL_NO_STATIC_INITIALI
ZER -DOPENSSL_SMALL -I../.. -Iyocto_native/gen -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-prote
ctor -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lowe
r-dbg-declare=0 -ffp-contract=off -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstrin
g-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-missing-field-initializers -Wno-unused
-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-unknown-warning-option -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfi
eld-constant-conversion -Wno-deprecated-this-capture -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-
hidden -isystem/home/gitlab-runner/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/include   -isyste
m/home/gitlab-runner/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/include   -O2 -pipe -c ../../th
ird_party/boringssl/src/ssl/handoff.cc -o yocto_native/obj/third_party/boringssl/boringssl/handoff.o
In file included from ../../third_party/boringssl/src/ssl/handoff.cc:15:
In file included from ../../third_party/boringssl/src/include/openssl/ssl.h:145:
In file included from ../../third_party/boringssl/src/include/openssl/base.h:526:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/memory:76:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/unique_ptr.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ostream:38:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/ios_base.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/locale_classes.h:40:
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:127:6: error: use of undeclared identifier '__ops'; did you mean '__gnu_cxx::__ops'?
                                        __ops::__pred_iter(std::ref(__pred)));
                                        ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/predefined_ops.h:37:11: note: '__gnu_cxx::__ops' declared here
namespace __ops
          ^
In file included from ../../third_party/boringssl/src/ssl/handoff.cc:15:
In file included from ../../third_party/boringssl/src/include/openssl/ssl.h:145:
In file included from ../../third_party/boringssl/src/include/openssl/base.h:526:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/memory:76:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/unique_ptr.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ostream:38:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ios:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/ios_base.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/locale_classes.h:40:
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:141:6: error: use of undeclared identifier '__ops'; did you mean '__gnu_cxx::__ops'?
                                        __ops::__iter_equals_val(__value));
                                        ^
/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/predefined_ops.h:37:11: note: '__gnu_cxx::__ops' declared here
namespace __ops
          ^
2 errors generated.

(first seen here)

I checked using bitbake -c devshell chromium-x11 and indeed, the native version uses host headers, while the cross-compile version does not:

> clang++ -v -x c++ -E /dev/null
clang version 12.0.0 (https://github.com/llvm/llvm-project fa0971b87fb2c9d14d1bba2551e61f02f18f329b)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/12
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
 (in-process)
 "/home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/bin/clang-12" -cc1 -triple x86_64-unknow
n-linux-gnu -E -disable-free -disable-llvm-verifier -discard-value-names -main-file-name null -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -fno-rounding-mat
h -mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic -fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir /home/max/yocto-chromium/builds/ci-chromium-x11-rpi
4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/lib/clang/12.0.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/1
2 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12
-internal-isystem /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/backward -internal-isystem /usr/local/include -internal-isystem /home/max/yocto-chromium/builds/ci-chromium-x11-rp
i4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/lib/clang/12.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-e
xternc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe
-linux/chromium-x11/114.0.5735.133-r0/chromium-114.0.5735.133 -ferror-limit 19 -stack-protector 2 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -o - -x c++ /
dev/null
clang -cc1 version 12.0.0 based upon LLVM 12.0.0 default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
ignoring duplicate directory "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12
 /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12
 /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/backward
 /usr/local/include
 /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/lib/clang/12.0.0/include
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
# 1 "/dev/null"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 389 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/dev/null" 2

> aarch64-oe-linux-clang++ -v -x c++ -E /dev/null
clang version 12.0.0 (https://github.com/llvm/llvm-project fa0971b87fb2c9d14d1bba2551e61f02f18f329b)
Target: aarch64-oe-linux
Thread model: posix
InstalledDir: /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux
 (in-process)
 "/home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/bin/clang-12" -cc1 -triple aarch64-oe-li
nux -E -disable-free -disable-llvm-verifier -discard-value-names -main-file-name null -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -fno-rounding-math -
mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-
dir /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/lib/clang/12.0.0 -internal-isystem /us
r/local/include -internal-isystem /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/lib/cla$
g/12.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfe
ll/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/chromium-114.0.5735.133 -ferror-limit 19 -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fcxx-exceptions -fexception
s -fcolor-diagnostics -faddrsig -o - -x c++ /dev/null
clang -cc1 version 12.0.0 based upon LLVM 12.0.0 default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/aarch64-oe-linux/chromium-x11/114.0.5735.133-r0/recipe-sysroot-native/usr/lib/clang/12.0.0/include
 /usr/include
End of search list.
# 1 "/dev/null"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 409 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/dev/null" 2
@rakuco
Copy link
Collaborator

rakuco commented Jun 20, 2023

Just to confirm: is this something that only happens on dunfell? At first it sounds like an issue that'd be reproducible on all branches. If not, I guess the good news is that this has already been fixed in other branches :-)

@MaxIhlenfeldt
Copy link
Collaborator Author

I've only ever seen it on dunfell, yes. But I only ever build chromium-x11 on dunfell, and chromium-ozone-wayland on other releases, do you think that might make a difference?

@rakuco
Copy link
Collaborator

rakuco commented Jun 20, 2023

I think not, I'd expect chromium-ozone-wayland to also have to build the native BoringSSL bits just like the X11 version.

At this point I don't remember if we also build libc++ on the host. Looking at the logs above we at least build clang-native, but it seems to be using the host's libstdc++.

@MaxIhlenfeldt
Copy link
Collaborator Author

I've tried to get the dunfell build working on another machine (Arch Linux), but that one already fails to compile nodejs-native (same as on my other Arch machine):

|   gcc  -o Release/obj.host/v8_zlib/deps/v8/third_party/zlib/gzlib.o ../deps/v8/third_party/zlib/gzlib.c '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.84"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DV8_ARRAY_BUFFER_EXTENSION' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSION' '-DZLIB_IMPLEMENTATION' -I/home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/x86_64-linux/nodejs-native/14.18.1-r0/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google  -pthread -Wno-unused-parameter -m64 -Wno-return-type -fno-strict-aliasing -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3  -MMD -MF .//Release/.deps/Release/obj.host/v8_zlib/deps/v8/third_party/zlib/gzlib.o.d.raw -isystem/home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/x86_64-linux/nodejs-native/14.18.1-r0/recipe-sysroot-native/usr/include -isystem/home/max/yocto-chromium/builds/ci-chromium-x11-rpi4-dunfell/tmp-glibc/work/x86_64-linux/nodejs-native/14.18.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c
| In file included from ../deps/v8/src/base/macros.h:12,
|                  from ../deps/v8/src/libplatform/worker-thread.h:12,
|                  from ../deps/v8/src/libplatform/worker-thread.cc:5:
| ../deps/v8/src/base/logging.h: In function ‘typename std::enable_if<(std::is_enum<_Tp>::value && (! v8::base::has_output_operator<T>::value)), std::__cxx11::basic_string<char> >::type v8::base::PrintCheckOperand(T)’:
| ../deps/v8/src/base/logging.h:170:34: error: ‘uint8_t’ was not declared in this scope
|   170 |       std::is_same<underlying_t, uint8_t>::value, uint16_t,
|       |                                  ^~~~~~~
| ../deps/v8/src/base/logging.h:16:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
|    15 | #include "src/base/template-utils.h"
|   +++ |+#include <cstdint>
|    16 |
| ../deps/v8/src/base/logging.h:170:41: error: template argument 2 is invalid
|   170 |       std::is_same<underlying_t, uint8_t>::value, uint16_t,
|       |                                         ^
| ../deps/v8/src/base/logging.h:170:51: error: ‘uint16_t’ was not declared in this scope
|   170 |       std::is_same<underlying_t, uint8_t>::value, uint16_t,
|       |                                                   ^~~~~~~~
| ../deps/v8/src/base/logging.h:170:51: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
| ../deps/v8/src/base/logging.h:172:61: error: template argument 1 is invalid
|   172 |                                 int16_t, underlying_t>::type>::type;
|       |                                                             ^
| ../deps/v8/src/base/logging.h:172:61: error: template argument 2 is invalid
| ../deps/v8/src/base/logging.h:172:62: error: ‘<declaration error>’ is not a template [-fpermissive]
|   172 |                                 int16_t, underlying_t>::type>::type;
|       |                                                              ^~
| ../deps/v8/src/base/logging.h:173:40: error: ‘int_t’ does not name a type; did you mean ‘wint_t’?
|   173 |   return PrintCheckOperand(static_cast<int_t>(static_cast<underlying_t>(val)));
|       |                                        ^~~~~
|       |                                        wint_t
| ../deps/v8/src/base/macros.h: At global scope:
| ../deps/v8/src/base/macros.h:338:25: error: ‘intptr_t’ has not been declared
|   338 | inline T RoundDown(T x, intptr_t m) {
|       |                         ^~~~~~~~
| ../deps/v8/src/base/macros.h:344:11: error: ‘intptr_t’ has not been declared
|   344 | template <intptr_t m, typename T>
|       |           ^~~~~~~~
| ../deps/v8/src/base/macros.h: In function ‘constexpr T RoundDown(T)’:
| ../deps/v8/src/base/macros.h:348:17: error: ‘m’ was not declared in this scope
|   348 |   STATIC_ASSERT(m != 0 && ((m & (m - 1)) == 0));
|       |                 ^
| ../deps/v8/src/base/macros.h:200:43: note: in definition of macro ‘STATIC_ASSERT’
|   200 | #define STATIC_ASSERT(test) static_assert(test, #test)
|       |                                           ^~~~
| ../deps/v8/src/base/macros.h: At global scope:
| ../deps/v8/src/base/macros.h:354:23: error: ‘intptr_t’ has not been declared
|   354 | inline T RoundUp(T x, intptr_t m) {
|       |                       ^~~~~~~~
| ../deps/v8/src/base/macros.h:358:11: error: ‘intptr_t’ has not been declared
|   358 | template <intptr_t m, typename T>
|       |           ^~~~~~~~
| ../deps/v8/src/base/macros.h: In function ‘constexpr T RoundUp(T)’:
| ../deps/v8/src/base/macros.h:361:20: error: ‘m’ was not declared in this scope
|   361 |   return RoundDown<m, T>(static_cast<T>(x + (m - 1)));
|       |                    ^
| ../deps/v8/src/base/macros.h: In function ‘void* AlignedAddress(void*, size_t)’:
| ../deps/v8/src/base/macros.h:372:51: error: ‘uintptr_t’ does not name a type
|   372 |   return reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(address) &
|       |                                                   ^~~~~~~~~
| ../deps/v8/src/base/macros.h:13:1: note: ‘uintptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
|    12 | #include "src/base/logging.h"
|   +++ |+#include <cstdint>
|    13 |
| ../deps/v8/src/base/macros.h:373:47: error: ‘uintptr_t’ does not name a type
|   373 |                                  ~static_cast<uintptr_t>(alignment - 1));
|       |                                               ^~~~~~~~~
| ../deps/v8/src/base/macros.h:373:47: note: ‘uintptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
| make[1]: *** [tools/v8_gypfiles/v8_libplatform.host.mk:141: Release/obj.host/v8_libplatform/deps/v8/src/libplatform/worker-thread.o] Error 1

I think this is because of the same underlying error - this V8 CL suggests to me that the GCC headers are used, which internally changed some of there imports in GCC 13, leading to these errors.

@MaxIhlenfeldt
Copy link
Collaborator Author

@kraj as this seems to be a dunfell-specific problem, not sure if looking at kraj/meta-clang@dunfell-clang12...kirkstone makes sense to maybe find out what fix kirkstone has that dunfell hasn't (probably in classes/clang.bbclass)?

@rakuco
Copy link
Collaborator

rakuco commented Jun 27, 2023

The nodejs-native issue seems to be different, as these other recipes are expected to use GCC by default anyway. You're not getting this error in kirkstone because Khem fixed the recipe there: openembedded/meta-openembedded@4cc7363

I think this specific issue can go away if the same fix is backported to 14.x.

@kraj
Copy link
Collaborator

kraj commented Jun 27, 2023

See openembedded/meta-openembedded@116bfe8

it was done exactly for supporting latest chromium so please do the preferred version thing when building chromium

@MaxIhlenfeldt
Copy link
Collaborator Author

I have PREFERRED_VERSION_nodejs-native = "14.%" in my conf/local.conf, is that not enough? It seems that the patch @rakuco linked above is missing for dunfell.

@kraj
Copy link
Collaborator

kraj commented Jun 27, 2023

That enough for supported build hosts for dunfell. If you are using some other distro which is using gcc13 then it might be an issue and if someone can validate that this would work then proposing a backport to dunfell for meta-oe might be ok

@MaxIhlenfeldt
Copy link
Collaborator Author

Yes, Arch Linux has updated to gcc13 already (Fedora 38 as well, and more distros will follow). I've confirmed that manually applying the changes from the linked patch fixes this build error. However, there's another build error that needs to be fixed: https://bugs.gentoo.org/904878

The upstream v8 fix that Gentoo backported requires a slight tweak: it uses std::{con,dis}junction, which are only available since C++17, but we're compiling NodeJS with -std=gnu++1y (i.e. C++14); luckily, the version of v8 used still has its own sec/base/type-traits.h that provides conjunction and disjunction. Thus, if we modify the patch to include that header and use {con,dis}junction instead of std::{con,dis}junction, everything works.

I can provide the patch files, maybe you could then please propose adding them to meta-oe?

@Iniesta8
Copy link

That enough for supported build hosts for dunfell. If you are using some other distro which is using gcc13 then it might be an issue and if someone can validate that this would work then proposing a backport to dunfell for meta-oe might be ok

I get the errors even though I meet all the requirements for dunfell:

  • I use Fedora 36 as host
  • I use the latest dunfell-clang12 branch of meta-clang
  • I use the latest dunfell branch of meta-openembedded
  • I use nodejs-native 14.%, set via PREFERRED_VERSION_nodejs-native

I've also picked the commit hash e8a756b of meta-browser that provides chromium-x11-112.0.5615.165...but I don't get it compiled.

Is there anything else I'm missing?

@MaxIhlenfeldt
Copy link
Collaborator Author

As this is fixed with the experimental dunfell-clang14 branch (mind that it's currently in a different repo, see kraj/meta-clang#835), I don't think you're missing something and this is just a bug with meta-clang/dunfell-clang12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants