Re: Correct way to build style bindings on GNU/Linux ARMv7?

2018-02-08 Thread Henri Sivonen
On Fri, Feb 9, 2018 at 9:46 AM, Henri Sivonen wrote: > First with nightly rustc, rustc crashed. On closer inspection, this looks like a plain out of memory. I guess 4 GB of RAM is no longer enough with whatever level of build parallelism mach decided to use for that

Re: Correct way to build style bindings on GNU/Linux ARMv7?

2018-02-08 Thread Henri Sivonen
On Wed, Feb 7, 2018 at 7:38 PM, Emilio Cobos Álvarez wrote: > On 02/07/2018 06:04 PM, Henri Sivonen wrote: >> mach bootstrap doesn't appear to download a bindgen-compatible clang >> on an ARMv7 GNU/Linux host. >> >> mach build then complains about not being able to generate the

Re: Correct way to build style bindings on GNU/Linux ARMv7?

2018-02-07 Thread Emilio Cobos Álvarez
On 02/07/2018 06:04 PM, Henri Sivonen wrote: > mach bootstrap doesn't appear to download a bindgen-compatible clang > on an ARMv7 GNU/Linux host. > > mach build then complains about not being able to generate the stylo bindings. > > As I understand it, --disable-stylo-build-bindgen should be OK

Re: Correct way to build style bindings on GNU/Linux ARMv7?

2018-02-07 Thread Ralph Giles
If you can install a new-enough (4.0.1 worked last I checked, but 5.0.1 is better) clang and llvm development system packages, those should let the build complete. If your distro doesn't provide a new-enough toolchain you'll have to compile one. Set LLVM_CONFIG in the environment to point to your

Correct way to build style bindings on GNU/Linux ARMv7?

2018-02-07 Thread Henri Sivonen
mach bootstrap doesn't appear to download a bindgen-compatible clang on an ARMv7 GNU/Linux host. mach build then complains about not being able to generate the stylo bindings. As I understand it, --disable-stylo-build-bindgen should be OK if one isn't modifying stylo, but building with that flag