退屈な背景:msp430ツールチェーンをaarch64(64ビットarm)にインポートしようとしています。私は最近Gentooから遠ざかりました(32ビット使用フラグを追加する必要性のためにPortageを継続的に汚染し、それがまだ必要であることを確認します... abi_x86_32を手動で追加する必要性は実際にGentoo全体をひざまずかせました) )。 12年間Gentooを使用した後、私はアーチに移動したかったのですが、Pi4を使用して64ビットをサポートするManjaroを取得しました。
msp430をaarch64に移植しようとしています。パッケージにmsp430-binutilsを追加しましたが、gccがさらに問題を引き起こしています...
ポイントは次のとおりです。TIの最新の(パッチ付き)gcc-9.3.1.11をコンパイルしようとすると、コンパイル中にmakeが停止しますが、これを引き起こす実際のエラーが見つかりません。私のPCKGBUILD:
# based on apply-patches.sh from msp430-gcc-9.3.1.11-source-patches by texas instruments
# based on a gcc9 PKGBUILD by group of authors
# package for gcc-9.3.0 for MSP430
# This file is written by complete noob.
# No warranty whatsoever
########################################################################
# Warning!!!!! #
# As the parser of texi file is incapable of unicode (not even utf-8)#
# this package will not pass make stage if BuildPATH contains non-asci characters
pkgbase=msp430-gcc9
pkgname=msp430-gcc
pkgver=9.3.1.11
pkgrel=1
_islver=0.21
pkgdesc="GNU toolchain for the TI MSP430 processor"
arch=('aarch64')
url="https://www.ti.com/tool/MSP430-GCC-OPENSOURCE"
license=('GPL')
makedepends=( 'wget' 'texinfo' 'ncurses' 'zlib' 'msp430-binutils' 'libmpc' 'doxygen' 'python' 'git')
depends=('elfutils' 'libmpc' 'gcc')
options=(!strip !emptydirs !libtool)
# as some of the shared files have been removed to prevent conflicts with main gcc they have to be already on a system
configure_args_gdb_common=$(echo --disable-{binutils,gas,ld,gprof,etc} --without-{mpfr,lzma} --with-static-standard-libraries --disable-source-highlight)
configure_args_gdb_nopy="--with-python=no"
configure_args_gdb_py="--with-python=python2.7 --program-prefix=msp430-elf- --program-suffix=-py"configure_args_gcc=$(echo --enable-target-optspace --enable-newlib-nano-formatted-io)
source=( "http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_3_1_2/export/msp430-gcc-9.3.1.11-source-full.tar.bz2"
http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
https://occam.cs.pitt.edu/QmcvDZvdTHadc93Dtn4SJi8gMvezxJVeTLk6pJnE8uy1Pr/5du9jMmZ9WGWsGta7qCfAj8xM7btzP/raw/fs64270.patch
#c89 c99
)
sha1sums=('88cbf70edd38f29a88d0dc9e7544f42708f84835'
'175111adaa8f6bda81a99ba9e200255a3b8075e2'
'b5d3c80aa04ceef9310e6a6baf8657a88247f244')
_builddir=build
prepare() {
cd "${srcdir}/msp430-gcc-${pkgver}-source-full/gcc/"
# Download sources for gcc prerequisites (gmp, mpfr, mpc, and isl)
(
# download_prerequisites requires wget which isn't on macOS
wget() {
curl -O "$@"
}
source ./contrib/download_prerequisites
)
# Create a single source tree for gcc and newlib
for dir in libgloss newlib; do
ln -fns ../newlib/$dir $dir
done
}
build() {
cd "${srcdir}/msp430-gcc-${pkgver}-source-full/gcc/"
export PATH=./:$PWD/../../install/usr/local/bin:$PATH
./configure $configure_args_common $configure_args_gcc \
CFLAGS_FOR_TARGET="-Os" \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--disable-libssp \
--disable-nls \
--target=msp430 \
--enable-languages=c,c++ \
--with-gnu-as \
--with-gnu-ld \
--with-as=/usr/bin/msp430-as \
--with-ld=/usr/bin/msp430-ld \
--with-pkgversion="mspgcc_${_mspgcc_ver}"
#CFLAGS="-Os -g0 -s" "${srcdir}/gcc-${pkgver}/configure" \
printf "\n\n###########################################\n Predmake\n####################################x\n "
#pushd build/gcc
(
CFLAGS="${CFLAGS/-pipe/} -Wno-error"
CXXFLAGS="${CXXFLAGS/-pipe/} -Wno-error"
make #>> ./Vystup
printf "\n\n###########################################\n Pomake\n####################################x\n "
make html
make install install-html DESTDIR=$PWD/../../install
)
#popd
libtool --finish /usr/libexec/gcc/msp430/9.3.1
}
check() {
#cd ${srcdir}/binutils-*/${_builddir}
# do not abort on errors - manually check log files
make -k -j1 check || true
}
package() {
cd ${srcdir}/gcc-${pkgver}/${_builddir}
make DESTDIR=${pkgdir} install
rm -f ${pkgdir}/usr/lib/libiberty.a
rm -rf ${pkgdir}/usr/share/man/man7
rm -rf ${pkgdir}/usr/share/info
msg "Stripping debugging symbols from binaries"
local binary
find ${pkgdir} -type f 2>/dev/null | while read binary ; do
case "$(file -biz "$binary")" in
*compressed-encoding*) # Skip compressed binarys
;;
*application/x-executable*) # Binaries
/usr/bin/strip "$binary" >/dev/null 2>&1 ;;
esac
done
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set sts=2 ts=2 sw=2 et:
エラー出力:
In file included from /usr/include/string.h:519,
from ../.././libiberty/dyn-string.c:38:
In function ‘strncpy’,
inlined from ‘dyn_string_insert_cstr’ at ../.././libiberty/dyn-string.c:280:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././libiberty/dyn-string.c: In function ‘dyn_string_insert_cstr’:
../.././libiberty/dyn-string.c:272:16: note: length computed here
272 | int length = strlen (src);
| ^~~~~~~~~~~~
configure: WARNING: decimal float is not supported for this target, ignored
In file included from /usr/include/string.h:519,
from ../.././libiberty/dyn-string.c:38:
In function ‘strncpy’,
inlined from ‘dyn_string_insert_cstr’ at ../.././libiberty/dyn-string.c:280:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././libiberty/dyn-string.c: In function ‘dyn_string_insert_cstr’:
../.././libiberty/dyn-string.c:272:16: note: length computed here
272 | int length = strlen (src);
| ^~~~~~~~~~~~
In file included from /usr/include/string.h:519,
from ../.././libiberty/dyn-string.c:38:
In function ‘strncpy’,
inlined from ‘dyn_string_insert_cstr’ at ../.././libiberty/dyn-string.c:280:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../.././libiberty/dyn-string.c: In function ‘dyn_string_insert_cstr’:
../.././libiberty/dyn-string.c:272:16: note: length computed here
272 | int length = strlen (src);
| ^~~~~~~~~~~~
ar: `u' modifier ignored since `D' is the default (see `U')
objcopy: /tmp/ls267314: cannot fill debug link section `x': No such file or directory
ar: `u' modifier ignored since `D' is the default (see `U')
../.././libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’:
../.././libcpp/expr.c:797:18: error: format not a string literal and no format arguments [-Werror=format-security]
797 | 0, message);
| ^
../.././libcpp/expr.c:800:39: error: format not a string literal and no format arguments [-Werror=format-security]
800 | virtual_location, 0, message);
| ^
cc1plus: some warnings being treated as errors
make[2]: *** [Makefile:224: expr.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../.././libcpp/macro.c: In member function ‘vaopt_state::update_type vaopt_state::update(const cpp_token*)’:
../.././libcpp/macro.c:164:23: error: format not a string literal and no format arguments [-Werror=format-security]
164 | vaopt_paste_error);
| ^
../.././libcpp/macro.c:193:24: error: format not a string literal and no format arguments [-Werror=format-security]
193 | vaopt_paste_error);
| ^
../.././libcpp/macro.c: In function ‘cpp_macro* create_iso_definition(cpp_reader*)’:
../.././libcpp/macro.c:3385:58: error: format not a string literal and no format arguments [-Werror=format-security]
3385 | cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
| ^
../.././libcpp/macro.c:3400:58: error: format not a string literal and no format arguments [-Werror=format-security]
3400 | cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
| ^
cc1plus: some warnings being treated as errors
make[2]: *** [Makefile:224: macro.o] Error 1
make[1]: *** [Makefile:2791: all-build-libcpp] Error 2
make[1]: *** Waiting for unfinished jobs....
../.././libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’:
../.././libcpp/expr.c:797:18: error: format not a string literal and no format arguments [-Werror=format-security]
797 | 0, message);
| ^
../.././libcpp/expr.c:800:39: error: format not a string literal and no format arguments [-Werror=format-security]
800 | virtual_location, 0, message);
| ^
libtool: install: warning: remember to run `libtool --finish /usr/libexec/gcc/msp430/9.3.1'
cc1plus: some warnings being treated as errors
make[2]: *** [Makefile:224: expr.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../.././libcpp/macro.c: In member function ‘vaopt_state::update_type vaopt_state::update(const cpp_token*)’:
../.././libcpp/macro.c:164:23: error: format not a string literal and no format arguments [-Werror=format-security]
164 | vaopt_paste_error);
| ^
../.././libcpp/macro.c:193:24: error: format not a string literal and no format arguments [-Werror=format-security]
193 | vaopt_paste_error);
| ^
../.././libcpp/macro.c: In function ‘cpp_macro* create_iso_definition(cpp_reader*)’:
../.././libcpp/macro.c:3385:58: error: format not a string literal and no format arguments [-Werror=format-security]
3385 | cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
| ^
../.././libcpp/macro.c:3400:58: error: format not a string literal and no format arguments [-Werror=format-security]
3400 | cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
| ^
cc1plus: some warnings being treated as errors
make[2]: *** [Makefile:224: macro.o] Error 1
make[1]: *** [Makefile:6965: all-libcpp] Error 2
make: *** [Makefile:949: all] Error 2
==> CHYBA: Chyba nastala v build().
Prebieha rušenie...
最後の2行は次のように翻訳されます。 Build()とCenceling中にエラーが発生しました...
最後の数行:
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o directives.o -MT directives.o -MMD -MP -MF .deps/directives.Tpo ../.././libcpp/directives.c
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o directives-only.o -MT directives-only.o -MMD -MP -MF .deps/directives-only.Tpo ../.././libcpp/directives-only.c
gcc -c -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../.././fixincludes -I../include -I../.././fixincludes/../include ../.././fixincludes/server.c
gcc -c -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../.././fixincludes -I../include -I../.././fixincludes/../include ../.././fixincludes/procopen.c
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o errors.o -MT errors.o -MMD -MP -MF .deps/errors.Tpo ../.././libcpp/errors.c
gcc -c -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../.././fixincludes -I../include -I../.././fixincludes/../include ../.././fixincludes/fixlib.c
gcc -c -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../.././fixincludes -I../include -I../.././fixincludes/../include ../.././fixincludes/fixopts.c
srcdir="../.././fixincludes" /bin/sh ../.././fixincludes/mkfixinc.sh msp430-unknown-none
sed -e 's/@gcc_version@/9.3.1/' < mkheaders.almost > mkheadersT
mv -f mkheadersT mkheaders
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o expr.o -MT expr.o -MMD -MP -MF .deps/expr.Tpo ../.././libcpp/expr.c
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o files.o -MT files.o -MMD -MP -MF .deps/files.Tpo ../.././libcpp/files.c
gcc -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -static-libstdc++ -static-libgcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
echo timestamp > full-stamp
make[2]: Leaving directory '/home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/fixincludes'
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o identifiers.o -MT identifiers.o -MMD -MP -MF .deps/identifiers.Tpo ../.././libcpp/identifiers.c
/bin/sh ./libtool --tag=CC --tag=disable-static --mode=link gcc -Wall -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wc,-static-libgcc -module -bindir /usr/libexec/gcc/msp430/9.3.1 -Xcompiler '-static-libstdc++' -Xcompiler '-static-libgcc' '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' -o liblto_plugin.la -rpath /usr/libexec/gcc/msp430/9.3.1 lto-plugin.lo -Wc,../libiberty/pic/libiberty.a
libtool: link: gcc -shared -fPIC -DPIC .libs/lto-plugin.o -march=armv8-a -static-libgcc -static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now ../libiberty/pic/libiberty.a -Wl,-soname -Wl,liblto_plugin.so.0 -o .libs/liblto_plugin.so.0.0.0
libtool: link: (cd ".libs" && rm -f "liblto_plugin.so.0" && ln -s "liblto_plugin.so.0.0.0" "liblto_plugin.so.0")
libtool: link: (cd ".libs" && rm -f "liblto_plugin.so" && ln -s "liblto_plugin.so.0.0.0" "liblto_plugin.so")
libtool: link: ( cd ".libs" && rm -f "liblto_plugin.la" && ln -s "../liblto_plugin.la" "liblto_plugin.la" )
echo "#define LOCALEDIR \"/usr/share/locale\"" > localedir.new
../.././libcpp/../move-if-change localedir.new localedir.h
echo timestamp > localedir.hs
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o lex.o -MT lex.o -MMD -MP -MF .deps/lex.Tpo ../.././libcpp/lex.c
mkdir -p -- ../../host-aarch64-unknown-linux-gnu/gcc
libtool: install: /usr/bin/install -c .libs/liblto_plugin.so.0.0.0 /home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/lto-plugin/../../host-aarch64-unknown-linux-gnu/gcc/liblto_plugin.so.0.0.0
libtool: install: (cd /home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/lto-plugin/../../host-aarch64-unknown-linux-gnu/gcc && { ln -s -f liblto_plugin.so.0.0.0 liblto_plugin.so.0 || { rm -f liblto_plugin.so.0 && ln -s liblto_plugin.so.0.0.0 liblto_plugin.so.0; }; })
libtool: install: (cd /home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/lto-plugin/../../host-aarch64-unknown-linux-gnu/gcc && { ln -s -f liblto_plugin.so.0.0.0 liblto_plugin.so || { rm -f liblto_plugin.so && ln -s liblto_plugin.so.0.0.0 liblto_plugin.so; }; })
libtool: install: /usr/bin/install -c .libs/liblto_plugin.lai /home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/lto-plugin/../../host-aarch64-unknown-linux-gnu/gcc/liblto_plugin.la
make[3]: Leaving directory '/home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/lto-plugin'
make[2]: Leaving directory '/home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/lto-plugin'
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o line-map.o -MT line-map.o -MMD -MP -MF .deps/line-map.Tpo ../.././libcpp/line-map.c
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o macro.o -MT macro.o -MMD -MP -MF .deps/macro.Tpo ../.././libcpp/macro.c
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o mkdeps.o -MT mkdeps.o -MMD -MP -MF .deps/mkdeps.Tpo ../.././libcpp/mkdeps.c
g++ -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../.././libcpp -I. -I../.././libcpp/../include -I../.././libcpp/include -c -o pch.o -MT pch.o -MMD -MP -MF .deps/pch.Tpo ../.././libcpp/pch.c
make[2]: Leaving directory '/home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc/host-aarch64-unknown-linux-gnu/libcpp'
make[1]: Leaving directory '/home/asi/Balickovac/src/msp430-gcc-9.3.1.11-source-full/gcc'
フル出力https://pastebin.com/KpwyLfWZ インターネット検索の後、古いgccを最新バージョンにコンパイルする問題について読んでいましたが、Manjaroのaarch64はかなり新鮮であるため、gccバージョン10.2.0は利用可能なバージョンと同じくらい古く、以前のバージョンをコンパイルしようとすると同じ結果になります。私は他のコンピュータを持っていません(私の古いハードブックは途方もない方法で壊れ、その過程で金属フレームが溶けてしまいました)、他のコンピュータを使って開発レベルに達することはできません。したがって、以前のバージョンではコンパイルできず、intel32bitのどのレベルのchrootがarmプラットフォームで動作するのかわかりません。
どんなアイデアがありますか?