(thread moving from misc@ to ports@)

On Sun, Mar 25, 2018 at 04:36:15PM +0200, Florian Viehweger wrote:
> Hello,
> 
> in the last several days I've been missing Firefox 59 on i386, however
> the corresponding localization-packages are there. Did I miss about
> build-failures in the list-archives?

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.
-- 
Sebastien Marie

Reply via email to