- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Packages
-
Assigned To
Andreas Baumann - Operating System pentium4
- Severity Low
- Priority Medium
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Arch Linux 32
Opened by Andreas Baumann - 28.10.2021
Last edited by Andreas Baumann - 30.04.2022
Opened by Andreas Baumann - 28.10.2021
Last edited by Andreas Baumann - 30.04.2022
FS#215 - firefox 93.0 (and seamonkey 2.53.9.1) doesn't build
2:52.15 error: `[u32; 2]` is forbidden as the type of a const generic parameter 2:52.15 --> /build/firefox/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:20:44 2:52.15 | 2:52.15 20 | pub unsafe fn __shuffle_vector2<const IDX: [u32; 2], T, U>(x: T, y: T) -> U 2:52.15 | ^^^^^^^^ 2:52.15 | 2:52.15 = note: the only supported types are integers, `bool` and `char` 2:52.15 = help: more complex types are supported with `#![feature(adt_const_params)]` 2:52.15 error: `[u32; 4]` is forbidden as the type of a const generic parameter 2:52.15 --> /build/firefox/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:30:44 2:52.15 | 2:52.15 30 | pub unsafe fn __shuffle_vector4<const IDX: [u32; 4], T, U>(x: T, y: T) -> U 2:52.15 | ^^^^^^^^ 2:52.15 | 2:52.15 = note: the only supported types are integers, `bool` and `char` 2:52.15 = help: more complex types are supported with `#![feature(adt_const_params)]` 2:52.15 error: `[u32; 8]` is forbidden as the type of a const generic parameter 2:52.15 --> /build/firefox/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:40:44 2:52.15 | 2:52.15 40 | pub unsafe fn __shuffle_vector8<const IDX: [u32; 8], T, U>(x: T, y: T) -> U 2:52.15 | ^^^^^^^^ 2:52.15 | 2:52.15 = note: the only supported types are integers, `bool` and `char` 2:52.15 = help: more complex types are supported with `#![feature(adt_const_params)]` 2:52.15 error: `[u32; 16]` is forbidden as the type of a const generic parameter 2:52.15 --> /build/firefox/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:50:45 2:52.15 | 2:52.15 50 | pub unsafe fn __shuffle_vector16<const IDX: [u32; 16], T, U>(x: T, y: T) -> U 2:52.15 | ^^^^^^^^^ 2:52.15 | 2:52.15 = note: the only supported types are integers, `bool` and `char` 2:52.15 = help: more complex types are supported with `#![feature(adt_const_params)]` 2:52.15 error: `[u32; 32]` is forbidden as the type of a const generic parameter 2:52.15 --> /build/firefox/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:60:45 2:52.15 | 2:52.15 60 | pub unsafe fn __shuffle_vector32<const IDX: [u32; 32], T, U>(x: T, y: T) -> U 2:52.15 | ^^^^^^^^^ 2:52.15 | 2:52.15 = note: the only supported types are integers, `bool` and `char` 2:52.15 = help: more complex types are supported with `#![feature(adt_const_params)]` 2:52.15 error: `[u32; 64]` is forbidden as the type of a const generic parameter 2:52.15 --> /build/firefox/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:70:45 2:52.15 | 2:52.15 70 | pub unsafe fn __shuffle_vector64<const IDX: [u32; 64], T, U>(x: T, y: T) -> U 2:52.15 | ^^^^^^^^^ 2:52.15 | 2:52.15 = note: the only supported types are integers, `bool` and `char` 2:52.15 = help: more complex types are supported with `#![feature(adt_const_params)]` 2:52.35 Compiling num_cpus v1.13.0 2:53.13 Compiling fluent-langneg v0.13.0 2:53.15 Compiling intl_pluralrules v7.0.1 2:53.59 Compiling intl-memoizer v0.5.1 2:55.32 Compiling gl_generator v0.14.0 2:55.37 Compiling cose-c v0.1.5 2:55.96 Compiling time v0.1.43 2:56.01 Compiling iovec v0.1.4 2:56.05 Compiling atty v0.2.14 2:56.21 For more information about this error, try `rustc --explain E0557`. 2:56.23 Compiling net2 v0.2.37 2:56.24 The following warnings were emitted during compilation: 2:56.25 warning: Cannot set `RUSTC_BOOTSTRAP=1` from build script of `packed_simd v0.3.4 (https://github.com/hsivonen/packed_simd?rev=6a16f954950401b92b4e220fbf2dfaf6f00e1fb2#6a16f954)`. 2:56.25 note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project. 2:56.25 error: could not compile `packed_simd` due to 13 previous errors 2:56.25 warning: build failed, waiting for other jobs to finish... 3:17.66 error: build failed
Closed by Andreas Baumann
30.04.2022 04:49
Reason for closing: Fixed
Additional comments about closing:
30.04.2022 04:49
Reason for closing: Fixed
Additional comments about closing:
firefox-99.0.1-1.2 built on i686 and
pentiumg4.
seamonkey 2.53.9.1 shares the same gecko/rust code, so same error there, making
seamonkey less and less a lightweight alternative to firefox it seems..
New versions, new bugs:
Some of the language packs for newer versions of firefox have got into testing while the firefox build is still stuck. i.e. firefox-i18n-en-gb 96.0.3-1.0
Funny, in package(), so will LLVM send me some more RAM, if I file in a bug?
The environemnt variable MOZ_MAKE_FLAGS=-j1 is not helping it seems.
Or is llvm-strip is eating up all memory when stripping libxul.so (since LLVM 13).
Besides: options=(!strip) seems to be cosmetic and doing a strip in make install
is also more than weird..
There used to be a –enable-strip mozconfig option in the past, wondering if that
one can be used as –disable-strip? Or instead of using llvm-strip to use
binutils strip?
there is a STRIP variable, so we should be able to overwrite it (first preference, do
some stripping)
–disable-install-strip also sounds promising (but is only the last resort if nothing
else helps)
Well, it builds now, the package is 978MB big!!