This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77662] New: arm-linux-gnueabihf-g++: internal compiler error: Killed (program cgcc)
- From: "shopaddr1234 at dubna dot us" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Sep 2016 13:24:07 +0000
- Subject: [Bug c++/77662] New: arm-linux-gnueabihf-g++: internal compiler error: Killed (program cgcc)
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77662
Bug ID: 77662
Summary: arm-linux-gnueabihf-g++: internal compiler error:
Killed (program cgcc)
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: shopaddr1234 at dubna dot us
Target Milestone: ---
computer: raspberry pi model B
OS:
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
$ uname -a
Linux raspberrypi 4.4.11+ #888 Mon May 23 20:02:58 BST 2016 armv6l GNU/Linux
gcc version 4.9.2 (Raspbian 4.9.2-10)
I tried apt-get install -s gcc++ to upgrade, it said I already have the newest
version.
I am trying to install scikit-learn for python 3.4. I first need to install
scikit-learn dependencies: numpy and scipy. numpy was built and installed fine.
used pip3 to install them:
sudo pip3 install scipy.
Installation compiles sources, because I guess there is no compiled version of
scipy for this OS or processor.
After running for several hours I got this output:
arm-linux-gnueabihf-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
In file included from
/usr/local/lib/python3.4/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
from
/usr/local/lib/python3.4/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from scipy/sparse/sparsetools/sparsetools.h:5,
from scipy/sparse/sparsetools/bsr.cxx:4:
/usr/local/lib/python3.4/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: #warning "Using deprecated NumPy API, disable it by " "#defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
arm-linux-gnueabihf-g++: internal compiler error: Killed (program cgcc)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
error: Command "arm-linux-gnueabihf-g++ -pthread -DNDEBUG -g -fwrapv -O2
-Wall -g -fstack-protector-strong -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2 -fPIC -D__STDC_FORMAT_MACROS=1 -Iscipy/sparse/sparsetools
-I/usr/local/lib/python3.4/dist-packages/numpy/core/include
-I/usr/include/python3.4m -c scipy/sparse/sparsetools/bsr.cxx -o
build/temp.linux-armv6l-3.4/scipy/sparse/sparsetools/bsr.o" failed with exit
status 4
----------------------------------------
Failed building wheel for scipy
Running setup.py clean for scipy
Complete output from command /usr/bin/python3 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-r3h3rnv3/scipy/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" clean
--all:
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported)