SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just built FF-79.0 and found that one needs to apply the patches/workarounds that Ponce researched and found when I tried to build Thunderbird-78.x due to our version of rust. Details here - https://www.linuxquestions.org/quest...-a-4175678965/
Then it builds and runs fine.
I haven't tried yet but that shouldn't actually be needed anymore if you use the latest SlackBuild in the current tree, because Pat applied an alternate patch to fix building with the newer rust.
in rust.mk to get Firefox 79.0 (gkrust) to build with Rust 1.45.
This is something that made it into the ESR, but not the 79.0 release.
Code:
+# Pass -Clto for older versions of rust, and CARGO_PROFILE_RELEASE_LTO=true
+# for newer ones that support it. Combining the latter with -Clto works, so
+# set both everywhere.
cargo_rustc_flags += -C lto
+export CARGO_PROFILE_RELEASE_LTO=true
in rust.mk to get Firefox 79.0 (gkrust) to build with Rust 1.45.
This is something that made it into the ESR, but not the 79.0 release.
Code:
+# Pass -Clto for older versions of rust, and CARGO_PROFILE_RELEASE_LTO=true
+# for newer ones that support it. Combining the latter with -Clto works, so
+# set both everywhere.
cargo_rustc_flags += -C lto
+export CARGO_PROFILE_RELEASE_LTO=true
Permit me to disagree.
In fact, looks like that setting that CARGO_PROFILE_RELEASE_LTO introduces at least a nasty but obscure issue, which I observed with some of video streams of local TV channels. It manifests by a high load of CPU and the playing experience is bad, like frames are dropped. True, it is also probably about low power CPUs as what I have in my boxes.
Too bad if that was inserted into ESR releases, and tells a lot about how stable are them.
Apparently, at least according with Mozilla, the right way to fix that build issue is to set "-Cembed-bitcode=yes" when it is used "-Clto" for rustc, like in the patch for there:
Oh well, no issues here. At the time I did it, that was the fix for the build problem. I did wonder why they weren't just setting the -Cembed-bitcode flag the error was complaining about along with -Clto, but assumed they did it with the CARGO_PROFILE_RELEASE_LTO variable instead because it didn't cause older versions of rust to barf.
I did note an extra long build time, which makes sense if crates were having to be rebuilt more times than usual.
Oh well, no issues here. At the time I did it, that was the fix for the build problem. I did wonder why they weren't just setting the -Cembed-bitcode flag the error was complaining about along with -Clto, but assumed they did it with the CARGO_PROFILE_RELEASE_LTO variable instead because it didn't cause older versions of rust to barf.
I did note an extra long build time, which makes sense if crates were having to be rebuilt more times than usual.
It is not about building, but about how it is working. Apparently, that CARGO_PROFILE_RELEASE_LTO introduces obscure issues and slowdowns.
Of course, I understand well that in your All American HTPC with 64 cores / 128 threads living on liquid nitrogen freezing, no matters those issues...
However, I for one, I use 45W CPUs.
And, BTW... I observed those strange slowdowns first on the ESRs shipped now by -current.
Last edited by LuckyCyborg; 07-31-2020 at 10:29 PM.
As I said, there are no issues here. I do mean running, on an older quad Corei7 CPU. This browser is working the same as, or better in performance, video performance and browserbench.com benchmarks (which I do with every build). I would notice performance regressions. I build it my own way though, using optimizations that work best for me.
On the next build, I'll use -Cembed-bitcode=yes instead though, now that I know about it.
Of course, I understand well that in your All American HTPC with 64 cores / 128 threads living on liquid nitrogen freezing, no matters those issues...
However, I for one, I use 45W CPUs.
Do you realize how demeaning this is? I see you post similar things all over.
Many forum members living in the US have low powered or extremely old hardware and some forum members living in other parts of the world have monster machines. Yes, fast hardware exists and some of us run it, but I've ran my fair share of extremely low TDP computers. My current htpc is running a 65W APU (Ryzen 3 2200g), the one previous to that was a 25W AMD Athlon 5350, and before that I had a 12W Intel Atom D525 NUC box that was a size of a small book.
You could simply say that these issues might only be noticeable on low-end/older hardware rather than slam all Americans because "tHEy hAvE FasT STuFf".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.