guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rust 1.19 fails to build on i686 on ‘staging’


From: Chris Marusich
Subject: Re: Rust 1.19 fails to build on i686 on ‘staging’
Date: Wed, 13 Feb 2019 20:35:51 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Danny,

Chris Marusich <address@hidden> writes:

> Hi Danny,
>
>> Sounds good.  I've successfully applied the patch to a clean checkout of
>> Guix at the current master branch head
>> (c7cf43ddec9be5389d3a2623d6414d9b55354f64).  I've kicked off a build on
>> an x86_64-linux system (Guix running on a Debian foreign distro) via:
>>
>>   guix environment --pure guix
>>   # And then, in the pure environment:
>>   ./bootstrap && ./configure --localstatedir=/var && make -j 1 && echo
>> built guix > /tmp/mylog && time ./pre-inst-env guix build --max-jobs=1
>> --cores=1 -K -s i686-linux address@hidden
>>
>> It's gonna take a long time to finish.  I'll let you know how it goes!
>
> The build failed because it ran out of memory.  This machine won't work.
> I've started the build on another machine with more memory, and I'll let
> you know how it goes.

The build failed after 3 hours.  I've attached the full build log.  The
final bit was:

--8<---------------cut here---------------start------------->8---
Backtrace:
           6 (primitive-load "/gnu/store/0q88w9lgl5maks0qcrymkcymv87…")
In ice-9/eval.scm:
   191:35  5 (_ _)
In srfi/srfi-1.scm:
   863:16  4 (every1 #<procedure 83625d0 at /gnu/store/w8ki740gbcib…> …)
In 
/gnu/store/w8ki740gbcibbifmljwjpd0vmix5jw8q-module-import/guix/build/gnu-build-system.scm:
   799:28  3 (_ _)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#(#<directory (guile-user) 817e910>) (# # …) …) …))
In ice-9/boot-9.scm:
   260:13  1 (for-each #<procedure 8bf0770 at ice-9/eval.scm:333:13…> …)
In 
/gnu/store/w8ki740gbcibbifmljwjpd0vmix5jw8q-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/w8ki740gbcibbifmljwjpd0vmix5jw8q-module-import/guix/build/utils.scm:616:6:
 In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: 
"output/rustc-build/rustc" arguments: ("-C" 
"linker=/gnu/store/mhkpjv29ssmr4cm71654x4c5gm40ncjb-gcc-5.5.0/bin/gcc" "-Z" 
"force-unstable-if-unmarked" "-L" "output/target-libs" "src/libcore/lib.rs" 
"-o" "output/target-libs/libcore.rlib") exit-status: #f term-signal: 8 
stop-signal: #f] 8181580>)'.
--8<---------------cut here---------------end--------------->8---

My understanding is that "term-signal: 8" means the process (rustc) was
terminated by signal 8 (SIGFPE on my system according to "kill -l").  Is
that right?

I looked in the failed build directory, but I couldn't find a core
dump.  When I manually ran the command...

/gnu/store/jxq[...]-mrustc-0.8.0/bin/mrustc src/tools/cargo/src/bin/cargo.rs 
[...]

...it actually succeeded.

Does this tell you anything useful?  I will keep the build directory
around for now, so please let me know if you'd like me to check anything
else.

-- 
Chris

Attachment: 49wkd7l2bk8yszgv9i0y6vr26k892l-rust-1.19.0.drv.bz2
Description: Binary data

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]