Bug#1049362: clang SIMD compatibility headers broken on ppc64el

Gianfranco Costamagna locutusofborg at debian.org
Mon Sep 11 11:01:55 BST 2023


control: reassign -1 llvm-toolchain-16
control: notfixed -1 1:15.0.7-11
control: fixed -1 1:16.0.6-11
control: close -1

On Mon, 11 Sep 2023 09:04:55 +0200 Gianfranco Costamagna <locutusofborg at debian.org> wrote:
> control: fixed -1 1:15.0.7-11
> control: close -1
> thanks
> On Mon, 14 Aug 2023 12:15:42 -0500 (CDT) Timothy Pearson <tpearson at raptorengineering.com> wrote:
> > Package: libclang-common-15-dev
> > Version: 1:15.0.7-8
> > Severity: important
> > Tags: upstream
> > Forwarded: https://github.com/llvm/llvm-project/issues/64664
> > 
> > After upgrading from clang 14 to clang 15 debian's chromium package fails to compile with SIMD errors:
> > 
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:71:25: error: use of undeclared identifier '__builtin_mffs'
> >     __fpscr_save.__fr = __builtin_mffs();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:74:5: error: use of undeclared identifier '__builtin_mtfsf'
> >     __builtin_mtfsf(0b00000011, __fpscr_save.__fr);
> >     ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:86:25: error: use of undeclared identifier '__builtin_mffsl'; did you mean '__builtin_infl'?
> >     __fpscr_save.__fr = __builtin_mffsl();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:86:25: note: '__builtin_infl' declared here
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:89:5: error: use of undeclared identifier '__builtin_set_fpscr_rn'
> >     __builtin_set_fpscr_rn(0b00);
> >     ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:105:5: error: use of undeclared identifier '__builtin_set_fpscr_rn'
> >     __builtin_set_fpscr_rn(__fpscr_save.__fpscr);
> >     ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:131:25: error: use of undeclared identifier '__builtin_mffsl'; did you mean '__builtin_infl'?
> >     __fpscr_save.__fr = __builtin_mffsl();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:86:25: note: '__builtin_infl' declared here
> >     __fpscr_save.__fr = __builtin_mffsl();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:133:5: error: use of undeclared identifier '__builtin_mtfsf'
> >     __builtin_mtfsf(0b00000011, __fpscr_save.__fr);
> >     ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:162:25: error: use of undeclared identifier '__builtin_mffs'
> >     __fpscr_save.__fr = __builtin_mffs();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:165:5: error: use of undeclared identifier '__builtin_mtfsf'
> >     __builtin_mtfsf(0b00000011, __fpscr_save.__fr);
> >     ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:177:25: error: use of undeclared identifier '__builtin_mffsl'; did you mean '__builtin_infl'?
> >     __fpscr_save.__fr = __builtin_mffsl();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:86:25: note: '__builtin_infl' declared here
> >     __fpscr_save.__fr = __builtin_mffsl();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:180:5: error: use of undeclared identifier '__builtin_set_fpscr_rn'
> >     __builtin_set_fpscr_rn(0b00);
> >     ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:196:5: error: use of undeclared identifier '__builtin_set_fpscr_rn'
> >     __builtin_set_fpscr_rn(__fpscr_save.__fpscr);
> >     ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:222:25: error: use of undeclared identifier '__builtin_mffsl'; did you mean '__builtin_infl'?
> >     __fpscr_save.__fr = __builtin_mffsl();
> >                         ^
> > /usr/lib/llvm-15/lib/clang/15.0.7/include/ppc_wrappers/smmintrin.h:86:25: note: '__builtin_infl' declared here
> >     __fpscr_save.__fr = __builtin_mffsl();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20230911/eff49e6e/attachment.sig>


More information about the Pkg-llvm-team mailing list