My thoughts on Slackware, life and everything

Chromium 64 – and 32bit pain

The new release of the Chromium sources gives us version 64 of Google’s browser. I have created Slackware packages for you, but that was not entirely trivial.
The Chromium compilation on my 32bit Slackware OS kept failing on the embedded ffmpeg. I am afraid the fact that some of the bigger distros are dropping 32bit variants starts showing and things are coming apart at the seams.
When you are a developer and there’s no 32bit release of your favorite OS, this makes it quite difficult to test the validity of code paths when you only compile and test your code on a 64bit platform. This is what’s happening with Google’s Chromium code and it will probably only get worse.

For now, I could get away by disabling assembly code in the 32bit avcodec library, but in order to get that going I had to study the Chromium code carefully – Google does not use the standard autotools or cmake configurations that the Average Joe would employ when compiling ffmpeg, instead they re-invent the wheel every so often to keep everyone on edge. First it was Gyp, but that did not work out too well and the current fad is called GN (as Google state themselves “GN is a meta-build system that generates Ninja build files so that you can build Chromium with Ninja“).

Some time soon, I need to dissect Chromium’s embedded ffmpeg code, to see if I can get assembly code compiling again on 32bit. Else it may be more prudent to start depending on an external (system-wide) ffmpeg installation, which I can compile without any pain on 32bit Slackware.

We’re fine for now, at least. Let’s hope it does not get worse.

Get your chromium 64 packages for Slackware 14.2 and -current:

Cheers, Eric

6 Comments

  1. Gérard Monpontet

    I use it, just occasionally, it work, Thanks, Eric. 😉

  2. Eduardo

    Thank you Eric!

  3. Mohammad Etemaddar

    Dear Eric,
    Do you have any experience in compiling android OS for mobile? Would you mind write about it?

  4. alienbob

    Mohammad , I do not see the relevance of your question to the topic of this post.
    Anyway the answer is no and no.

  5. Fellype

    I’d like to tell you to kick the Chromium ass. But… I still using Chromium for Google’s products because all them work better with it :-þ
    Then, thank you for your effort 🙂

  6. ajevremovic

    Anybody else faced with memory leak with this new version? It eated 10GB+ within 24 hours.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Alien Pastures

Theme by Anders NorenUp ↑