Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822291 - mail-client/thunderbird-78.13.0: error: `[u32; 8]` is forbidden as the type of a const generic parameter
Summary: mail-client/thunderbird-78.13.0: error: `[u32; 8]` is forbidden as the type o...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-07 13:24 UTC by Samuel Bernardo
Modified: 2021-11-21 14:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.gz,432.61 KB, application/gzip)
2021-11-07 13:29 UTC, Samuel Bernardo
Details
emerge.info (emerge.info,8.66 KB, text/plain)
2021-11-07 13:30 UTC, Samuel Bernardo
Details
emerge.pqv (emerge.pqv,804 bytes, text/plain)
2021-11-07 13:30 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2021-11-07 13:24:26 UTC
8 2:52.21^O error: `[u32; 8]` is forbidden as the type of a const generic parameter^O
8 2:52.21^O   --> /var/tmp/portage/mail-client/thunderbird-78.13.0/work/thunderbird-78.13.0/third_party/rust/packed_simd/src/codegen/llvm.rs:44:44^O
8 2:52.21^O    |^O
8 2:52.21^O 44 | pub unsafe fn __shuffle_vector8<const IDX: [u32; 8], T, U>(x: T, y: T) -> U^O
8 2:52.21^O    |                                            ^^^^^^^^^O
8 2:52.21^O    |^O
8 2:52.21^O    = note: the only supported types are integers, `bool` and `char`^O
8 2:52.22^O    = help: more complex types are supported with `#![feature(adt_const_params)]`^O
8 2:52.22^O error: `[u32; 16]` is forbidden as the type of a const generic parameter^O
8 2:52.22^O   --> /var/tmp/portage/mail-client/thunderbird-78.13.0/work/thunderbird-78.13.0/third_party/rust/packed_simd/src/codegen/llvm.rs:55:45^O
8 2:52.22^O    |^O
8 2:52.23^O 55 | pub unsafe fn __shuffle_vector16<const IDX: [u32; 16], T, U>(x: T, y: T) -> U^O
8 2:52.23^O    |                                             ^^^^^^^^^^O
8 2:52.23^O    |^O
8 2:52.23^O    = note: the only supported types are integers, `bool` and `char`^O
8 2:52.23^O    = help: more complex types are supported with `#![feature(adt_const_params)]`^O
8 2:52.23^O error: `[u32; 32]` is forbidden as the type of a const generic parameter^O
8 2:52.23^O   --> /var/tmp/portage/mail-client/thunderbird-78.13.0/work/thunderbird-78.13.0/third_party/rust/packed_simd/src/codegen/llvm.rs:66:45^O
8 2:52.23^O    |^O
8 2:52.23^O 66 | pub unsafe fn __shuffle_vector32<const IDX: [u32; 32], T, U>(x: T, y: T) -> U^O
8 2:52.23^O    |                                             ^^^^^^^^^^O
8 2:52.23^O    |^O
8 2:52.23^O    = note: the only supported types are integers, `bool` and `char`^O
8 2:52.23^O    = help: more complex types are supported with `#![feature(adt_const_params)]`^O
8 2:52.23^O error: `[u32; 64]` is forbidden as the type of a const generic parameter^O
8 2:52.23^O   --> /var/tmp/portage/mail-client/thunderbird-78.13.0/work/thunderbird-78.13.0/third_party/rust/packed_simd/src/codegen/llvm.rs:77:45^O
8 2:52.23^O    |^O
8 2:52.23^O 77 | pub unsafe fn __shuffle_vector64<const IDX: [u32; 64], T, U>(x: T, y: T) -> U^O
8 2:52.23^O    |                                             ^^^^^^^^^^O
8 2:52.23^O    |^O
8 2:52.23^O    = note: the only supported types are integers, `bool` and `char`^O
8 2:52.23^O    = help: more complex types are supported with `#![feature(adt_const_params)]`^O
Comment 1 Samuel Bernardo 2021-11-07 13:29:44 UTC
Created attachment 749325 [details]
build.log
Comment 2 Samuel Bernardo 2021-11-07 13:30:21 UTC
Created attachment 749328 [details]
emerge.info
Comment 3 Samuel Bernardo 2021-11-07 13:30:39 UTC
Created attachment 749331 [details]
emerge.pqv
Comment 4 Samuel Bernardo 2021-11-07 13:38:57 UTC
The current stable version also blocks the update of lld.
Thunderbird 78 is also EOL https://en.wikipedia.org/wiki/History_of_Mozilla_Thunderbird

There will be no more releases and they canceled the last expected patch.

So is urgent to stabilize release 91 please!
Comment 5 Joonas Niilola gentoo-dev 2021-11-10 08:21:25 UTC
91 is still being worked on, please give it a bit more time (it's available in ~unstable).

78.13.0 compiles fine for me on a stable system. Please always first disable ccache and sccache when facing build issues. Then try re-building your llvm-rust toolchain if there are mismatches there :\