Last active
January 18, 2022 20:58
-
-
Save nekketsuuu/38edb7a5210b096e55949fd019ff850e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker の ubuntu:16.04 に AArch64 用のクロスコンパイル環境をビルドする | |
# 2017/06/29 | |
# これ以外のファイルは、configure 時の出力ログです。 | |
# sudo docker run --name cross_compile -it ubuntu:16.04 /bin/bash | |
# Docker 環境のため、rootで動かしていることに注意してください。 | |
# 作業環境の整備 | |
apt update | |
apt upgrade | |
apt install g++ make gawk perl wget | |
# tar.{xz,bz2} の decompress に必要 | |
apt install xz-utils lbzip2 | |
# ビルドには必要ないですが、作業中にファイルの中身を読み書きしたかったのでエディタを入れています。 | |
# Emacs を入れているので、これに依存するパッケージがたくさん入っています。 | |
# これのせいでビルドするために必要な他のパッケージを見逃してるかもしれません、すいません。 | |
apt install emacs | |
# この時点で、ビルドする側の諸々のバージョンは以下の通りです。 | |
# gcc -v | |
## Using built-in specs. | |
## COLLECT_GCC=gcc | |
## COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper | |
## Target: x86_64-linux-gnu | |
## Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | |
## Thread model: posix | |
## gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) | |
# g++ -v | |
## Using built-in specs. | |
## COLLECT_GCC=g++ | |
## COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper | |
## Target: x86_64-linux-gnu | |
## Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | |
## Thread model: posix | |
## gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) | |
# make -v | |
## GNU Make 4.1 | |
## Built for x86_64-pc-linux-gnu | |
# gawk -V | |
## GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0) | |
# perl -v | |
## This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi | |
## (with 58 registered patches, see perl -V for more detail) | |
# bash --version | |
## GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu) | |
# Required Packages | |
cd root | |
mkdir archives | |
cd archives | |
wget http://ftp.jaist.ac.jp/pub/GNU/binutils/binutils-2.28.tar.gz | |
wget http://ftp.jaist.ac.jp/pub/GNU/gcc/gcc-7.1.0/gcc-7.1.0.tar.gz | |
wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.11.7.tar.gz | |
wget http://ftp.jaist.ac.jp/pub/GNU/glibc/glibc-2.25.tar.gz | |
wget http://ftp.jaist.ac.jp/pub/GNU/mpfr/mpfr-3.1.5.tar.gz | |
wget http://ftp.jaist.ac.jp/pub/GNU/gmp/gmp-6.1.1.tar.xz | |
wget http://ftp.jaist.ac.jp/pub/GNU/mpc/mpc-1.0.3.tar.gz | |
wget ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2 | |
wget ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.gz | |
# Build Steps | |
# GCC のインストールは記事の手順通りで動きました。 | |
# GCC の用意している最新版マニュアルはこちら: https://gcc.gnu.org/install/ | |
for f in *.tar*; do tar xf $f; done | |
ln -s ../mpfr-3.1.5 mpfr | |
ln -s ../gmp-6.1.1 gmp | |
ln -s ../mpc-1.0.3 mpc | |
ln -s ../isl-0.16.1 isl | |
ln -s ../cloog-0.18.1 cloog | |
cd .. | |
mkdir /opt/cross | |
export PATH=/opt/cross/bin:$PATH | |
# echo $PATH | |
# ==> /opt/cross/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
# 1. Binutils | |
mkdir build-binutils | |
cd build-binutils | |
../binutils-2.28/configure --prefix=/opt/cross --target=aarch64-linux --disable-multilib | |
make -j4 | |
make install | |
cd .. | |
# 2. Linux Kernel Headers | |
cd linux-4.11.7 | |
make ARCH=arm64 INSTALL_HDR_PATH=/opt/cross/aarch64-linux headers_install | |
cd .. | |
# 3. C/C++ Compilers | |
mkdir build-gcc | |
cd build-gcc | |
../gcc-7.1.0/configure --prefix=/opt/cross --target=aarch64-linux --enable-languages=c,c++ --disable-multilib | |
make -j4 all-gcc | |
make install-gcc | |
cd .. | |
# 4. Standard C Library Headers and Startup Files | |
# $MACHTYPE は x86_64-pc-linux-gnu でした。 | |
mkdir build-glibc | |
cd build-glibc | |
../glibc-2.25/configure --prefix=/opt/cross/aarch64-linux --build=$MACHTYPE --host=aarch64-linux --target=aarch64-linux --with-headers=/opt/cross/aarch64-linux/include --disable-multilib libc_cv_forced_unwind=yes | |
make install-bootstrap-headers=yes install-headers | |
make -j4 csu/subdir_lib | |
install csu/crt1.o csu/crti.o csu/crtn.o /opt/cross/aarch64-linux/lib | |
aarch64-linux-gcc -nostdlib -nostartfiles -shared -x c /dev/null -o /opt/cross/aarch64-linux/lib/libc.so | |
touch /opt/cross/aarch64-linux/include/gnu/stubs.h | |
cd .. | |
# 5. Compiler Support Library | |
cd build-gcc | |
make -j4 all-target-libgcc | |
make install-target-libgcc | |
cd .. | |
# 6. Standard C Library | |
cd build-glibc | |
make -j4 | |
make install | |
cd .. | |
# 7. Standard C++ Library | |
cd build-gcc | |
make -j4 | |
make install | |
cd .. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# apt install emacs | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following additional packages will be installed: | |
acl adwaita-icon-theme at-spi2-core colord colord-data dbus dconf-gsettings-backend dconf-service | |
emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg emacs24-el emacsen-common | |
fontconfig fontconfig-config fonts-dejavu-core gconf-service gconf-service-backend gconf2-common | |
ghostscript glib-networking glib-networking-common glib-networking-services | |
gsettings-desktop-schemas gsfonts hicolor-icon-theme humanity-icon-theme imagemagick-common | |
krb5-locales libasn1-8-heimdal libasound2 libasound2-data libatk-bridge2.0-0 libatk1.0-0 | |
libatk1.0-data libatspi2.0-0 libavahi-client3 libavahi-common-data libavahi-common3 | |
libboost-filesystem1.58.0 libboost-system1.58.0 libbsd0 libcairo-gobject2 libcairo2 libcap-ng0 | |
libcapnp-0.5.3 libcolord2 libcolorhug2 libcroco3 libcups2 libcupsfilters1 libcupsimage2 | |
libdatrie1 libdbus-1-3 libdbus-glib-1-2 libdconf1 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 | |
libdrm-radeon1 libdrm2 libedit2 libegl1-mesa libelf1 libepoxy0 libexif12 libexpat1 libffi6 | |
libfftw3-double3 libfontconfig1 libfreetype6 libfribidi0 libgbm1 libgconf-2-4 libgd3 | |
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif7 libgl1-mesa-dri libglib2.0-0 libglib2.0-data | |
libgnutls30 libgphoto2-6 libgphoto2-l10n libgphoto2-port12 libgpm2 libgraphite2-3 libgs9 | |
libgs9-common libgssapi-krb5-2 libgssapi3-heimdal libgtk-3-0 libgtk-3-bin libgtk-3-common | |
libgudev-1.0-0 libgusb2 libharfbuzz0b libhcrypto4-heimdal libheimbase1-heimdal | |
libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libice6 libicu55 libieee1284-3 libijs-0.35 | |
libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-glib-1.0-common | |
libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 | |
libllvm3.8 liblockfile-bin liblockfile1 liblqr-1-0 libltdl7 libm17n-0 libmagickcore-6.q16-2 | |
libmagickwand-6.q16-2 libmirclient9 libmircommon7 libmircore1 libmirprotobuf3 libnettle6 libotf0 | |
libp11-kit0 libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils | |
libpaper1 libpciaccess0 libpixman-1-0 libpng12-0 libpolkit-agent-1-0 libpolkit-backend-1-0 | |
libpolkit-gobject-1-0 libprotobuf-lite9v5 libproxy1v5 librest-0.7-0 libroken18-heimdal librsvg2-2 | |
librsvg2-common libsane libsane-common libsasl2-2 libsasl2-modules libsasl2-modules-db libsm6 | |
libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-0 libtasn1-6 libthai-data libthai0 libtiff5 | |
libtxc-dxtn-s2tc0 libusb-1.0-0 libvpx3 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa | |
libwayland-server0 libwind0-heimdal libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 | |
libxcb-dri3-0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 | |
libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 | |
libxkbcommon0 libxml2 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxtst6 m17n-db | |
policykit-1 poppler-data sgml-base shared-mime-info ubuntu-mono ucf x11-common xdg-user-dirs | |
xkb-data xml-core | |
Suggested packages: | |
colord-sensor-argyll dbus-user-session | dbus-x11 ncurses-term ghostscript-x hpijs | |
libasound2-plugins alsa-utils cups-common libfftw3-bin libfftw3-dev libgd-tools gnutls-bin | |
gphoto2 gpm fonts-droid texlive-lang-cjk krb5-doc krb5-user gvfs liblcms2-utils m17n-docs | |
libmagickcore-6.q16-2-extra pciutils librsvg2-bin avahi-daemon hplip libsane-extras sane-utils | |
libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit | |
| libsasl2-modules-gssapi-heimdal poppler-utils fonts-japanese-mincho | fonts-ipafont-mincho | |
fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum | |
sgml-base-doc debhelper | |
The following NEW packages will be installed: | |
acl adwaita-icon-theme at-spi2-core colord colord-data dbus dconf-gsettings-backend dconf-service | |
emacs emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg emacs24-el emacsen-common | |
fontconfig fontconfig-config fonts-dejavu-core gconf-service gconf-service-backend gconf2-common | |
ghostscript glib-networking glib-networking-common glib-networking-services | |
gsettings-desktop-schemas gsfonts hicolor-icon-theme humanity-icon-theme imagemagick-common | |
krb5-locales libasn1-8-heimdal libasound2 libasound2-data libatk-bridge2.0-0 libatk1.0-0 | |
libatk1.0-data libatspi2.0-0 libavahi-client3 libavahi-common-data libavahi-common3 | |
libboost-filesystem1.58.0 libboost-system1.58.0 libbsd0 libcairo-gobject2 libcairo2 libcap-ng0 | |
libcapnp-0.5.3 libcolord2 libcolorhug2 libcroco3 libcups2 libcupsfilters1 libcupsimage2 | |
libdatrie1 libdbus-1-3 libdbus-glib-1-2 libdconf1 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 | |
libdrm-radeon1 libdrm2 libedit2 libegl1-mesa libelf1 libepoxy0 libexif12 libexpat1 libffi6 | |
libfftw3-double3 libfontconfig1 libfreetype6 libfribidi0 libgbm1 libgconf-2-4 libgd3 | |
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif7 libgl1-mesa-dri libglib2.0-0 libglib2.0-data | |
libgnutls30 libgphoto2-6 libgphoto2-l10n libgphoto2-port12 libgpm2 libgraphite2-3 libgs9 | |
libgs9-common libgssapi-krb5-2 libgssapi3-heimdal libgtk-3-0 libgtk-3-bin libgtk-3-common | |
libgudev-1.0-0 libgusb2 libharfbuzz0b libhcrypto4-heimdal libheimbase1-heimdal | |
libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libice6 libicu55 libieee1284-3 libijs-0.35 | |
libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-glib-1.0-common | |
libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 | |
libllvm3.8 liblockfile-bin liblockfile1 liblqr-1-0 libltdl7 libm17n-0 libmagickcore-6.q16-2 | |
libmagickwand-6.q16-2 libmirclient9 libmircommon7 libmircore1 libmirprotobuf3 libnettle6 libotf0 | |
libp11-kit0 libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils | |
libpaper1 libpciaccess0 libpixman-1-0 libpng12-0 libpolkit-agent-1-0 libpolkit-backend-1-0 | |
libpolkit-gobject-1-0 libprotobuf-lite9v5 libproxy1v5 librest-0.7-0 libroken18-heimdal librsvg2-2 | |
librsvg2-common libsane libsane-common libsasl2-2 libsasl2-modules libsasl2-modules-db libsm6 | |
libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-0 libtasn1-6 libthai-data libthai0 libtiff5 | |
libtxc-dxtn-s2tc0 libusb-1.0-0 libvpx3 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa | |
libwayland-server0 libwind0-heimdal libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 | |
libxcb-dri3-0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 | |
libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 | |
libxkbcommon0 libxml2 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxtst6 m17n-db | |
policykit-1 poppler-data sgml-base shared-mime-info ubuntu-mono ucf x11-common xdg-user-dirs | |
xkb-data xml-core | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ../binutils-2.28/configure --prefix=/opt/cross --target=aarch64-linux --disable-multilib | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking target system type... aarch64-unknown-linux-gnu | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether ln works... yes | |
checking whether ln -s works... yes | |
checking for a sed that does not truncate output... /bin/sed | |
checking for gawk... gawk | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking for g++... g++ | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether g++ accepts -g... yes | |
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes | |
checking for gnatbind... no | |
checking for gnatmake... no | |
checking whether compiler driver understands Ada... no | |
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 | |
checking for objdir... .libs | |
checking for isl 0.16, 0.15, or deprecated 0.14... no | |
recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated | |
checking for isl 0.16 or 0.15... no | |
checking for default BUILD_CONFIG... | |
checking for --enable-vtable-verify... no | |
checking for bison... no | |
checking for byacc... no | |
checking for yacc... no | |
checking for bison... no | |
checking for gm4... no | |
checking for gnum4... no | |
checking for m4... no | |
checking for flex... no | |
checking for lex... no | |
checking for flex... no | |
checking for makeinfo... no | |
/root/archives/binutils-2.28/missing: 81: /root/archives/binutils-2.28/missing: makeinfo: not found | |
checking for expect... no | |
checking for runtest... no | |
checking for ar... ar | |
checking for as... as | |
checking for dlltool... no | |
checking for ld... ld | |
checking for lipo... no | |
checking for nm... nm | |
checking for ranlib... ranlib | |
checking for strip... strip | |
checking for windres... no | |
checking for windmc... no | |
checking for objcopy... objcopy | |
checking for objdump... objdump | |
checking for readelf... readelf | |
checking for aarch64-linux-cc... no | |
checking for aarch64-linux-gcc... no | |
checking for aarch64-linux-c++... no | |
checking for aarch64-linux-g++... no | |
checking for aarch64-linux-cxx... no | |
checking for aarch64-linux-gxx... no | |
checking for aarch64-linux-gcc... no | |
checking for aarch64-linux-gcj... no | |
checking for aarch64-linux-gfortran... no | |
checking for aarch64-linux-gccgo... no | |
checking for aarch64-linux-ar... no | |
checking for aarch64-linux-as... no | |
checking for aarch64-linux-dlltool... no | |
checking for aarch64-linux-ld... no | |
checking for aarch64-linux-lipo... no | |
checking for aarch64-linux-nm... no | |
checking for aarch64-linux-objcopy... no | |
checking for aarch64-linux-objdump... no | |
checking for aarch64-linux-ranlib... no | |
checking for aarch64-linux-readelf... no | |
checking for aarch64-linux-strip... no | |
checking for aarch64-linux-windres... no | |
checking for aarch64-linux-windmc... no | |
checking where to find the target ar... just compiled | |
checking where to find the target as... just compiled | |
checking where to find the target cc... pre-installed | |
checking where to find the target c++... pre-installed | |
checking where to find the target c++ for libstdc++... pre-installed | |
checking where to find the target dlltool... just compiled | |
checking where to find the target gcc... pre-installed | |
checking where to find the target gcj... pre-installed | |
checking where to find the target gfortran... pre-installed | |
checking where to find the target gccgo... pre-installed | |
checking where to find the target ld... just compiled | |
checking where to find the target lipo... pre-installed | |
checking where to find the target nm... just compiled | |
checking where to find the target objcopy... just compiled | |
checking where to find the target objdump... just compiled | |
checking where to find the target ranlib... just compiled | |
checking where to find the target readelf... just compiled | |
checking where to find the target strip... just compiled | |
checking where to find the target windres... just compiled | |
checking where to find the target windmc... just compiled | |
checking whether to enable maintainer-specific portions of Makefiles... no | |
configure: creating ./config.status | |
config.status: creating Makefile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make ARCH=arm64 INSTALL_HDR_PATH=/opt/cross/aarch64-linux headers_install | |
arch/arm64/Makefile:43: Detected assembler with broken .inst; disassembly will be unreliable | |
CHK include/generated/uapi/linux/version.h | |
UPD include/generated/uapi/linux/version.h | |
HOSTCC scripts/basic/fixdep | |
WRAP arch/arm64/include/generated/asm/bugs.h | |
WRAP arch/arm64/include/generated/asm/clkdev.h | |
WRAP arch/arm64/include/generated/asm/delay.h | |
WRAP arch/arm64/include/generated/asm/div64.h | |
WRAP arch/arm64/include/generated/asm/dma.h | |
WRAP arch/arm64/include/generated/asm/dma-contiguous.h | |
WRAP arch/arm64/include/generated/asm/early_ioremap.h | |
WRAP arch/arm64/include/generated/asm/emergency-restart.h | |
WRAP arch/arm64/include/generated/asm/errno.h | |
WRAP arch/arm64/include/generated/asm/hw_irq.h | |
WRAP arch/arm64/include/generated/asm/ioctl.h | |
WRAP arch/arm64/include/generated/asm/ioctls.h | |
WRAP arch/arm64/include/generated/asm/ipcbuf.h | |
WRAP arch/arm64/include/generated/asm/irq_regs.h | |
WRAP arch/arm64/include/generated/asm/kdebug.h | |
WRAP arch/arm64/include/generated/asm/kmap_types.h | |
WRAP arch/arm64/include/generated/asm/kvm_para.h | |
WRAP arch/arm64/include/generated/asm/local.h | |
WRAP arch/arm64/include/generated/asm/local64.h | |
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h | |
WRAP arch/arm64/include/generated/asm/mm-arch-hooks.h | |
WRAP arch/arm64/include/generated/asm/mman.h | |
WRAP arch/arm64/include/generated/asm/msgbuf.h | |
WRAP arch/arm64/include/generated/asm/msi.h | |
WRAP arch/arm64/include/generated/asm/poll.h | |
WRAP arch/arm64/include/generated/asm/preempt.h | |
WRAP arch/arm64/include/generated/asm/resource.h | |
WRAP arch/arm64/include/generated/asm/rwsem.h | |
WRAP arch/arm64/include/generated/asm/segment.h | |
WRAP arch/arm64/include/generated/asm/sembuf.h | |
WRAP arch/arm64/include/generated/asm/serial.h | |
WRAP arch/arm64/include/generated/asm/shmbuf.h | |
WRAP arch/arm64/include/generated/asm/simd.h | |
WRAP arch/arm64/include/generated/asm/sizes.h | |
WRAP arch/arm64/include/generated/asm/socket.h | |
WRAP arch/arm64/include/generated/asm/sockios.h | |
WRAP arch/arm64/include/generated/asm/swab.h | |
WRAP arch/arm64/include/generated/asm/switch_to.h | |
WRAP arch/arm64/include/generated/asm/termbits.h | |
WRAP arch/arm64/include/generated/asm/termios.h | |
WRAP arch/arm64/include/generated/asm/trace_clock.h | |
WRAP arch/arm64/include/generated/asm/types.h | |
WRAP arch/arm64/include/generated/asm/unaligned.h | |
WRAP arch/arm64/include/generated/asm/user.h | |
WRAP arch/arm64/include/generated/asm/vga.h | |
WRAP arch/arm64/include/generated/asm/xor.h | |
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h | |
HOSTCC scripts/unifdef | |
INSTALL include/asm-generic (35 files) | |
INSTALL include/drm (22 files) | |
INSTALL include/linux/android (1 file) | |
INSTALL include/linux/byteorder (2 files) | |
INSTALL include/linux/caif (2 files) | |
INSTALL include/linux/can (5 files) | |
INSTALL include/linux/dvb (8 files) | |
INSTALL include/linux/hdlc (1 file) | |
INSTALL include/linux/hsi (2 files) | |
INSTALL include/linux/iio (2 files) | |
INSTALL include/linux/isdn (1 file) | |
INSTALL include/linux/mmc (1 file) | |
INSTALL include/linux/netfilter/ipset (4 files) | |
INSTALL include/linux/netfilter (87 files) | |
INSTALL include/linux/netfilter_arp (2 files) | |
INSTALL include/linux/netfilter_bridge (17 files) | |
INSTALL include/linux/netfilter_ipv4 (9 files) | |
INSTALL include/linux/netfilter_ipv6 (12 files) | |
INSTALL include/linux/nfsd (5 files) | |
INSTALL include/linux/raid (2 files) | |
INSTALL include/linux/spi (1 file) | |
INSTALL include/linux/sunrpc (1 file) | |
INSTALL include/linux/tc_act (15 files) | |
INSTALL include/linux/tc_ematch (4 files) | |
INSTALL include/linux/usb (11 files) | |
INSTALL include/linux/wimax (1 file) | |
INSTALL include/linux (451 files) | |
INSTALL include/misc (1 file) | |
INSTALL include/mtd (5 files) | |
INSTALL include/rdma/hfi (2 files) | |
INSTALL include/rdma (18 files) | |
INSTALL include/scsi/fc (4 files) | |
INSTALL include/scsi (4 files) | |
INSTALL include/sound (15 files) | |
INSTALL include/video (3 files) | |
INSTALL include/xen (4 files) | |
INSTALL include/uapi (0 file) | |
INSTALL include/asm (36 files) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ../gcc-7.1.0/configure --prefix=/opt/cross --target=aarch64-linux --enable-languages=c,c++ --disable-multilib | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking target system type... aarch64-unknown-linux-gnu | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether ln works... yes | |
checking whether ln -s works... yes | |
checking for a sed that does not truncate output... /bin/sed | |
checking for gawk... gawk | |
checking for libatomic support... yes | |
checking for libcilkrts support... no | |
checking for libitm support... yes | |
checking for libsanitizer support... yes | |
checking for libvtv support... yes | |
checking for libmpx support... no | |
checking for libhsail-rt support... no | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking for g++... g++ | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether g++ accepts -g... yes | |
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes | |
checking for gnatbind... no | |
checking for gnatmake... no | |
checking whether compiler driver understands Ada... no | |
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 | |
checking for objdir... .libs | |
configure: WARNING: using in-tree isl, disabling version check | |
*** This configuration is not supported in the following subdirectories: | |
target-libcilkrts target-libmpx gnattools gotools target-libada target-libhsail-rt target-libgfortran target-libbacktrace target-libgo target-libffi target-libobjc target-liboffloadmic | |
(Any other directories should still work fine.) | |
checking for default BUILD_CONFIG... | |
checking for --enable-vtable-verify... no | |
checking for bison... no | |
checking for byacc... no | |
checking for yacc... no | |
checking for bison... no | |
checking for gm4... no | |
checking for gnum4... no | |
checking for m4... no | |
checking for flex... no | |
checking for lex... no | |
checking for flex... no | |
checking for makeinfo... no | |
/root/archives/gcc-7.1.0/missing: 81: /root/archives/gcc-7.1.0/missing: makeinfo: not found | |
checking for expect... no | |
checking for runtest... no | |
checking for ar... ar | |
checking for as... as | |
checking for dlltool... no | |
checking for ld... ld | |
checking for lipo... no | |
checking for nm... nm | |
checking for ranlib... ranlib | |
checking for strip... strip | |
checking for windres... no | |
checking for windmc... no | |
checking for objcopy... objcopy | |
checking for objdump... objdump | |
checking for readelf... readelf | |
checking for aarch64-linux-cc... no | |
checking for aarch64-linux-gcc... no | |
checking for aarch64-linux-c++... no | |
checking for aarch64-linux-g++... no | |
checking for aarch64-linux-cxx... no | |
checking for aarch64-linux-gxx... no | |
checking for aarch64-linux-gcc... no | |
checking for aarch64-linux-gfortran... no | |
checking for aarch64-linux-gccgo... no | |
checking for ar... /opt/cross/aarch64-linux/bin/ar | |
checking for as... /opt/cross/aarch64-linux/bin/as | |
checking for dlltool... no | |
checking for aarch64-linux-dlltool... no | |
checking for ld... /opt/cross/aarch64-linux/bin/ld | |
checking for lipo... no | |
checking for aarch64-linux-lipo... no | |
checking for nm... /opt/cross/aarch64-linux/bin/nm | |
checking for objcopy... /opt/cross/aarch64-linux/bin/objcopy | |
checking for objdump... /opt/cross/aarch64-linux/bin/objdump | |
checking for ranlib... /opt/cross/aarch64-linux/bin/ranlib | |
checking for readelf... /opt/cross/aarch64-linux/bin/readelf | |
checking for strip... /opt/cross/aarch64-linux/bin/strip | |
checking for windres... no | |
checking for aarch64-linux-windres... no | |
checking for windmc... no | |
checking for aarch64-linux-windmc... no | |
checking where to find the target ar... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target as... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target cc... just compiled | |
checking where to find the target c++... just compiled | |
checking where to find the target c++ for libstdc++... just compiled | |
checking where to find the target dlltool... pre-installed | |
checking where to find the target gcc... just compiled | |
checking where to find the target gfortran... pre-installed | |
checking where to find the target gccgo... pre-installed | |
checking where to find the target ld... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target lipo... pre-installed | |
checking where to find the target nm... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target objcopy... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target objdump... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target ranlib... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target readelf... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target strip... pre-installed in /opt/cross/aarch64-linux/bin | |
checking where to find the target windres... pre-installed | |
checking where to find the target windmc... pre-installed | |
checking whether to enable maintainer-specific portions of Makefiles... no | |
configure: creating ./config.status | |
config.status: creating Makefile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ../glibc-2.25/configure --prefix=/opt/cross/aarch64-linux --build=$MACHTYPE --host=aarch64-linux --target=aarch64-linux --with-headers=/opt/cross/aarch64-linux/include --disable-multilib libc_cv_forced_unwind=yes | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... aarch64-unknown-linux-gnu | |
checking for aarch64-linux-gcc... aarch64-linux-gcc | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether aarch64-linux-gcc accepts -g... yes | |
checking for gcc... gcc | |
checking for aarch64-linux-readelf... aarch64-linux-readelf | |
checking for aarch64-linux-g++... aarch64-linux-g++ | |
checking whether we are using the GNU C++ compiler... yes | |
checking whether aarch64-linux-g++ accepts -g... yes | |
checking whether aarch64-linux-g++ can link programs... no | |
checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nacl nios2 powerpc s390 sh sparc tile x86_64 | |
configure: running configure fragment for add-on libidn | |
checking for -fstack-protector... yes | |
checking for -fstack-protector-strong... yes | |
checking for -fstack-protector-all... yes | |
checking for assembler and linker STT_GNU_IFUNC support... yes | |
checking for gcc attribute ifunc support... no | |
checking sysdep dirs... sysdeps/unix/sysv/linux/aarch64 sysdeps/aarch64/nptl sysdeps/unix/sysv/linux/generic sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/aarch64/fpu sysdeps/aarch64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-128 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/aarch64/soft-fp sysdeps/ieee754 sysdeps/generic | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether ln -s works... yes | |
checking whether /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/as is GNU as... yes | |
checking whether /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/ld is GNU ld... yes | |
checking for /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/as... /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/as | |
checking version of /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/as... 2.28, ok | |
checking for /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/ld... /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/ld | |
checking version of /opt/cross/lib/gcc/aarch64-linux/7.1.0/../../../../aarch64-linux/bin/ld... 2.28, ok | |
checking for gnumake... no | |
checking for gmake... no | |
checking for make... make | |
checking version of make... 4.1, ok | |
checking for gnumsgfmt... no | |
checking for gmsgfmt... no | |
checking for msgfmt... no | |
checking for makeinfo... no | |
checking for sed... sed | |
checking version of sed... 4.2.2, ok | |
checking for gawk... gawk | |
checking version of gawk... 4.1.3, ok | |
checking if aarch64-linux-gcc is sufficient to build libc... yes | |
checking for aarch64-linux-nm... aarch64-linux-nm | |
checking for python3... no | |
checking for python... no | |
configure: WARNING: | |
*** These auxiliary programs are missing or incompatible versions: msgfmt makeinfo python | |
*** some features or tests will be disabled. | |
*** Check the INSTALL file for required versions. | |
checking LD_LIBRARY_PATH variable... ok | |
checking for bash... /bin/bash | |
checking for perl... /usr/bin/perl | |
checking for install-info... no | |
checking for bison... no | |
checking for .set assembler directive... yes | |
checking linker support for protected data symbol... yes | |
checking for broken __attribute__((alias()))... no | |
checking whether to put _rtld_local into .sdata section... no | |
checking whether to use .ctors/.dtors header and trailer... no | |
checking for libunwind-support in compiler... no | |
checking whether --noexecstack is desirable for .S files... yes | |
checking for -z combreloc... yes | |
checking for linker that supports -z execstack... yes | |
checking for -fpie... yes | |
checking for --hash-style option... yes | |
checking for sufficient default -shared layout... no | |
checking for GLOB_DAT reloc... yes | |
checking linker output format... elf64-littleaarch64 | |
checking for -fno-toplevel-reorder -fno-section-anchors... yes | |
checking for -mtls-dialect=gnu2... no | |
checking whether cc puts quotes around section names... no | |
checking for __builtin_memset... no | |
checking for redirection of built-in functions... yes | |
checking for compiler option to disable generation of FMA instructions... -ffp-contract=off | |
checking if aarch64-linux-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes | |
checking for libgd... no | |
checking for is_selinux_enabled in -lselinux... no | |
checking for _FORTIFY_SOURCE predefine... no | |
checking whether the linker provides working __ehdr_start... yes | |
checking for __builtin_trap with no external dependencies... yes | |
checking whether the C++ compiler supports thread_local... no | |
running configure fragment for sysdeps/unix/sysv/linux/aarch64 | |
running configure fragment for sysdeps/unix/sysv/linux | |
checking installed Linux kernel header files... 3.2.0 or later | |
checking for kernel header at least 3.7.0... ok | |
running configure fragment for sysdeps/gnu | |
running configure fragment for sysdeps/aarch64 | |
checking for grep that handles long lines and -e... /bin/grep | |
checking for egrep... /bin/grep -E | |
checking for big endian... no | |
checking whether -fPIC is default... no | |
checking whether -fPIE is default... no | |
configure: creating ./config.status | |
config.status: creating config.make | |
config.status: creating Makefile | |
config.status: creating config.h | |
config.status: executing default commands |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment