[LLVMbugs] [Bug 13126] New: I use Chakra/Linux x86_64 OS, hotot-qt compile fails to build using llvm-3.0.1

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 16 05:16:04 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13126

             Bug #: 13126
           Summary: I use Chakra/Linux x86_64 OS, hotot-qt compile fails
                    to build using llvm-3.0.1
           Product: new-bugs
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: hougelangley1987 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


[houge at chakra-pc unix]$ ccr -S hotot-qt-git
warning: hotot-qt-git-20120614-1 is up to date -- reinstalling
warning: hotot-qt-git is flagged out of date

Ccr Targets    (1): hotot-qt-git

Proceed with installation? [Y/n] y
uRL: http://chakra-linux.org/ccr/packages/ho/hotot-qt-git/hotot-qt-git.tar.gz
Edit hotot-qt-git PKGBUILD with $EDITOR? [Y/n] n
Edit hotot-qt-git.install with $EDITOR? [Y/n] n
==> 正在测定最新 git 的修订...
  -> 找到版本:20120616
==> 正在创建软件包:hotot-qt-git 20120616-1 (2012年 06月 16日 星期六 19:54:12 CST)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
==> 解压缩源码...
==> 正在开始 build()...
==> Connecting to GIT server....
Cloning into 'hotot-qt'...
remote: Counting objects: 13202, done.
remote: Compressing objects: 100% (3328/3328), done.
remote: Total 13202 (delta 9345), reused 13011 (delta 9170)
Receiving objects: 100% (13202/13202), 10.96 MiB | 147 KiB/s, done.
Resolving deltas: 100% (9345/9345), done.
==> GIT checkout done or server timeout
==> Starting build...
Cloning into
'/tmp/ccrbuild-1000/hotot-qt-git/hotot-qt-git/src/hotot-qt-build'...
done.
-- Found Gettext: /usr/bin/msgmerge 
-- The C compiler identification is Clang
-- The CXX compiler identification is Clang
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.8.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4 
-- Found Perl: /usr/bin/perl 
-- Found Phonon: /usr/include 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KDE 4.8 include dir: /usr/include
-- Found KDE 4.8 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Enabling KDE4 integration
-- Configuring done
-- Generating done
-- Build files have been written to:
/tmp/ccrbuild-1000/hotot-qt-git/hotot-qt-git/src/hotot-qt-build/build-qt
[  3%] Generating moc_kdetraybackend.cxx
[  6%] Generating moc_mainwindow.cxx
[  9%] Generating moc_formpost.cxx
[ 12%] Generating moc_hototrequest.cxx
[ 15%] Generating moc_hototwebpage.cxx
[ 18%] Generating moc_qttraybackend.cxx
Scanning dependencies of target hotot-qt
[ 21%] Building CXX object qt/CMakeFiles/hotot-qt.dir/formpost.o
0  libLLVM-3.0.so  0x00007feed5ba1b4f
1  libLLVM-3.0.so  0x00007feed5ba1f99
2  libpthread.so.0 0x00007feed4bea770
3  clang           0x0000000000c03852
4  clang           0x0000000000c042f7
5  clang           0x0000000000c060ed
clang::runUninitializedVariablesAnalysis(clang::DeclContext const&, clang::CFG
const&, clang::AnalysisContext&, clang::UninitVariablesHandler&,
clang::UninitVariablesAnalysisStats&) + 1597
6  clang           0x0000000000aa45e2
clang::sema::AnalysisBasedWarnings::IssueWarnings(clang::sema::AnalysisBasedWarnings::Policy,
clang::sema::FunctionScopeInfo*, clang::Decl const*, clang::BlockExpr const*) +
914
7  clang           0x00000000008668bc
clang::Sema::PopFunctionOrBlockScope(clang::sema::AnalysisBasedWarnings::Policy
const*, clang::Decl const*, clang::BlockExpr const*) + 172
8  clang           0x00000000008e2f5e
clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool) + 334
9  clang           0x000000000080e02d
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 189
10 clang           0x000000000081ee23
clang::Parser::ParseFunctionDefinition(clang::Parser::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&) + 963
11 clang           0x000000000082cb03
clang::Parser::ParseDeclGroup(clang::Parser::ParsingDeclSpec&, unsigned int,
bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 739
12 clang           0x000000000081a7c5
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsingDeclSpec&,
clang::AccessSpecifier) + 149
13 clang           0x000000000081adad
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&,
clang::AccessSpecifier) + 717
14 clang           0x000000000081c9ab
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::Parser::ParsingDeclSpec*) + 2747
15 clang           0x000000000081cebe
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 158
16 clang           0x00000000007f69fd clang::ParseAST(clang::Sema&, bool) + 269
17 clang           0x00000000006e8f43 clang::CodeGenAction::ExecuteAction() +
51
18 clang           0x00000000005ecd83
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 307
19 clang           0x00000000005d7d01
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1041
20 clang           0x00000000005d13b4 cc1_main(char const**, char const**, char
const*, void*) + 804
21 clang           0x00000000005d0365 main + 6965
22 libc.so.6       0x00007feed4344455 __libc_start_main + 245
23 clang           0x00000000005d0ef1
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-unknown-linux-gnu
-emit-obj -disable-free -disable-llvm-verifier -main-file-name formpost.cpp
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.22.0.20120109
-momit-leaf-frame-pointer -g -coverage-file CMakeFiles/hotot-qt.dir/formpost.o
-resource-dir /usr/bin/../lib/clang/3.0 -D QT_NO_STL -D QT_NO_CAST_TO_ASCII -D
_REENTRANT -D KDE_DEPRECATED_WARNINGS -D KDE4_CMAKE_TOPLEVEL_DIR_LENGTH=48 -D
QT_NO_DEBUG -D _LARGEFILE64_SOURCE -I /usr/include/KDE -I
/usr/include/QtXmlPatterns -I /usr/include/QtXml -I /usr/include/QtWebKit -I
/usr/include/QtUiTools -I /usr/include/QtTest -I /usr/include/QtSvg -I
/usr/include/QtSql -I /usr/include/QtScriptTools -I /usr/include/QtScript -I
/usr/include/QtOpenGL -I /usr/include/QtNetwork -I /usr/include/QtMultimedia -I
/usr/include/QtHelp -I /usr/include/QtDesigner -I /usr/include/QtDeclarative -I
/usr/include/QtDBus -I /usr/include/Qt3Support -I /usr/include/QtGui -I
/usr/include/QtCore -I /usr/include/Qt -I /usr/share/qt/mkspecs/default -I
/tmp/ccrbuild-1000/hotot-qt-git/hotot-qt-git/src/hotot-qt-build/build-qt/qt -I
/tmp/ccrbuild-1000/hotot-qt-git/hotot-qt-git/src/hotot-qt-build/qt
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/include/c++/4.7.0 -internal-isystem
/usr/include/c++/4.7.0/x86_64-unknown-linux-gnu -internal-isystem
/usr/include/c++/4.7.0/backward -internal-isystem /usr/local/include
-internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem
/usr/include -O2 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter
-fdeprecated-macro -ferror-limit 19 -fmessage-length 80 -fvisibility hidden
-fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
CMakeFiles/hotot-qt.dir/formpost.o -x c++
/tmp/ccrbuild-1000/hotot-qt-git/hotot-qt-git/src/hotot-qt-build/qt/formpost.cpp 
1.     
/tmp/ccrbuild-1000/hotot-qt-git/hotot-qt-git/src/hotot-qt-build/qt/formpost.cpp:88:1:
current parser token 'QNetworkReply'
2.     
/tmp/ccrbuild-1000/hotot-qt-git/hotot-qt-git/src/hotot-qt-build/qt/formpost.cpp:70:1:
parsing function body 'addFile'
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/formpost-5ORYF0.ii
make[2]: *** [qt/CMakeFiles/hotot-qt.dir/formpost.o] 错误 254
make[1]: *** [qt/CMakeFiles/hotot-qt.dir/all] 错误 2
make: *** [all] 错误 2
==> 错误: 在 build() 中发生一个错误。
    正在放弃...
The build failed.
[houge at chakra-pc unix]$

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list