From: frgrahl@gmx.net   
      
   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=e588ceb568878e1   
   3156ea9ce551d5b63ef0cdc4#e588ceb5)   
   >>>   
   >>> Â 0:22.75 error[E0557]: feature has been removed   
   >>> Â 0:22.75Â Â Â -->   
   >>> /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_si   
   d/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_si   
   d/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_si   
   d/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_si   
   d/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_si   
   d/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_si   
   d/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_si   
   d/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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|