1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openarkcompiler-incubator-mapleall

 / Детали:

Ubuntu 2004 build the riscv release version

Завершенные
Владелец
Создано в  
02.12.2024

Run the 'make', get the error messages:

mkdir -p /home/shining/mapleall/out/riscv64-clang-release; /home/shining/mapleall/tools/gn/gn gen /home/shining/mapleall/out/riscv64-clang-release --args=' GN_INSTALL_PREFIX="/home/shining/mapleall" GN_BUILD_TYPE="RELEASE" USE_CLANG=1 HOST_ARCH=64 JAVA=1 USE_ZRT=0 DEFERRAL_RC="OFF" STRICT_NAIVE_RC="OFF" RC_TESTING="OFF" USE_MALLOC="" COV_CHECK=0 PLATFORM_SDK_VERSION=27 TARGET="riscv64" X86=1' --export-compile-commands; cd /home/shining/mapleall/out/riscv64-clang-release; /home/shining/mapleall/tools/ninja_1.9.0/ninja -v irbuild maple mplcg;
Generating compile_commands took 3ms
Done. Made 38 targets from 14 files in 16ms
[1/210] clang++ -I../../mapleall/maple_be/include/cg -I../../mapleall/maple_be/include/cg/aarch64 -I../../mapleall/maple_be/include/cg/ark -I../../mapleall/maple_be/include/cg/riscv64 -I../../mapleall/maple_be/include/ad -I../../mapleall/maple_be/include/ad/cortex_a55 -I../../mapleall/maple_be/include/be/aarch64 -I../../mapleall/maple_be/include/be/ark -I../../mapleall/maple_be/include/be/riscv64 -I../../mapleall/maple_be/include/be/mmpl -I../../mapleall/maple_be/include/be/nonmmpl -I../../mapleall/maple_be/include/be -I../../mapleall/maple_util/include -I../../mapleall/maple_ir/include -I../../mapleall/mpl2mpl/include -I../../mapleall/mempool/include -I../../mapleall/maple_ipa/include -I../../mapleall/maple_phase/include -I../../huawei_secure_c/include -I../../tools/dwarf/include -I../../maple_engine/include -I../../mapleall/maple_driver/include -O3 -Wall -fstack-protector-strong -fPIC -m64 -DDYNAMICLANG -DMIR_FEATURE_FULL=1 -DMIR_FEATURE_FULL=1 -DTARGRISCV64 -std=c++14 -Werror -Wno-unused-variable -MD -MT obj/mapleall/maple_be/src/cg/libcg.emit.o -MF obj/mapleall/maple_be/src/cg/libcg.emit.o.d -o obj/mapleall/maple_be/src/cg/libcg.emit.o -c ../../mapleall/maple_be/src/cg/emit.cpp
FAILED: obj/mapleall/maple_be/src/cg/libcg.emit.o
clang++ -I../../mapleall/maple_be/include/cg -I../../mapleall/maple_be/include/cg/aarch64 -I../../mapleall/maple_be/include/cg/ark -I../../mapleall/maple_be/include/cg/riscv64 -I../../mapleall/maple_be/include/ad -I../../mapleall/maple_be/include/ad/cortex_a55 -I../../mapleall/maple_be/include/be/aarch64 -I../../mapleall/maple_be/include/be/ark -I../../mapleall/maple_be/include/be/riscv64 -I../../mapleall/maple_be/include/be/mmpl -I../../mapleall/maple_be/include/be/nonmmpl -I../../mapleall/maple_be/include/be -I../../mapleall/maple_util/include -I../../mapleall/maple_ir/include -I../../mapleall/mpl2mpl/include -I../../mapleall/mempool/include -I../../mapleall/maple_ipa/include -I../../mapleall/maple_phase/include -I../../huawei_secure_c/include -I../../tools/dwarf/include -I../../maple_engine/include -I../../mapleall/maple_driver/include -O3 -Wall -fstack-protector-strong -fPIC -m64 -DDYNAMICLANG -DMIR_FEATURE_FULL=1 -DMIR_FEATURE_FULL=1 -DTARGRISCV64 -std=c++14 -Werror -Wno-unused-variable -MD -MT obj/mapleall/maple_be/src/cg/libcg.emit.o -MF obj/mapleall/maple_be/src/cg/libcg.emit.o.d -o obj/mapleall/maple_be/src/cg/libcg.emit.o -c ../../mapleall/maple_be/src/cg/emit.cpp
../../mapleall/maple_be/src/cg/emit.cpp:54:23: error: object backing the pointer will be destroyed at the end of the full-expression [-Werror,-Wdangling-gsl]
const char *puIdx = std::to_string(CG::curPuIdx).c_str();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../mapleall/maple_be/src/cg/emit.cpp:979:31: error: object backing the pointer will be destroyed at the end of the full-expression [-Werror,-Wdangling-gsl]
const char *idx = std::to_string(GlobalTables::GetFunctionTable().GetFunctionFromPuidx(funcaddr->GetValue())->puIdx).c_str();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[2/210] clang++ -I../../mapleall/maple_be/include/cg -I../../mapleall/maple_be/include/cg/aarch64 -I../../mapleall/maple_be/include/cg/ark -I../../mapleall/maple_be/include/cg/riscv64 -I../../mapleall/maple_be/include/ad -I../../mapleall/maple_be/include/ad/cortex_a55 -I../../mapleall/maple_be/include/be/aarch64 -I../../mapleall/maple_be/include/be/ark -I../../mapleall/maple_be/include/be/riscv64 -I../../mapleall/maple_be/include/be/mmpl -I../../mapleall/maple_be/include/be/nonmmpl -I../../mapleall/maple_be/include/be -I../../mapleall/maple_util/include -I../../mapleall/maple_ir/include -I../../mapleall/mpl2mpl/include -I../../mapleall/mempool/include -I../../mapleall/maple_ipa/include -I../../mapleall/maple_phase/include -I../../huawei_secure_c/include -I../../tools/dwarf/include -I../../maple_engine/include -I../../mapleall/maple_driver/include -O3 -Wall -fstack-protector-strong -fPIC -m64 -DDYNAMICLANG -DMIR_FEATURE_FULL=1 -DMIR_FEATURE_FULL=1 -DTARGRISCV64 -std=c++14 -Werror -Wno-unused-variable -MD -MT obj/mapleall/maple_be/src/cg/libcg.emit_dbg.o -MF obj/mapleall/maple_be/src/cg/libcg.emit_dbg.o.d -o obj/mapleall/maple_be/src/cg/libcg.emit_dbg.o -c ../../mapleall/maple_be/src/cg/emit_dbg.cpp
ninja: build stopped: subcommand failed.
make: *** [Makefile:72: mapleall] Error 1

Комментарий (0)

GitLife Service Account СозданоЗадачи 3 месяцев назад
GitLife Service Account изменить Статус задачи с Предстоит сделать на Завершенные 3 месяцев назад
Развернуть все журналы операций

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
GitLife Service Account-gitlife
1
https://gitlife.ru/oschina-mirror/openarkcompiler-incubator-mapleall.git
git@gitlife.ru:oschina-mirror/openarkcompiler-incubator-mapleall.git
oschina-mirror
openarkcompiler-incubator-mapleall
openarkcompiler-incubator-mapleall