Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: frg Newsgroups: alt.comp.software.seamonkey Subject: Re: SM 2.53.21 on FreeBSD 14.3 Date: Sun, 19 Oct 2025 14:07:50 +0200 Lines: 123 Message-ID: References: <10d1fk0$172$1@reader2.panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net bIvoRCQqCRBdagf9u5GHOQlTyXH2/t+PPPIJ+wky3oyCwJQQY= Cancel-Lock: sha1:pC+5ERvTJqv2n189Djxp+GceMdA= sha256:OTIDPL+qrfqlLTc/sVfVJ96gCmiBtwqoS0JyEqpEIx8= User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.23 In-Reply-To: Xref: csiph.com alt.comp.software.seamonkey:8004 frg wrote: > Louis Epstein wrote: >> JKB wrote: >>>          Hello, >>> >>>          I'm trying to build SM 2.53.31 on a FreeBSD workstation. I have >>>          built SM from sources since SM was removed from ports. Now, build >>>          process aborts with lot of errors: >> >> I use FreeBSD 13.5 these days and want Seamonkey to work again too. >> Is the FreeBSD version causing the problems or do we have common issues? >>> [root@pythagore ~/seamonkey/seamonkey-2.53.21]# export >>> MACH_USE_SYSTEM_PYTHON=1 >>> [root@pythagore ~/seamonkey/seamonkey-2.53.21]# ./mach build >>> ... >>>   0:22.67    Compiling packed_simd v0.3.9 >>> (https://github.com/hsivonen/packed_simd?rev=e588ceb568878e1a3156ea9ce551d5b63ef0cdc4#e588ceb5) >>> >>>   0:22.75 error[E0557]: feature has been removed >>>   0:22.75    --> >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/src/lib.rs:218:5 >>> >>>   0:22.75     | >>>   0:22.75 218 |     platform_intrinsics, >>>   0:22.75     |     ^^^^^^^^^^^^^^^^^^^ feature has been removed >>> ... >>>   0:34.03 error[E0703]: invalid ABI: found `platform-intrinsic` >>>   0:34.03  --> >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/src/codegen/llvm.rs:8:8 >>> >>>   0:34.03   | >>>   0:34.03 8 | extern "platform-intrinsic" { >>>   0:34.03   |        ^^^^^^^^^^^^^^^^^^^^ invalid ABI >>>   0:34.03   | >>> ... >>>   0:34.03 error[E0703]: invalid ABI: found `platform-intrinsic` >>>   0:34.04   --> >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/src/codegen/llvm.rs:72:8 >>> >>>   0:34.04    | >>>   0:34.04 72 | extern "platform-intrinsic" { >>>   0:34.04    |        ^^^^^^^^^^^^^^^^^^^^ invalid ABI >>>   0:34.04    | >>>   0:34.04    = note: invoke `rustc --print=calling-conventions` for a full >>> list of supported calling conventions >>>   0:35.32 error[E0635]: unknown feature `stdsimd` >>>   0:35.32    --> >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/src/lib.rs:219:5 >>> >>>   0:35.32     | >>>   0:35.32 219 |     stdsimd, >>>   0:35.32     |     ^^^^^^^ >>>   0:36.46 error[E0044]: foreign items may not have type parameters >>>   0:36.46  --> >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/src/codegen/llvm.rs:9:5 >>> >>>   0:36.46   | >>>   0:36.46 9 |     fn simd_shuffle(x: T, y: T, idx: I) -> U; >>>   0:36.46   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't >>> have type parameters >>>   0:36.46   | >>>   0:36.47   = help: replace the type parameters with concrete types like `u32` >>>   0:36.47 error[E0044]: foreign items may not have type parameters >>>   0:36.48   --> >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/src/codegen/llvm.rs:73:5 >>> >>>   0:36.48    | >>>   0:36.48 73 |     pub(crate) fn simd_eq(x: T, y: T) -> U; >>>   0:36.48    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have >>> type parameters >>> ... >>>   0:37.31 error[E0076]: SIMD vector's only field must be an array >>>   0:37.31   --> >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/src/codegen/vPtr.rs:8:9 >>> >>>   0:37.31    | >>>   0:37.31 8  |         pub struct $tuple_id<$ty>($(pub(crate) $tys),*); >>>   0:37.31    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^ >>>   0:37.31    |                                     | >>>   0:37.31    |                                     not an array >>>   0:37.31 ... >>>   0:37.31 35 | impl_simd_ptr!([*mut T; 8]: mptrx8 | T | T, T, T, T, T, T, >>> T, T); >>>   0:37.31    | >>> ---------------------------------------------------------------- in this >>> macro invocation >>>   0:37.31    | >>>   0:37.31    = note: this error originates in the macro `impl_simd_ptr` (in >>> Nightly builds, run with -Z macro-backtrace for more info) >>>   0:52.46 xpcom/build >>>   0:54.45 modules/libpref >>>   0:54.95 Some errors have detailed explanations: E0044, E0076, E0557, >>> E0635, E0703. >>>   0:54.95 For more information about an error, try `rustc --explain E0044`. >>>   0:55.10 error: could not compile `packed_simd` (lib) due to 134 previous >>> errors >>> >>>          I think these errors are Rust related but I don't know Rust. FreeBSD >>>          provides Rust 1.87.1. How can I fix this issue ? >>> >>>          Regards, >>> >>>          JKB >>> >> >> -=-=- >> The World Trade Center towers MUST rise again, >> at least as tall as before...or terror has triumphed. >> > > You need at least the patch from > https://bugzilla.mozilla.org/show_bug.cgi?id=1896958 > > or use rust 1.73 > > FRG I updated the patch for 2.53.22b1 and final. Grab the beta source. Final only has a few more security backports and a fix for the restart in safe mode problem and should show up in a few days. If the Beta compiles so should the final. FRG