Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.software.seamonkey > #7727 > unrolled thread
| Started by | JKB <JKB@hilbert.invalid> |
|---|---|
| First post | 2025-08-16 21:38 +0000 |
| Last post | 2025-10-19 14:07 +0200 |
| Articles | 11 — 3 participants |
Back to article view | Back to alt.comp.software.seamonkey
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
| From | JKB <JKB@hilbert.invalid> |
|---|---|
| Date | 2025-08-16 21:38 +0000 |
| Subject | SM 2.53.21 on FreeBSD 14.3 |
| Message-ID | <slrn10a1ujj.r4h.JKB@hilbert.systella.fr> |
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:
[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
--
Si votre demande me parvient en code 29, je vous titiouillerai volontiers
une réponse.
[toc] | [next] | [standalone]
| From | frg <frgrahl@gmx.net> |
|---|---|
| Date | 2025-08-17 00:06 +0200 |
| Message-ID | <mgcdmuFijv4U1@mid.individual.net> |
| In reply to | #7727 |
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:
>
> [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
>
https://bugzilla.mozilla.org/show_bug.cgi?id=1896958
FRG
[toc] | [prev] | [next] | [standalone]
| From | JKB <JKB@hilbert.invalid> |
|---|---|
| Date | 2025-08-17 08:49 +0000 |
| Message-ID | <slrn10a35rv.r4h.JKB@hilbert.systella.fr> |
| In reply to | #7728 |
Le 16-08-2025, frg <frgrahl@gmx.net> a écrit : > https://bugzilla.mozilla.org/show_bug.cgi?id=1896958 Thanks. I have seen this patch before posting, but it doesn't fix this issue : ... 1:25.18 2 warnings generated. 1:25.20 intl/unicharutil 1:25.30 error: failed to load source for dependency `any_all_workaround` 1:25.30 Caused by: 1:25.30 Unable to update https://github.com/hsivonen/any_all_workaround?rev=7fb1b7034c9f172aade21ee1c8554e8d8a48af80#7fb1b703 1:25.30 Caused by: 1:25.30 failed to update replaced source https://github.com/hsivonen/any_all_workaround?rev=7fb1b7034c9f172aade21ee1c8554e8d8a48af80#7fb1b703 1:25.30 Caused by: 1:25.30 failed to parse manifest at `/root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/Cargo.toml` 1:25.30 Caused by: 1:25.30 manifest is missing either a `[package]` or a `[workspace]` 1:25.30 gmake[4]: *** [/root/seamonkey/seamonkey-2.53.21/config/makefiles/rust.mk:241: force-cargo-library-build] Error 101 1:25.30 gmake[3]: *** [/root/seamonkey/seamonkey-2.53.21/config/recurse.mk:72: toolkit/library/rust/target] Error 2 1:25.30 gmake[3]: *** Waiting for unfinished jobs.... 1:35.14 gmake[2]: *** [/root/seamonkey/seamonkey-2.53.21/config/recurse.mk:34: compile] Error 2 1:35.14 gmake[1]: *** [/root/seamonkey/seamonkey-2.53.21/config/rules.mk:354: default] Error 2 1:35.14 gmake: *** [client.mk:64: build] Error 2 1:35.14 531 compiler warnings present. I have applied : root@pythagore:~/seamonkey/seamonkey-2.53.21 # patch -p1 < ../1882209-127a1.patch and no patch was rejected. Regards, JKB -- Si votre demande me parvient en code 29, je vous titiouillerai volontiers une réponse.
[toc] | [prev] | [next] | [standalone]
| From | frg <frgrahl@gmx.net> |
|---|---|
| Date | 2025-08-17 12:22 +0200 |
| Message-ID | <mgdoruFpeojU1@mid.individual.net> |
| In reply to | #7730 |
Something did go wrong and the patch didn't apply 100%. At least the Cargo.toml file was not updated correctly. FRG JKB wrote: > Le 16-08-2025, frg <frgrahl@gmx.net> a écrit : >> https://bugzilla.mozilla.org/show_bug.cgi?id=1896958 > > > Thanks. I have seen this patch before posting, but it doesn't fix > this issue : > > ... > 1:25.18 2 warnings generated. > 1:25.20 intl/unicharutil > 1:25.30 error: failed to load source for dependency `any_all_workaround` > 1:25.30 Caused by: > 1:25.30 Unable to update https://github.com/hsivonen/any_all_workaround?rev=7fb1b7034c9f172aade21ee1c8554e8d8a48af80#7fb1b703 > 1:25.30 Caused by: > 1:25.30 failed to update replaced source https://github.com/hsivonen/any_all_workaround?rev=7fb1b7034c9f172aade21ee1c8554e8d8a48af80#7fb1b703 > 1:25.30 Caused by: > 1:25.30 failed to parse manifest at `/root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/Cargo.toml` > 1:25.30 Caused by: > 1:25.30 manifest is missing either a `[package]` or a `[workspace]` > 1:25.30 gmake[4]: *** [/root/seamonkey/seamonkey-2.53.21/config/makefiles/rust.mk:241: force-cargo-library-build] Error 101 > 1:25.30 gmake[3]: *** [/root/seamonkey/seamonkey-2.53.21/config/recurse.mk:72: toolkit/library/rust/target] Error 2 > 1:25.30 gmake[3]: *** Waiting for unfinished jobs.... > 1:35.14 gmake[2]: *** [/root/seamonkey/seamonkey-2.53.21/config/recurse.mk:34: compile] Error 2 > 1:35.14 gmake[1]: *** [/root/seamonkey/seamonkey-2.53.21/config/rules.mk:354: default] Error 2 > 1:35.14 gmake: *** [client.mk:64: build] Error 2 > 1:35.14 531 compiler warnings present. > > I have applied : > root@pythagore:~/seamonkey/seamonkey-2.53.21 # patch -p1 < ../1882209-127a1.patch > and no patch was rejected. > > Regards, > > JKB >
[toc] | [prev] | [next] | [standalone]
| From | JKB <JKB@hilbert.invalid> |
|---|---|
| Date | 2025-08-17 12:31 +0000 |
| Message-ID | <slrn10a3it7.r4h.JKB@hilbert.systella.fr> |
| In reply to | #7731 |
Le 17-08-2025, frg <frgrahl@gmx.net> a écrit : > Something did go wrong and the patch didn't apply 100%. At least the > Cargo.toml file was not updated correctly. I have removed my tree, untar tarball of SM 2.53.21 sources and applied your patch. I have checked that ALL patches are applied, and all patches were applied without error. ./mach build returns : 1:12.48 intl/unicharutil/util 1:12.49 intl/uconv 1:12.50 intl/build 1:12.50 netwerk/base 1:12.50 netwerk/cookie 1:12.50 netwerk/socket 1:12.51 netwerk/mime 1:12.81 error: failed to load source for dependency `any_all_workaround` 1:12.81 Caused by: 1:12.81 Unable to update https://github.com/hsivonen/any_all_workaround?rev=7fb1b7034c9f172aade21ee1c8554e8d8a48af80#7fb1b703 1:12.81 Caused by: 1:12.81 failed to update replaced source https://github.com/hsivonen/any_all_workaround?rev=7fb1b7034c9f172aade21ee1c8554e8d8a48af80#7fb1b703 1:12.81 Caused by: 1:12.82 failed to parse manifest at `/root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/Cargo.toml` In particular, /root/seamonkey/seamonkey-2.53.21/third_party/rust/packed_simd/Cargo.toml is now an empty file. If I check in your patch, I see : diff --git a/third_party/rust/packed_simd/Cargo.toml b/third_party/rust/packed_simd/Cargo.toml deleted file mode 100644 --- a/third_party/rust/packed_simd/Cargo.toml +++ /dev/null I will try patch -p1 -E. Regards, JKB -- Si votre demande me parvient en code 29, je vous titiouillerai volontiers une réponse.
[toc] | [prev] | [next] | [standalone]
| From | JKB <JKB@hilbert.invalid> |
|---|---|
| Date | 2025-08-18 09:52 +0000 |
| Message-ID | <slrn10a5tvh.r4h.JKB@hilbert.systella.fr> |
| In reply to | #7727 |
Work better with patch -E, but built process hangs with C++ error: 97:33.24 /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>' ... I have tried with clang-19, clang-15 and now clang-12. I have found this explanation: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282329 "the libc++ 19 release notes [1] mention that std::char_traits<> is now only provided for char, char8_t, char16_t, char32_t and wchar_t, and any instantiation for other types will fail." Regards, JB -- Si votre demande me parvient en code 29, je vous titiouillerai volontiers une réponse.
[toc] | [prev] | [next] | [standalone]
| From | frg <frgrahl@gmx.net> |
|---|---|
| Date | 2025-08-18 18:55 +0200 |
| Message-ID | <mgh488Fc1sbU1@mid.individual.net> |
| In reply to | #7734 |
JKB wrote: > Work better with patch -E, but built process hangs with C++ error: > > 97:33.24 /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>' > ... > > I have tried with clang-19, clang-15 and now clang-12. > > I have found this explanation: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282329 > > "the libc++ 19 release notes [1] mention that > std::char_traits<> is now only provided for char, char8_t, char16_t, > char32_t and wchar_t, and any instantiation for other types will fail." > > Regards, > > JB > There are a few bugs fixing this. I do not see it under Windows with clang 19. One of these linked in https://bugzilla.mozilla.org/show_bug.cgi?id=1849055 ? FRG
[toc] | [prev] | [next] | [standalone]
| From | JKB <JKB@hilbert.invalid> |
|---|---|
| Date | 2025-08-19 07:10 +0000 |
| Message-ID | <slrn10a88rn.r4h.JKB@hilbert.systella.fr> |
| In reply to | #7735 |
Le 18-08-2025, frg <frgrahl@gmx.net> a écrit : > JKB wrote: >> Work better with patch -E, but built process hangs with C++ error: >> >> 97:33.24 /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>' >> ... >> >> I have tried with clang-19, clang-15 and now clang-12. >> >> I have found this explanation: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282329 >> >> "the libc++ 19 release notes [1] mention that >> std::char_traits<> is now only provided for char, char8_t, char16_t, >> char32_t and wchar_t, and any instantiation for other types will fail." >> >> Regards, >> >> JB >> > > There are a few bugs fixing this. I do not see it under Windows with clang 19. > > One of these linked in > https://bugzilla.mozilla.org/show_bug.cgi?id=1849055 > ? Yes. But I haven't seen how to fix these bugs. -- Si votre demande me parvient en code 29, je vous titiouillerai volontiers une réponse.
[toc] | [prev] | [next] | [standalone]
| From | Louis Epstein <le@lekno.ws> |
|---|---|
| Date | 2025-10-19 01:41 +0000 |
| Message-ID | <10d1fk0$172$1@reader2.panix.com> |
| In reply to | #7727 |
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.
[toc] | [prev] | [next] | [standalone]
| From | frg <frgrahl@gmx.net> |
|---|---|
| Date | 2025-10-19 12:59 +0200 |
| Message-ID | <mljul1Ft66qU1@mid.individual.net> |
| In reply to | #7999 |
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
[toc] | [prev] | [next] | [standalone]
| From | frg <frgrahl@gmx.net> |
|---|---|
| Date | 2025-10-19 14:07 +0200 |
| Message-ID | <mlk2kmFtr2aU1@mid.individual.net> |
| In reply to | #8003 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | alt.comp.software.seamonkey
csiph-web