| Message ID | 20260905015402.689119-1-khem.raj@oss.qualcomm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-networking] dovecot: Work around clang 23 hang | expand |
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.4.5.bb b/meta-networking/recipes-support/dovecot/dovecot_2.4.5.bb index 2f4981bee1..27d19f178e 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.4.5.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.4.5.bb @@ -20,6 +20,9 @@ SRC_URI[sha256sum] = "868c2686a61b5f8e00a3e4721789b1ab46e6528fd773a5fbed07a6ecba DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" CFLAGS += "-I${STAGING_INCDIR}/tirpc" +# clang 23 runs into infinite loop while compiling it +CFLAGS:append:toolchain-clang = " -mllvm -disable-lsr" + LDFLAGS += "-ltirpc" inherit autotools pkgconfig systemd useradd gettext multilib_header
clang 23 gets stuck in an infinite loop compiling dovecot, so the build never completes. turn off loop strenght reduction opt pass Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-networking/recipes-support/dovecot/dovecot_2.4.5.bb | 3 +++ 1 file changed, 3 insertions(+)