I'm currently not able to build Waterfox on Linux...
The first issue occured, when mach tried to compile 'simd'. 'x86::sse2' is an unresolved import in third_party/rust/simd/src/common.rs:17:10. Could prevent this error by removing "ac_add_options --enable-rust-simd" in .mozconfig

Then it seemed to be compiling for a while, when building failed again at:

When I acutally add "--disable-elf-hack" as an option, building just fails without any error output
I've already tried it on a variety on distros (Fedora, Debian and Ubuntu) and always stumbled upon the same errors. Nothing changed when I tried to build the newest tagged release instead of 'master'.
I tried to build and no errors, but I compiled it on Manjaro Linux with Rust 1.25 :smile:. What's your Rust version?
My main distro (Fedora) runs rustc 1.25.0, but I also tried it with older Rust versions on Debian.
I can't reproduce this either. Build system is Debian 9 using Clang 3.8 and
Rust 1.26. Have you done a clobber?
On 16 May 2018 at 16:55, Toromino notifications@github.com wrote:
My main distro (Fedora) runs rustc 1.25.0, but I also tried it with older
Rust versions on Debian.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MrAlex94/Waterfox/issues/565#issuecomment-389571129,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEgoWOxqsEVTbfm_OQgp6xkKjhFGjUv4ks5tzEwCgaJpZM4UBgJT
.
I tried to build again after doing a clobber. Now I'm back to this output:

'x86::sse2' is an unresolved import in third_party/rust/simd/src/common.rs:17:10
See https://github.com/rust-lang/rust/issues/46181. Upgrade Rust to 1.26 or build Rust against bundled LLVM.
i can't even get it started under ubuntu 16.04. giving me:
~$ waterfox
XPCOMGlueLoad error for file /opt/waterfox/liblgpllibs.so:
/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /opt/waterfox/liblgpllibs.so)
Couldn't load XPCOM.
@alekksander Did you make sure, that libc6 is installed? You might wanna install it using: apt-get install libc6
@alekksander Have you waterfox or waterfox-kde?
@Toromino „libc6 is already the newest version (2.23-0ubuntu10).”
@hawkeye116477 indeed it is Your build (waterfox-kde), i completely forgot!
@alekksander That's the problem. I have newer libs, Clang (6), Llvm than Alex and something probably broke compiling with statically linked libstdc++ and I later noticed same error about elf-hack as @Toromino. I will publish fixed version when I find fix for this, cuz I unfortunately for now don't have that distro with that old tools :smile:. Previous version I compiled with Clang/Llvm 5, so maybe it's issue with Clang/Llvm 6...
I managed to get rid of the errors, that I mentioned earlier by using Arch Linux this time. But now I get this error, when I try to run ./mach bootstrap

@Toromino Are you sure that you have Clang installed? Just do sudo pacman -S clang :smile:
Yep it is installed.

@Toromino Ok, so probably something else is missing. Check if you have everything that requires waterfox-git package from AUR.
The dependency ffmpeg2.8 (although I do have ffmpeg installed) is missing when I try to user Waterfox-git. But I don't think it has anything to do with my current error.
I also just tried the same mach command with Firefox's source and it worked fine.
@Toromino, in ./mach bootstrap choose 2. Firefox for Desktop as artifact mode is not supported by Waterfox.
@jbeich
The thing is, I've never chosen artifact mode. I always chose "2. Firefox for Desktop". :/
Okay folks, apparently Waterfox does build fine now!
Although mach shows that building failed, the built version works fine. o_O
EDIT: I guess I can close this issue as building Waterfox on my Linux machine works fine now.
Most helpful comment
See https://github.com/rust-lang/rust/issues/46181. Upgrade Rust to 1.26 or build Rust against bundled LLVM.