Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.software.seamonkey > #8004

Re: SM 2.53.21 on FreeBSD 14.3

From frg <frgrahl@gmx.net>
Newsgroups alt.comp.software.seamonkey
Subject Re: SM 2.53.21 on FreeBSD 14.3
Date 2025-10-19 14:07 +0200
Message-ID <mlk2kmFtr2aU1@mid.individual.net> (permalink)
References <slrn10a1ujj.r4h.JKB@hilbert.systella.fr> <10d1fk0$172$1@reader2.panix.com> <mljul1Ft66qU1@mid.individual.net>

Show all headers | View raw


frg wrote:
> Louis Epstein wrote:
>> JKB <JKB@hilbert.invalid> 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<T, I, U>(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<T, U>(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

Back to alt.comp.software.seamonkey | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

SM 2.53.21 on FreeBSD 14.3 JKB <JKB@hilbert.invalid> - 2025-08-16 21:38 +0000
  Re: SM 2.53.21 on FreeBSD 14.3 frg <frgrahl@gmx.net> - 2025-08-17 00:06 +0200
    Re: SM 2.53.21 on FreeBSD 14.3 JKB <JKB@hilbert.invalid> - 2025-08-17 08:49 +0000
      Re: SM 2.53.21 on FreeBSD 14.3 frg <frgrahl@gmx.net> - 2025-08-17 12:22 +0200
        Re: SM 2.53.21 on FreeBSD 14.3 JKB <JKB@hilbert.invalid> - 2025-08-17 12:31 +0000
  Re: SM 2.53.21 on FreeBSD 14.3 JKB <JKB@hilbert.invalid> - 2025-08-18 09:52 +0000
    Re: SM 2.53.21 on FreeBSD 14.3 frg <frgrahl@gmx.net> - 2025-08-18 18:55 +0200
      Re: SM 2.53.21 on FreeBSD 14.3 JKB <JKB@hilbert.invalid> - 2025-08-19 07:10 +0000
  Re: SM 2.53.21 on FreeBSD 14.3 Louis Epstein <le@lekno.ws> - 2025-10-19 01:41 +0000
    Re: SM 2.53.21 on FreeBSD 14.3 frg <frgrahl@gmx.net> - 2025-10-19 12:59 +0200
      Re: SM 2.53.21 on FreeBSD 14.3 frg <frgrahl@gmx.net> - 2025-10-19 14:07 +0200

csiph-web