2014-01-30 6 views
0

64 비트 Windows 7 시스템에서 oracle VM Virtualbox 4.3.6을 실행하고 있습니다.때마다 Clang 3.3 컴파일러가 충돌합니다 (Debian VM)

VM은 새로 설치 한 Debian i386 7.3 DVD로 생성되었습니다.

LLVM 3.3을 컴파일하고 Clang 3.3을 컴파일했습니다.

간단한 프로그램을 컴파일하는 그 소리 바이너리를 실행하려고 (INT 주() {반환 1;})가 충돌 :

사람은 무엇을 제공 알아?

./clang TEST.C 그 소리 - 3.3 : /home/kzvr/llfi/llvmsrc/lib/IR/Value.cpp:559 : 무효 LLVM :: ValueHandleBase :: RemoveFromUseList() : 어설`VP.getPointer() & & VP.getPointer() -> HasValueHandle & & "포인터에 사용 목록이 없습니다!" '실패했습니다. 연타 0 - 3.3 0x0973d62a의 LLVM :: SYS ::의 printStackTrace (_IO_FILE *) + 50 연타-1 3.3 0x0973d87d 2 연타-3.3 0x0973d284 0xb7761400 __kernel_sigreturn 3 + 0 4 0xb7761422 __kernel_vsyscall + 2 5 libc.so.6으로 0xb74c6941 gsignal + 81 6 libc.so.6으로 0xb74c9d72 중단 + 386 7 libc.so.6으로 0xb74bfb58 __assert_fail + 248 8 연타-3.3 0x096610ad LLVM :: ValueHandleBase :: RemoveFromUseList() + 103 9 연타-3.3 0x08d649f4 10 clang-3.3 0x093085e4 11 clang-3.3 0x09781560 12 clang-3.3 0x0977be5a clang :: CodeGen :: CodeGenFunction :: StartFunction (clang :: GlobalDecl, clang :: QualType, llvm :: Function *, clang :: CodeGen :: CGFunctionInfo const &, clang :: CodeGen :: FunctionArgList const &, clang :: SourceLocation) + 692 13 clang-3.3 0x0977c929 clang :: CodeGen :: CodeGenFunction :: GenerateCode (clang :: GlobalDecl, llvm :: Function *, clang CodeGen :: CGFunctionInfo const &) + 473 14 clang-3.3 0x0978dbc2 clang :: 3.3 CodeGenModule :: EmEdGlobalFunctionDefinition (clang :: GlobalDecl) + 650 15 clang-3.3 0x0978ae33 clang :: CodeGen :: CodeGenModule :: (clang :: GlobalDecl) + 383 16 clang-3.3 0x0978a849 clang :: 코드 생성 :: 코드 생성 모듈 :: EmitGlobal (clang :: GlobalDecl) + 587 17 clang-3.3 0x097909d8 clang :: CodeGen :: CodeGenModule :: EmitTopLevelDecl clang :: Decl *) + 252 18 clang-3.3 0x0976d7e6 19 clang-3.3 0x09 76c9df 20 연타-3.3 0x09a8d4d6 연타 :: ParseAST (연타 :: 세마 &, 불리언, 불리언) + 484 21 연타-3.3 0x099afde0 연타 :: ASTFrontendAction :: ExecuteAction() + 284 22 연타-3.3 0x0976beca 연타 :: CodeGenAction :: ExecuteAction() + 1090 23 연타-3.3 0x099af995 연타가 :: FrontendAction은 : (실행) + 183 24 연타-3.3 0x0998b9b5 연타 :: CompilerInstance :: ExecuteAction (연타 :: FrontendAction &) + 559 25 연타 -3.3 0x09742469 연타 :: ExecuteCompilerInvocation (연타 :: CompilerInstance *) + 939 26 연타-3.3 0x08878f0b cc1_main (숯 CONST * , * 숯 CONST * 무효 * 숯 CONST) + 624 27 연타-3.3 0x088738a0 메인 + 523 28 libc.so.6 0xb74b2e46 __libc_start_main + 230 29 clang-3.3 0x08872261 스택 덤프 : 0. 프로그램 인수 : /home/kzvr/llfi/clang/bin/clang-3.3 -cc1 -triple i386-pc-linux- gnu -emit-obj -mrelax-all -disable-free -disable -llvm-verifier -main-file-name test.c -mrelocation-model 정적 -mdisable-fp-elim -fmath-errno -masm -verbose -mconstructor- 별칭 -fuse-init-array -target-cpu pentium4 -resource-dir /home/kzvr/llfi/clang/bin/../lib/clang/3.3 -internal-isystem/usr/local/include -internal-isystem /home/kzvr/llfi/clang/bin/../lib/clang/3.3/include -internal-externc-isystem/usr/include/i386-linux -foobug-compilation-dir/home/kzvr/llfi/clang/bin -ferror-limit 19 -fmessage-length 140 -mstackrealign -fobjc -gnu -internal-externc-isystem/include -internal-externc-isystem/usr/include -fdebug-compilation-dir/home/kzvr/llfi/clang/bin -ferror- -runtime = gcc -fobjc-default-synthesize-properties -fiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o /tmp/test-Gjdo7r.o -xc test.c 1. 파서는 다음과 같습니다. 파일 끝 2. test.c : 1 : 5 : 'main'선언의 LLVM IR 생성 3. test.c : 1 : 5 : 'main'선언 코드 생성 clang-3.3 : 오류 : 실행할 수 없습니다. 명령 : 중단됨 clang-3.3 : 오류 : clang frontend 명령이 신호로 인해 실패했습니다 (호출을 보려면 -v 사용) clang 버전 3.3 (태그clang-3.3 : 참고 : 진단 메시지 : http://llvm.org/bugs/에 버그 보고서를 제출하고 크래시 백 추적, 사전 처리 된 소스 및 관련 실행을 포함하십시오. 스크립트. 그 소리 - 3.3 : 참고 : 진단 메시지 :


버그 보고서에 다음 파일을 첨부 사항 : 그 소리 - 3.3 : 참고 전처리를 거쳐 소스 (들) 및 관련 실행 스크립트 (들)에 있습니다 : 진단 메시지 : /tmp/test-jvuGLK.c 그 소리 - 3.3 : 참고 : 진단 MSG를 : /tmp/test-jvuGLK.sh 그 소리 - 3.3 : 참고 : 진단 메시지 :

답변

1

그것을 고정 ...

컴파일 된 패스가 CMAKE_BUILD_TYPE = RELEASE to cmake ...

관련 문제