On Mon, Feb 19, 2018 at 07:45:48AM +0100, Landry Breuil wrote:
> On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote:
> > Hi,
> > 
> > The following diff update lang/rust to 1.24.
> > 
> > Tests that was done:
> > - build on i386 - but it seems the memory usage still grow. I added a
> >   new knob to try to reduce it. I was able to build but after several
> >   tries. BROKEN-i386 might be necessary ?
> > 
> > - build on amd64
> > - pass rustc testsuite on amd64
> 
> Here make test fails early with:
> 
> tidy error: 
> /usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustllvm/ArchiveWrapper.cpp:245:
>  tab character
> tidy error: 
> /usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustllvm/ArchiveWrapper.cpp:245:
>  trailing whitespace
> some tidy checks failed
> 
> 
> command did not execute successfully: 
> "/usr/obj/ports/rust-1.24.0/build-amd64/build/x86_64-unknown-openbsd/stage0-tools-bin/tidy"
>  "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src"
> expected success, got: exit code: 1
> 
> 
> Traceback (most recent call last):
>   File "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/x.py", line 20, in 
> <module>
>     bootstrap.main()
>   File 
> "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", 
> line 758, in main
>     bootstrap()
>   File 
> "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", 
> line 749, in bootstrap
>     run(args, env=env, verbose=build.verbose)
>   File 
> "/usr/obj/ports/rust-1.24.0/rustc-1.24.0-src/src/bootstrap/bootstrap.py", 
> line 148, in run
>     raise RuntimeError(err)
> RuntimeError: failed to run: 
> /usr/obj/ports/rust-1.24.0/build-amd64/build/bootstrap/debug/bootstrap test 
> --jobs=1
> 
> 
> Other than that, it builds/packages on amd64, and fails on miniz-sys on i386 
> at
> the first try. Will give it another chance locally..

Tried on i386 4 or 5 times, always failed sadly.

rustc command:
"/build/obj/ports/rust-1.24.0/rustc-bootstrap-i386-1.24.0-20180213/bin/rustc"
"--crate-name" "rustc" "librustc/lib.rs" "--crate-type" "dylib"
"--emit=dep-info,link" "-C" "prefer-dynamic" "-C" "opt-level=2"  ....
"--cfg" "stage1" "--sysroot"
"/build/obj/ports/rust-1.24.0/build-i386/build/i686-unknown-openbsd/stage0-sysroot"
"-Cprefer-dynamic" "-C" "debug-assertions=n" "-C" "codegen-units=16"
"-C" "opt-level=1" "-Z" "fewer-names" "-Z" "force-unstable-if-unmarked"
"--color=always"
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
...
(signal: 6, SIGABRT: process abort signal)
thread 'main' panicked at 'command did not execute successfully:
"/build/obj/ports/rust-1.24.0/rustc-bootstrap-i386-1.24.0-20180213/bin/car
go" "build" "--target" "i686-unknown-openbsd" "-j" "1" "-v" "--release"
"--frozen" "--features" " jemalloc llvm" "--manifest-path" "/build/
obj/ports/rust-1.24.0/rustc-1.24.0-src/src/rustc/Cargo.toml"
"--message-format" "json"
expected success, got: exit code: 101', bootstrap/compile.rs:886:9       

My ulimit is 3g/max.

Landry

Reply via email to