Friday, March 30, 2018

Re: Firefox 59.0.1 missing on i386

Hey,

> Hi,
>
> firefox is missing on i386 due to BROKEN dependency (lang/rust).
>
> And rustc is marked BROKEN because it requires too much memory and
> fail randomly during the build (and it fails more often than it
> success). So firefox couldn't be build.
>
> But any help on lang/rust on i386 would be appreciate... the game is
> "found the way to build it reliably".
>
> Some ways could be:
> - good options on LLVM backend to reduce the memory requirement
> - good options on rustc to reduce the memory requirement
> - found why the build doesn't use swap at all (some kernel hacking in
> vm ?)
>
> The sensitive part of the build is the build of "librustc" crate.
> Currently the build is already tricked (for this crate) with rustc
> options: "-C codegen-units=16 -C opt-level=1 -Z fewer-names" (but it
> isn't enough). See patches/patch-src_bootstrap_bin_rustc_rs.
>
> Note, that currently I am able to build it (after some hours) with
> command line like:
>
> $ cd /usr/ports/lang/rust && while ! make ; do echo try again ; done
>
> Any players ?
>
> Thanks.

thank you for clarification.

Unfortunately 2 days ago my last suitable i386 machine broke down and
at this point I have absolutely no experience with rust itself.

However I can try to help building firefox reliably using a virtual
environment, if that's a practical approach.

--
greetings,

Florian Viehweger

No comments:

Post a Comment