NetBSD-Bugs archive

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

install/52637: lang/rust compile error



>Number:         52637
>Category:       install
>Synopsis:       lang/rust compile error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 21 22:40:00 +0000 2017
>Originator:     Andrew Pennebaker
>Release:        7.0
>Organization:
>Environment:
NetBSD .domain.name 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Description:
I'm trying to install rust via pkgsrc, but the compilation appears to be failing.
>How-To-Repeat:
$ export PATH="/usr/sbin:/usr/pkg/sbin:${PATH}"
$ curl -o pkgsrc-2017Q3.tar.gz ftp://ftp.netbsd.org//pub/pkgsrc/pkgsrc-2017Q3/pkgsrc-2017Q3.tar.gz
$ tar -C /usr -xzf pkgsrc-2017Q3.tar.gz
$ cd /usr/pkgsrc/lang/rust
$ sudo make PKG_OPTIONS.python27=-x11 update"
?
Scanning dependencies of target LTO
gmake[3]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
gmake[3]: Entering directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
[ 91%] Building CXX object tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o
[ 91%] Building CXX object tools/lto/CMakeFiles/LTO.dir/lto.cpp.o
[ 91%] Linking CXX shared library ../../lib/libLTO.so
g++: internal compiler error: Killed (program ld)
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
tools/lto/CMakeFiles/LTO.dir/build.make:222: recipe for target 'lib/libLTO.so' failed
gmake[3]: *** [lib/libLTO.so] Error 4
gmake[3]: *** Deleting file 'lib/libLTO.so'
gmake[3]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
CMakeFiles/Makefile2:9980: recipe for target 'tools/lto/CMakeFiles/LTO.dir/all' failed
gmake[2]: *** [tools/lto/CMakeFiles/LTO.dir/all] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
Makefile:151: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm'
/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/mk/llvm.mk:106: recipe for target '/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm/llvm-fini
shed-building' failed
gmake: *** [/usr/pkgsrc/lang/rust/work/rustc-1.16.0-src/x86_64-unknown-netbsd/llvm/llvm-finished-building] Error 2
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/rust
>Fix:



Home | Main Index | Thread Index | Old Index