From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: mathieu.dubois-briand@bootlin.com, ross.burton@arm.com,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v3 1/8] clang: improve opt-viewer PACKAGECONFIG
Date: Wed, 17 Sep 2025 15:27:39 +0100 [thread overview]
Message-ID: <649e1641a6b3dac8cba302ea6b4b537da53ee892.camel@linuxfoundation.org> (raw)
In-Reply-To: <DCV0ZAHF908J.1UVS55MZ1J8G3@bootlin.com>
On Wed, 2025-09-17 at 13:06 +0200, Mathieu Dubois-Briand via lists.openembedded.org wrote:
> On Mon Sep 15, 2025 at 9:11 PM CEST, Ross Burton via lists.openembedded.org wrote:
> > Instead of patching the python module detection, we can use the hidden
> > option LLVM_TOOL_OPT_VIEWER_BUILD.
> >
> > Signed-off-by: Ross Burton <ross.burton@arm.com>
> > ---
>
> Hi Ross,
>
> Sorry, but it looks like one of these patches is breaking tc tests:
>
> ERROR: clang-native-21.1.1-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/work/x86_64-linux/clang-native/21.1.1/temp/run.do_compile.1114131' failed with exit code 1
> ...
> /clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -o bin/clang-tblgen /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/work/x86_64-linux/clang-native/21.1.1/recipe-sysroot-native/usr/lib/libLLVMSupport.a /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/work/x86_64-linux/clang-native/21.1.1/recipe-sysroot-native/usr/lib/libLLVMTableGen.a /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/work/x86_64-linux/clang-native/21.1.1/recipe-sysroot-native/usr/lib/libLLVMSupport.a -lrt -ldl -lm -lz -lzstd /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/work/x86_64-linux/clang-native/21.1.1/recipe-sysroot-native/usr/lib/libLLVMDemangle.a && :
> > /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/hosttools/ld: /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/work/x86_64-linux/clang-native/21.1.1/recipe-sysroot-native/usr/lib/libLLVMTableGen.a(TGLexer.cpp.o): in function `llvm::TGLexer::LexNumber() [clone .localalias]':
> > TGLexer.cpp:(.text._ZN4llvm7TGLexer9LexNumberEv+0xea): undefined reference to `__isoc23_strtoll'
> > /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3689262/tmp/hosttools/ld: TGLexer.cpp:(.text._ZN4llvm7TGLexer9LexNumberEv+0xf1): undefined reference to `__isoc23_strtoull'
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/5/builds/2313
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/2308
>
> On the good news, reproducibility issues seem to be gone.
This is a horrible one.
For a bit of background and the fun we had in pseudo with this:
https://git.yoctoproject.org/pseudo/commit/?id=865ca5b647bba47ca5c4d3e65597d9a25d4261bf
Cheers,
Richard
next prev parent reply other threads:[~2025-09-17 14:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 19:11 [PATCH v3 1/8] clang: improve opt-viewer PACKAGECONFIG Ross Burton
2025-09-15 19:11 ` [PATCH v3 2/8] clang: disable all test targets Ross Burton
2025-09-15 19:11 ` [PATCH v3 3/8] clang: add option for llvm-exegesis Ross Burton
2025-09-15 19:11 ` [PATCH v3 4/8] clang: remove obsolete install steps Ross Burton
2025-09-15 19:11 ` [PATCH v3 5/8] llvm: add recipe for just the LLVM libraries Ross Burton
2025-09-15 19:11 ` [PATCH v3 6/8] clang: use llvm recipe Ross Burton
2025-09-15 19:11 ` [PATCH v3 7/8] clang: use EXTRA_OECMAKE += Ross Burton
2025-09-15 19:11 ` [PATCH v3 8/8] clang: globally disable build-time RPATHs for reproducibility Ross Burton
2025-09-17 11:06 ` [OE-core] [PATCH v3 1/8] clang: improve opt-viewer PACKAGECONFIG Mathieu Dubois-Briand
2025-09-17 14:27 ` Richard Purdie [this message]
2025-09-17 16:24 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=649e1641a6b3dac8cba302ea6b4b537da53ee892.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox