clang-7: error: unable to execute command: Killed clang-7: error: clang frontend command failed due to signal (use -v to see invocation) clang version 7.0.1 (tags/RELEASE_701/final) Target: aarch64--linux-android Thread model: posix InstalledDir: /data/data/com.termux/files/usr/bin clang-7: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. clang-7: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-7: note: diagnostic msg: /data/data/com.termux/files/usr/tmp/join-c5acfc.c clang-7: note: diagnostic msg: /data/data/com.termux/files/usr/tmp/join-c5acfc.sh clang-7: note: diagnostic msg: ******************** error: command 'aarch64-linux-android-clang' failed with exit status 254 error Cleaning up... 0099login:Penguin2019/01/12(土) 00:58:49.99ID:4QD9BGGx 環境情報と構築手順です
$ termux-info Updatable packages: All packages up to date System information: Linux localhost 3.10.49 #2 SMP PREEMPT Fri Jun 2 04:04:12 JST 2017 aarch64 Android Termux-packages arch: aarch64 Android version: 5.0.2 Device manufacturer: SHARP Device model: SH-05G $ wget https://its-pointless.github.io/setup-pointless-repo.sh $ bash setup-pointless-repo.sh $ termux-reload-settings $ apt install clang python python-dev fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev pkg-config $ LDFLAGS=" -lm -lcompiler_rt" pip3 install numpy $ pip list Package Version --------------- ------- numpy 1.15.4 pip 18.1 python-dateutil 2.7.5 pytz 2018.9 setuptools 40.6.2 six 1.12.0 $ 0100login:Penguin2019/01/12(土) 01:00:08.20ID:4QD9BGGx>>96 そうですね、動かすならその方法が早いかもですね 出来ればvim使いたいなとwww 0101login:Penguin2019/01/12(土) 10:14:06.62ID:zGOQldxd それはやり方が古い。 numpy と scipy は its-pointless の repository にビルド済みが登録されてるので、apt でいれる そうすれば pandas は pip で入って動かせるよ 0102login:Penguin2019/01/12(土) 10:17:40.39ID:NgWCfBmi pydroid3入れてみた pip install vim するとnot found ですね viは一応入ったように見えるけどtetminalでviするとnot found. edもないしemacsもない。まさか組込みのエディタ以外使えなくしてるんですか? 0103login:Penguin2019/01/12(土) 14:07:38.61ID:pjUQi4nJ pointlessからnumpy,scipy導入し、pandas導入を試み pandas導入時に「dlopen failed: cannot locate symbol "__fixunstfsi"」が回避出来ないのですがよい方法ありますか?
from pandas/_libs/window.cpp:4: /data/data/com.termux/files/usr/include/string.h:205:9: error: attributes are not allowed on a function-definition __prefer_this_overload { ^ In file included from /data/data/com.termux/files/usr/include/c++/v1/string.h:61: $ $ cd ~/../usr/tmp/pip-install-xxxxxxxs/pandas $ LDFLAGS=" -lm -lcompiler_rt" pip3 install -vvv . Successfully installed pandas-0.23.4 $ python >>> import numpy as np File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/pandas/core/dtypes/inference.py", line 24, in <module> is_scalar = lib.isscalar AttributeError: module 'pandas._libs.lib' has no attribute 'isscalar' >>> 0137login:Penguin2019/01/20(日) 17:17:14.88ID:Ink2spK0 需要ないかもだけど、2Gメモリの機種でpandas入ったよ gcc-7とLDFLAGSがポイントでした
/* Const-correct overloads. Placed after FORTIFY so we call those functions, if possible. */ -#if defined(__cplusplus) +#if defined(__cplusplus) && defined(__clang__) /* * Use two enable_ifs so these overloads don't conflict with + are preferred over libcxx's. This can * be reduced to 1 after libcxx recognizes that we have const-correct overloads.