The stack shell script generates binary code for x86_64 instead of ppc64le on ppc64le
#4,305 opened on 2018年9月10日
説明
Dear all,
The stack shell script generates binary code for the x86_64 architecture instead of the ppc64le architecture on ppc64le running redhatenterpriseserver.
[fcastro@it01-r4-ln-01 stack-1.7.1]$ arch ppc64le
[root@it01-r4-ln-01 stackage]# sh stacksh Detected Linux distribution: redhatenterpriseserver
Loaded plugins: product-id, search-disabled-repos, subscription-manager Package 4:perl-5.16.3-292.el7.ppc64le already installed and latest version Package 1:make-3.82-23.el7.ppc64le already installed and latest version Package automake-1.13.4-3.el7.noarch already installed and latest version Package gcc-4.8.5-28.el7_5.1.ppc64le already installed and latest version Package 1:gmp-devel-6.0.0-15.el7.ppc64le already installed and latest version Package libffi-3.0.13-18.el7.ppc64le already installed and latest version Package zlib-1.2.7-17.el7.ppc64le already installed and latest version Package xz-5.2.2-1.el7.ppc64le already installed and latest version Package 2:tar-1.26-34.el7.ppc64le already installed and latest version Package git-1.8.3.1-14.el7_5.ppc64le already installed and latest version Package gnupg2-2.0.22-5.el7_5.ppc64le already installed and latest version Nothing to do
Using generic bindist...
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 621 0 621 0 0 1411 0 --:--:-- --:--:-- --:--:-- 1411 100 13.3M 100 13.3M 0 0 358k 0 0:00:38 0:00:38 --:--:-- 262k Installing Stack to: /usr/local/bin/stack...
Stack has been installed to: /usr/local/bin/stack
WARNING: '/usr/local/bin' is not on your PATH.
WARNING: '/root/.local/bin' is not on your PATH. For best results, please add it to the beginning of PATH in your profile.
[root@it01-r4-ln-01 stackage]# cd /usr/local/bin [root@it01-r4-ln-01 bin]# file stack stack: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=23910565d95b0d57894259eeda15f284e0999fd6, stripped [