comparison slides/2018/04/26/slide.md @ 30:5cc72f060cb0

auto-Update generated slides by script
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Fri, 27 Apr 2018 15:06:00 +0900
parents
children
comparison
equal deleted inserted replaced
29:fc1dbdad3f63 30:5cc72f060cb0
1 title: 近況報告
2 author: Takahiro Shimizu
3 profile:
4 lang: Japanese
5
6
7 # 研究内容
8
9 MoarVMの書き換え
10
11 # llvm側でのコンパイル
12
13 - (dalmore) `./Configure.pl --cc /usr/local/cbclang/bin/clang`
14 - `make install -j 80`
15
16 # セグフォで死ぬ
17
18 - llvm/clangでコンパイルしたところセグフォで死んだ
19
20 ```
21 0. Program arguments: /net/open/CentOS/local/cbclang/bin/clang-7.0 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name io.c -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /mnt/dalmore-home/one/src/MoarVM/src/platform/posix/io.gcno -resource-dir /net/open/CentOS/local/cbclang/lib/clang/7.0.0 -D NDEBUG -D _REENTRANT -D _FILE_OFFSET_BITS=64 -D DEBUG_HELPERS -D MVM_TRACING=0 -D MVM_CGOTO=1 -D MVM_RDTSCP=1 -D MVM_BUILD_SHARED -I 3rdparty/libuv/include -I 3rdparty/libuv/src -I 3rdparty/libatomicops/src -I 3rdparty/libtommath -I 3rdparty/dyncall/dynload -I 3rdparty/dyncall/dyncall -I 3rdparty/dyncall/dyncallback -I 3rdparty/sha1 -I 3rdparty/tinymt -I 3rdparty/dynasm -I 3rdparty/cmp -I 3rdparty -I src -internal-isystem /usr/local/include -internal-isystem /net/open/CentOS/local/cbclang/lib/clang/7.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Werror=declaration-after-statement -Werror=pointer-arith -fdebug-compilation-dir /mnt/dalmore-home/one/src/MoarVM -ferror-limit 19 -fmessage-length 136 -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o src/platform/posix/io.o -x c src/platform/posix/io.c
22 1. <eof> parser at end of file
23 clang-7.0: error: unable to execute command: Segmentation fault
24 clang-7.0: error: clang frontend command failed due to signal (use -v to see invocation)
25 clang version 7.0.0
26 Target: x86_64-unknown-linux-gnu
27 Thread model: posix
28 InstalledDir: /usr/local/cbclang/bin
29 clang-7.0: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
30
31 clang-7.0: note: diagnostic msg:
32 ********************
33
34 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
35 Preprocessed source(s) and associated run script(s) are located at:
36 clang-7.0: note: diagnostic msg: /tmp/io-e696e2.c
37 clang-7.0: note: diagnostic msg: /tmp/io-e696e2.sh
38 clang-7.0: note: diagnostic msg:
39
40 ********************
41 ```
42
43 # gcc版でのコンパイル
44
45 - `./Configure.pl --cc /usr/local/x86-cbc/bin/gcc --debug --compiler gcc --prefix=/mnt/dalmore-home/one/src/build_MoarVM`
46 - `-cc` でコンパイラそのものを指定
47 - `--compiler`でコンパイラの種類を指定
48 - `--prefix` が上手く機能しない
49 - ` make -C ../MoarVM -j 70`
50
51