From: "Daniel P. Berrangé" <berrange@redhat.com>
To: marcandre.lureau@redhat.com
Cc: qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
"Kyle Evans" <kevans@freebsd.org>,
"Yonggang Luo" <luoyonggang@gmail.com>,
"Li-Wen Hsu" <lwhsu@freebsd.org>,
"Thomas Huth" <thuth@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Warner Losh" <imp@bsdimp.com>,
"Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Ed Maste" <emaste@freebsd.org>,
devel@lists.libvirt.org, qemu-rust@nongnu.org,
"Alex Bennée" <alex.bennee@linaro.org>,
"Kohei Tokunaga" <ktokunaga.mail@gmail.com>
Subject: Re: [PATCH v2 11/27] build-sys: cfi_debug and safe_stack are not compatible
Date: Wed, 24 Sep 2025 14:35:24 +0100 [thread overview]
Message-ID: <aNPznNG2e5x94Xts@redhat.com> (raw)
In-Reply-To: <20250924120426.2158655-12-marcandre.lureau@redhat.com>
On Wed, Sep 24, 2025 at 04:04:08PM +0400, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> It fails to link on fedora >= 41:
> /usr/bin/ld: /usr/bin/../lib/clang/20/lib/x86_64-redhat-linux-gnu/libclang_rt.safestack.a(safestack.cpp.o): in function `__sanitizer_internal_memcpy':
> (.text.__sanitizer_internal_memcpy+0x0): multiple definition of `__sanitizer_internal_memcpy'; /usr/bin/../lib/clang/20/lib/x86_64-redhat-linux-gnu/libclang_rt.ubsan_standalone.a(sanitizer_libc.cpp.o):(.text.__sanitizer_internal_memcpy+0x0): first defined here
> /usr/bin/ld: /usr/bin/../lib/clang/20/lib/x86_64-redhat-linux-gnu/libclang_rt.safestack.a(safestack.cpp.o): in function `__sanitizer_internal_memmove':
> (.text.__sanitizer_internal_memmove+0x0): multiple definition of `__sanitizer_internal_memmove'; /usr/bin/../lib/clang/20/lib/x86_64-redhat-linux-gnu/libclang_rt.ubsan_standalone.a(sanitizer_libc.cpp.o):(.text.__sanitizer_internal_memmove+0x0): first defined here
> /usr/bin/ld: /usr/bin/../lib/clang/20/lib/x86_64-redhat-linux-gnu/libclang_rt.safestack.a(safestack.cpp.o): in function `__sanitizer_internal_memset':
> (.text.__sanitizer_internal_memset+0x0): multiple definition of `__sanitizer_internal_memset'; /usr/bin/../lib/clang/20/lib/x86_64-redhat-linux-gnu/libclang_rt.ubsan_standalone.a(sanitizer_libc.cpp.o):(.text.__sanitizer_internal_memset+0x0): first defined here
>
> cfi_debug seems to pull ubsan which has conflicting symbols with safe_stack.
>
> See also: https://bugzilla.redhat.com/show_bug.cgi?id=2397265
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
> meson.build | 3 +++
> .gitlab-ci.d/buildtest.yml | 6 +++---
> 2 files changed, 6 insertions(+), 3 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2025-09-24 13:36 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-24 12:03 [PATCH v2 00/27] CI/build-sys fixes to enable Rust more widely marcandre.lureau
2025-09-24 12:03 ` [PATCH v2 01/27] build-sys: require -lrt when no shm_open() in std libs marcandre.lureau
2025-09-26 15:13 ` Alex Bennée
2025-09-24 12:03 ` [PATCH v2 02/27] gitlab-ci: fix 'needs' property type must be array marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 03/27] scripts/archive-source: speed up downloading subprojects marcandre.lureau
2025-09-26 15:22 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 04/27] scripts/archive-source: silence subprojects downloads marcandre.lureau
2025-09-26 15:41 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 05/27] scripts/archive-source: use a bash array marcandre.lureau
2025-09-26 15:44 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 06/27] configure: fix rust meson configuration marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 07/27] configure: set the bindgen cross target marcandre.lureau
2025-09-30 8:08 ` Marc-André Lureau
2025-09-30 14:58 ` Paolo Bonzini
2025-09-30 14:59 ` Paolo Bonzini
2025-09-24 12:04 ` [PATCH v2 08/27] tests/docker/common: print errors to stderr marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 09/27] tests/docker: use fully qualified image name for emsdk marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 10/27] tests/docker/common: print meson log on configure failure marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 11/27] build-sys: cfi_debug and safe_stack are not compatible marcandre.lureau
2025-09-24 13:35 ` Daniel P. Berrangé [this message]
2025-09-24 12:04 ` [PATCH v2 12/27] lcitool: update, switch to f41 marcandre.lureau
2025-09-24 13:44 ` Daniel P. Berrangé
2025-09-24 12:04 ` [PATCH v2 13/27] lcitool/qemu: include libclang-rt for TSAN marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 14/27] lcitool/alpine: workaround bindgen issue marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 15/27] tests/lcitool: add missing rust-std dep marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 16/27] tests/lcitool: update to debian13 marcandre.lureau
2025-09-24 12:19 ` Philippe Mathieu-Daudé
2025-09-26 16:41 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 17/27] tests/docker: add ENABLE_RUST environment marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 18/27] tests/lcitool: enable rust & refresh marcandre.lureau
2025-09-24 14:38 ` Thomas Huth
2025-09-24 12:04 ` [PATCH v2 19/27] configure: set the meson executable suffix/ext marcandre.lureau
2025-09-24 13:45 ` Daniel P. Berrangé
2025-09-24 12:04 ` [PATCH v2 20/27] tests/freebsd: enable Rust marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 21/27] meson: rust-bindgen limit allowlist-file to srcdir/include marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 22/27] RFC: tests/docker: add rust to debian-legacy-test-cross marcandre.lureau
2025-09-26 15:46 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 23/27] WIP: gitlab-ci: enable rust for msys2-64bit marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 24/27] WIP: cirrus/macos: enable Rust marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 25/27] RFC: build-sys: deprecate mips host marcandre.lureau
2025-09-24 12:21 ` Philippe Mathieu-Daudé
2025-09-24 12:24 ` Philippe Mathieu-Daudé
2025-09-24 12:04 ` [PATCH v2 26/27] build-sys: pass -fvisibility=default for wasm bindgen marcandre.lureau
2025-09-29 8:58 ` Kohei Tokunaga
2025-09-24 12:04 ` [PATCH v2 27/27] WIP: enable rust for wasm/emscripten marcandre.lureau
2025-09-29 8:52 ` Kohei Tokunaga
2025-10-01 11:30 ` Paolo Bonzini
2025-10-02 0:00 ` Kohei Tokunaga
2025-09-27 17:17 ` [PATCH v2 00/27] CI/build-sys fixes to enable Rust more widely Alex Bennée
2025-09-30 9:08 ` Paolo Bonzini
2025-09-30 10:20 ` Marc-André Lureau
2025-09-30 12:05 ` Marc-André Lureau
2025-09-30 12:42 ` Alex Bennée
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=aNPznNG2e5x94Xts@redhat.com \
--to=berrange@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=devel@lists.libvirt.org \
--cc=emaste@freebsd.org \
--cc=imp@bsdimp.com \
--cc=jiaxun.yang@flygoat.com \
--cc=kevans@freebsd.org \
--cc=ktokunaga.mail@gmail.com \
--cc=luoyonggang@gmail.com \
--cc=lwhsu@freebsd.org \
--cc=manos.pitsidianakis@linaro.org \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-rust@nongnu.org \
--cc=thuth@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.