From: le@lekno.ws   
      
   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_US   
   _SYSTEM_PYTHON=1   
   > [root@pythagore ~/seamonkey/seamonkey-2.53.21]# ./mach build   
   > ...   
   > 0:22.67 Compiling packed_simd v0.3.9 (https://github.com/h   
   ivonen/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/   
   ust/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/ru   
   t/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/r   
   st/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/   
   ust/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/ru   
   t/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/r   
   st/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/r   
   st/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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|