[From nobody Sun May  3 22:03:04 2026
Received: (at submit) by bugs.debian.org; 10 Feb 2026 17:35:21 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-130.2 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 67; hammy, 150; neutral, 71; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;dparsons@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:44842)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;dparsons@debian.org&gt;) id 1vprdx-0046Ah-0W
 for submit@bugs.debian.org; Tue, 10 Feb 2026 17:35:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Date:Message-ID:Subject:To:From:
 Content-Transfer-Encoding:MIME-Version:Content-Type:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=nJlvadlMmZ7Hy4/1qVFQ6guQbC42HNPP/7THblGa5vQ=; b=SCmgHKPiiKo+6DVpaNTPN4Gagd
 wRCq/EHWLlUzmS8Hrh+sIfPS4+BoVM0Ue4vRJe9wsVIplFHH6zW0NLcfczAnsSf1YA5Xj/gIY6pPm
 IE6AcUjJWXNMMntocnUWd7LXVf8QLwh8HyNqpfJMfs3qy+DUTaO1hQAbN4Ns9OpwFlp1aWLc5nCRi
 hTWx9JoXfADX8jus6yCtGcDMpPv6PNefbDa2Nr6FrS88ZIJFQlzoEeuxdsCcg8d3+pw5OyKclElwb
 O8tN/z9NQvMe1EOwlvkz0xkioZ3yhgDyaqu7f4JFtFDvwsXIt5VVcW0tRsElwJIAuvp+oZLN1rjL4
 SMnnrcJw==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;dparsons@debian.org&gt;)
 id 1vprdv-00AQNn-0W; Tue, 10 Feb 2026 17:35:19 +0000
Received: from drew by sandy with local (Exim 4.99.1)
 (envelope-from &lt;dparsons@debian.org&gt;) id 1vprdu-0000000Bxph-0Klt;
 Tue, 10 Feb 2026 18:35:18 +0100
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Drew Parsons &lt;dparsons@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libxsimd-dev: clang errors on ppc64el
Message-ID: &lt;177074491806.2830799.10246506670704284682.reportbug@sandy&gt;
X-Mailer: reportbug 13.2.0
Date: Tue, 10 Feb 2026 18:35:18 +0100
X-Debian-User: dparsons
Delivered-To: submit@bugs.debian.org

Package: libxsimd-dev
Version: 14.0.0-2
Severity: serious
Justification: debci
X-Debbugs-Cc: debian-powerpc@lists.debian.org
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
Control: forwarded -1 https://github.com/xtensor-stack/xsimd/issues/1257
Control: affects -1 src:llvm-toolchain-21

xsimd 14.0.0 tests on ppc64el are passing with gcc 15 but failing with
clang 21.

If gcc is fine, is there a clang option we should apply,
or should it be consider a bug in clang?


2007s [  5%] Building CXX object CMakeFiles/test_xsimd.dir/test_api.cpp.o
2007s /usr/bin/clang++ -DXSIMD_ENABLE_XTL_COMPLEX=1  -Wunused-parameter -Wextra -Wreorder -Wshorten-64-to-32 -std=c++17 -g -fPIC -mcpu=native -mtune=native -O3 -DNDEBUG -MD -MT CMakeFiles/test_xsimd.dir/test_api.cpp.o -MF CMakeFiles/test_xsimd.dir/test_api.cpp.o.d -o CMakeFiles/test_xsimd.dir/test_api.cpp.o -c /tmp/autopkgtest-lxc.egz8qg2i/downtmp/build.Yvf/src/test/test_api.cpp
2010s In file included from /tmp/autopkgtest-lxc.egz8qg2i/downtmp/build.Yvf/src/test/test_api.cpp:12:
2010s In file included from /usr/include/xsimd/xsimd.hpp:63:
2010s In file included from /usr/include/xsimd/memory/xsimd_aligned_allocator.hpp:27:
2010s In file included from /usr/include/xsimd/memory/../config/xsimd_arch.hpp:19:
2010s In file included from /usr/include/xsimd/memory/../config/../types/xsimd_all_registers.hpp:51:
2010s /usr/include/xsimd/memory/../config/../types/xsimd_vsx_register.hpp:67:61: error: cannot use 'long' with '__vector bool'
2010s    67 |         XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(unsigned long, long);
2010s       |                                                             ^
2010s /usr/include/xsimd/memory/../config/../types/xsimd_vsx_register.hpp:68:52: error: cannot use 'long' with '__vector bool'
2010s    68 |         XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(long, long);
2010s       |                                                    ^
2010s /usr/include/xsimd/memory/../config/../types/xsimd_vsx_register.hpp:70:54: error: cannot use 'long' with '__vector bool'
2010s    70 |         XSIMD_DECLARE_SIMD_BOOL_VSX_REGISTER(double, long);
2010s       |                                                      ^
...
1987s In file included from /usr/include/xsimd/xsimd.hpp:77:
1987s In file included from /usr/include/xsimd/types/xsimd_batch.hpp:520:
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:429:20: error: no matching function for call to 'vec_ld'
1987s   429 |             return vec_ld(0, reinterpret_cast&lt;const typename batch&lt;T, A&gt;::register_type*&gt;(mem));
...
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:752:20: error: no matching function for call to 'vec_st'
1987s   752 |             return vec_st(self.data, 0, reinterpret_cast&lt;typename batch&lt;T, A&gt;::register_type*&gt;(mem));
...
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:436:20: error: no matching function for call to 'vec_vsx_ld'
1987s   436 |             return vec_vsx_ld(0, (typename batch&lt;T, A&gt;::register_type const*)mem);
...
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:335:24: error: call to 'vec_cmpeq' is ambiguous
1987s   335 |             auto res = vec_cmpeq(self.data, other.data);
...
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:222:20: error: call to 'vec_splats' is ambiguous
1987s   222 |             return vec_splats(val);
...
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:130:20: error: call to 'vec_and' is ambiguous
1987s   130 |             return vec_and(self.data, other.data);
...
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:759:20: error: no matching function for call to 'vec_vsx_st'
1987s   759 |             return vec_vsx_st(self.data, 0, reinterpret_cast&lt;typename batch&lt;T, A&gt;::register_type*&gt;(mem));
...
1987s In file included from /usr/include/xsimd/types/../arch/xsimd_isa.hpp:136:
1987s /usr/include/xsimd/types/../arch/./xsimd_vsx.hpp:335:24: error: call to 'vec_cmpeq' is ambiguous
1987s   335 |             auto res = vec_cmpeq(self.data, other.data);
...
1988s 19 errors generated.



Reported upstream,
https://github.com/xtensor-stack/xsimd/issues/1257
]