Path: csiph.com!news.fcku.it!aioe.org!4+1/sO+hjgXu65daMoAjkg.user.gioia.aioe.org.POSTED!not-for-mail From: Richmond Newsgroups: alt.comp.software.seamonkey Subject: Re: Error compiling on i686 Date: Sun, 09 May 2021 13:31:07 +0100 Organization: Frantic Lines: 104 Message-ID: <84sg2wytpw.fsf@example.com> References: <845yzvee2a.fsf@example.com> <841rai4853.fsf@example.com> <848s4ppi53.fsf@example.com> <841rag16mb.fsf@example.com> <84wns8yvoh.fsf@example.com> NNTP-Posting-Host: 4+1/sO+hjgXu65daMoAjkg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:mIDElk067bxgJahnsUyOcz01d5Q= Xref: csiph.com alt.comp.software.seamonkey:184 frg writes: > Richmond wrote: >> Richmond writes: >> >>> frg writes: >>> >>>> frg wrote: >>>>> Richmond wrote: >>>>>> Andrew writes: >>>>>> >>>>>>> Richmond wrote: >>>>>>>> Andrew writes: >>>>>>>> >>>>>>>>> Richmond wrote: >>>>>>>>>> I am getting errors. This is the first of many. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Compiling idna v0.1.4 >>>>>>>>>>        Compiling mp4parse_capi v0.10.1 >>>>>>>>>> (/home/seamonkey/mozilla-253/media/mp4parse-rust/mp4parse_capi) >>>>>>>>>>     error[E0432]: unresolved import `simd_funcs` >>>>>>>>>>       --> >>>>>>>>>> /home/seamonkey/mozilla-253/third_party/rust/encoding_rs/src/x_user_defined.rs:16:13 >>>>>>>>>> >>>>>>>>>>        | >>>>>>>>>>     16 |         use simd_funcs::*; >>>>>>>>>>        |             ^^^^^^^^^^ maybe a missing crate `simd_funcs`? >>>>>>>>>> >>>>>>>>> >>>>>>>>> What distribution are you using? >>>>>>>> >>>>>>>> Debian 10. It is still compiling... >>>>>>>> >>>>>>> >>>>>>>  From what I've read elsewhere, Seamonkey levels starting 2.53.6 >>>>>>> require Rust >= 1.47 to build.  There is no such requirement for >>>>>>> execution. >>>>>>> The reason I asked what distribution you were using is that the one I >>>>>>> use (not Debian) may be about to move from Rust 1.43.1 for just this >>>>>>> reason, then you would have had the option of waiting. >>>>>> >>>>>> Did you get that from these minutes? >>>>>> >>>>>> https://wiki.mozilla.org/SeaMonkey/StatusMeetings/2021-04-18 >>>>>> >>>>>> "Compilers have been updated for building the official versions starting >>>>>> with 2.53.7b1 >>>>>> >>>>>> "rust 1.47.0 is used for all releases." >>>>>> >>>>>> This doesn't say it is a minimum requirement, just that these versions >>>>>> have been used in official builds. That's the way I am reading it >>>>>> anyway. I am not building an official build. I am just trying to make >>>>>> one which works. I think the problem I am having is due to SS2 >>>>>> instructions. Hopefully the disable-rust-simd will solve it as far as I >>>>>> can tell this is supposed to make rust platform independent. >>>>>> >>>>> >>>>> The minimum version is 1.38 which is enforced but it might not >>>>> work. If this does not work I will probably set it to 1.47 to align >>>>> with official builds. >>>>> >>>>> FRG >>>> >>>> We needed to fix some new breakage with rust 1.52 and the minimum rust >>>> version of 2.53.8 will be 1.47. >>>> >>>> FRG >>> >>> I get this error: >>> >>> 3:26.09 /usr/bin/ld: >>> i686-unknown-linux-gnu/release/libgkrust.a(std-3b8f769dfbb7c401.std.1qzgk10u-cgu.14.rcgu.o): >>> warning: relocation against `__rust_probestack' in read-only section >>> `.text._ZN3std2io4util4copy17h713ecddbd4fa0d0dE' >>> 3:26.09 /usr/bin/ld: read-only segment has dynamic relocations >>> >>> rustc --version >>> rustc 1.41.1 >>> >>> >>> So I am going to try upgrading rust. >> >> ./rustup-init >> Illegal instruction >> >> I give up. It looks like rust is not a high level language, but an >> overrated assembler. >> > > It is a work in progress alpha level language. Beta would imply that > it is halfway feature complete but then we would not have breakage > almost every release... Would love to get rid of it tomorrow. > > Usually you can do > rustup default 1.47.0-x86_64-unknown-linux-gnu > > and then just need to install the i686 target. > I can't install the rustup command because of illegal instructions. Nor can I compile rust from source. So I think I must either stay with an old version of SM or move my mail to a newer computer.