> >  I'm trying to compile firefox natively on an RPi4 running tinycorelinux 
> > piCore.
> > 
> > The configure phase fails because it tries to use 
> > arm-unknown-linux-gnueabihf
> > as the rust target instead of armv7-unknown-linux-gnueabihf.
> >
> > If I try the rust test manually, i.e.:
> >
> > /usr/local/bin/rustc --crate-type staticlib 
> > --target=armv7-unknown-linux-gnueabihf -o /tmp/conftest.rlib 
> > /tmp/conftest.rs
> >
> > ..it passes.
> >
> > Is there a way to force the rust target?
> >
> Not directly. But if configure is trying to use arm rather than armv7, that
> suggests your C/C++ compiler is targetting something older than armv7 by 
> default.
> Can you try `--with-arch=armv7-a`?
> 
It targets armv7l by default, but "--with-arch=armv7-a" fixed things - thanks.

After adjusting the location of nss headers and commenting out some simd code, 
firefox builds and runs :)

_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to