Closed xjtuwxg closed 4 years ago
./install_compiler.py --install-path /usr/local/chameleon --install-musl --chameleon
Error log:
Stack dump: 0. Program arguments: /usr/local/chameleon/bin/clang-3.7 -cc1 -triple aarch64--linux-gnu -emit-obj -mnoexecstack -disable-free -main-file-name glob.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu generic -target-feature +neon -disable-red-zone -target-abi aapcs -g -dwarf-column-info -ffunction-sections -fdata-sections -coverage-file /home/xiaoguang/popcorn-compiler/lib/musl-1.1.18/obj/src/regex/glob.o -nostdsysteminc -nobuiltininc -resource-dir /usr/local/chameleon/bin/../lib/clang/3.7.1 -D _XOPEN_SOURCE=700 -I ./arch/aarch64 -I ./arch/generic -I obj/src/internal -I ./src/internal -I obj/include -I ./include -Os -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Wall -Wno-parentheses -Wno-uninitialized -Wno-missing-braces -Wno-unused-value -Wno-unknown-pragmas -Wno-pointer-to-int-cast -std=c99 -fdebug-compilation-dir /home/xiaoguang/popcorn-compiler/lib/musl-1.1.18 -ferror-limit 19 -fmessage-length 121 -ffreestanding -mstackrealign -fallow-half-arguments-and-returns -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -blind-copy -ffunction-sections -fdata-sections -popcorn-alignment -mllvm -popcorn-instrument=libc -mllvm -act-metadata -mllvm -full-displacements -mllvm -chameleon-nops -o obj/src/regex/glob.o -x c src/regex/glob.c 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module 'src/regex/glob.c'. 4. Running pass 'AArch64 Assembly Printer' on function '@match_in_dir' clang-3.7: error: unable to execute command: Aborted (core dumped) clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.7.1 (tags/RELEASE_371/final 320332) Target: aarch64--linux-gnu Thread model: posix clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-3.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-3.7: note: diagnostic msg: /tmp/glob-b7d85b.c clang-3.7: note: diagnostic msg: /tmp/glob-b7d85b.sh clang-3.7: note: diagnostic msg: ******************** Makefile:155: recipe for target 'obj/src/regex/glob.o' failed make: *** [obj/src/regex/glob.o] Error 254 make: *** Waiting for unfinished jobs.... Could not make musl-libc (aarch64) (Command '['make', '-j', '4']' returned non-zero exit status 2)!
Fixed it here: ssrg-vt/popcorn-compiler@2b0dd80994e01f64e21d8b3e7aa4d9487dacccd3
./install_compiler.py --install-path /usr/local/chameleon --install-musl --chameleon
Error log: