On Fri, May 15, 2026, 3:37 AM Gyorgy Sarvari via lists.openembedded.org
<[email protected]> wrote:

>
> On 5/15/26 12:23, AshishKumar Mishra via lists.openembedded.org wrote:
> > Hi Khem / Team ,
> >
> > Able to reproduce the build error with CLANG
> > Brought meta-clang and tweaked the toolchain / cc / cxx provider as
> clang
>
>
> Just a small note: do not use meta-clang - it has been part of oe-core
> since the Whinlatter release.
>

Clarify a bit more here meta-clang is not needed to enable clang as the
compiler is provided by core layer now a days. So you should be able to
reproduce it with whatever settings you did but removing meta-clang

>
>
> > Will work to fix this and share the observation
> >
> > Sharing the error log to get an feedback just to avoid any gap's in
> > customization
> >
> > Below is the error :
> > bake-builds/poky-master/build/tmp/work/cortexa57-oe-linux/android-
> > tools/29.0.6.r14/android-tools=/usr/src/debug/android-tools/29.0.6.r14
> >  -ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/poky-master/
> > build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/recipe-
> > sysroot=  -ffile-prefix-map=/home/bti-001003/upstream/bitbake-builds/
> > poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/
> > recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=gnu++20 -
> > UADB_HOST -DADB_HOST=0 -DALLOW_ADBD_DISABLE_VERITY -DALLOW_ADBD_NO_AUTH
> > -DPLATFORM_TOOLS_VERSION='"28.0.2"'  -Isystem/core/diagnose_usb/include
> >  -Isystem/core/adb/daemon/include -Isystem/core/adb/adbconnection/
> > include -Isystem/core/libasyncio/include -Isystem/core/libcutils/include
> > -Isystem/core/libcrypto_utils/include -Isystem/core/liblog/include/ -
> > Isystem/core/libutils/include -Iframeworks/native/libs/adbd_auth/include
> > -Wno-c++11-narrowing  -DPAGE_SIZE=4096 -fPIC -Isystem/coreinclude -
> > Isystem/core/adb -Isystem/core/base/include  -Idebian/out/system/core -
> > Isystem/tools/mkbootimg/include/bootimg -Isystem/core/fs_mgr/include -
> > Isystem/core/fs_mgr/include_fstab -DADB_VERSION='""' -D_GNU_SOURCE -Wl,-
> > O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,-
> > rpath='$ORIGIN/../lib/android' -Wl,-rpath-link='$ORIGIN/../lib/android'
> > -lpthread -Ldebian/out/system/core -Ldebian/out/external/boringssl -
> > lbase -lcrypto_utils -l:libcrypto.a -lcutils -llog -lresolv
> > | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-
> > header' when in C++ mode, this behavior is deprecated [-Wdeprecated]
> > | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-
> > header' when in C++ mode, this behavior is deprecated [-Wdeprecated]
> > | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-
> > header' when in C++ mode, this behavior is deprecated [-Wdeprecated]
> > | aarch64-oe-linux-clang++: warning: treating 'c-header' input as 'c++-
> > header' when in C++ mode, this behavior is deprecated [-Wdeprecated]
> > | aarch64-oe-linux-clang++: error: cannot specify -o when generating
> > multiple output files
> > | make: *** [/home/bti-001003/upstream/bitbake-builds/poky-master/build/
> > tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/sources/android-
> > tools-29.0.6.r14/debian/system/core/adbd.mk:84: build] Error 1
> > | make: Leaving directory '/home/bti-001003/upstream/bitbake-builds/
> > poky-master/build/tmp/work/cortexa57-oe-linux/android-tools/29.0.6.r14/
> > sources/android-tools-29.0.6.r14'
> > | ERROR: oe_runmake failed
> > | WARNING: exit code 1 from a shell command.
> > ERROR: Task (/home/bti-001003/upstream/bitbake-builds/poky-master/
> > layers/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-
> > tools_29.0.6.r14.bb:do_compile) failed with exit code '1'
> > NOTE: Tasks Summary: Attempted 1685 tasks of which 275 didn't need to be
> > rerun and 1 failed.
> > Summary: 1 task failed:
> >   /home/bti-001003/upstream/bitbake-builds/poky-master/layers/meta-
> > openembedded/meta-oe/recipes-devtools/android-tools/android-
> > tools_29.0.6.r14.bb:do_compile
> >     log: /home/bti-001003/upstream/bitbake-builds/poky-master/build/tmp/
> >
> work/cortexa57-oe-linux/android-tools/29.0.6.r14/temp/log.do_compile.1623961
> > Summary: There were 12 WARNING messages.
> > Summary: There were 2 ERROR messages, returning a non-zero exit code.
> >  ~/upstream/bitbake-builds/poky-master/build :
> >  ~/upstream/bitbake-builds/poky-master/build :
> >
> >
> >
> >
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127007): 
https://lists.openembedded.org/g/openembedded-devel/message/127007
Mute This Topic: https://lists.openembedded.org/mt/119162735/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to