[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
** Changed in: llvm-toolchain-3.4 (Ubuntu) Status: Fix Released => Fix Committed ** Changed in: llvm-toolchain-3.4 (Ubuntu) Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: In Progress Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
How can this patch (or the backport) apply for a SRU update, how it is possible to add a SRU maintainer to this thread? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Fix Released Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
The package needs to be build with gcc5.2 to have the correct (dualabi) symbols in the library. Therefore the back port to 15.10 is definitely needed! Otherwise 3th parity libs cannot link against the clang compiler (what we definitely need) In generall all librarys on a dualabi system (>=gcc5.2) should be compilet with a dualabi compiler. By enforcing this the system becomes consistend and fully compiletime safe against c++11. Mixing pre-dual abi's and and compiled user application can cause a invalid binary. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Fix Released Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
On 10.11.2015 18:17, Sebastien Bacher wrote: > Could you also maybe explain what you changed in the regexp and why and > how that resolves the issue? > additon: By changing the regexpt the package got now compiled with gcc5.2 instead of 4.9 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
Just checked debian testing does a simliar change with a slighly different reg-exp: old: http://http.debian.net/debian/pool/main/l/llvm-toolchain-3.4/llvm-toolchain-3.4_3.4.2-13.debian.tar.xz new: http://http.debian.net/debian/pool/main/l/llvm-toolchain-3.4/llvm-toolchain-3.4_3.4.2-16.debian.tar.xz -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
The rexexp checks for availible compiler versions. Theregexp checks for X.X.X i changed the regexpt to X.X The fallback was to use gcc 4.9 which was availible on ubuntu. The new gcc is 5.2, therefore now the new regexpt matches. I do not checked the originial debian rules from the debian project. I can only say that the bug does not exist there.. On 10.11.2015 18:17, Sebastien Bacher wrote: > Could you also maybe explain what you changed in the regexp and why and > how that resolves the issue? > -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
Debian testing is not affected i use it too On 10.11.2015 17:57, Sebastien Bacher wrote: > Debian as well, could you report the bug to the Debian BTS as well? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
mitko: it seems the i386 does not finish because the build-servers are too slow, however the x64 build is finished. I have no clue howto tell the buildserver to wait longer for the result for the i386 build. of the llvm-3.7. But i recomment we move this 3.7 discussion to the other bugreport -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
mitko: i created a issue on the llvm-3.7 and attached the patch: https://bugs.launchpad.net/ubuntu/+source/llvm- toolchain-3.7/+bug/1511128 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1511126] [NEW] Cannot link on wily against this package (symbols not found)
Public bug reported: I using a package config file an try to link against this project. All symbols are resolves correclty expect: libtest.so: undefined reference to `xmlpp::Node::get_children(Glib::ustring const&)' a ldd -r call gives: undefined symbol: _ZN5xmlpp4Node12get_childrenERKN4Glib7ustringE (build/src/libtest.so) demangle the symbol: $ c++filt _ZN5xmlpp4Node12get_childrenERKN4Glib7ustringE xmlpp::Node::get_children(Glib::ustring const&) Getting symbols from the library: $ objdump -T --demangle /usr/lib/x86_64-linux-gnu/libxml++-2.6.so.2 | grep get_children 0001c030 gDF .text 003b Base xmlpp::Node::get_children[abi:cxx11](Glib::ustring const&) const 0001bea0 gDF .text 0189 Base xmlpp::Node::get_children[abi:cxx11](Glib::ustring const&) This is really strange, i compiles my lib with: /usr/bin/clang++-3.7 -fPIC -shared -Wl,-soname,libtest.so -o libtest.so CMakeFiles/test.dir/XML.cpp.o /usr/lib/x86_64-linux-gnu/libxml++-2.6.so.2 -Wl,-rpath,:: I don't know why this library is not linked correctly. It is strange that my library creates a non-cxx11 abi namespaced version. For me this seems like a bug in the provided symbols from libxml++2.6 ** Affects: libxml++2.6 (Ubuntu) Importance: Undecided Status: New ** Tags: abi cxx11 wily -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libxml++2.6 in Ubuntu. https://bugs.launchpad.net/bugs/1511126 Title: Cannot link on wily against this package (symbols not found) Status in libxml++2.6 package in Ubuntu: New Bug description: I using a package config file an try to link against this project. All symbols are resolves correclty expect: libtest.so: undefined reference to `xmlpp::Node::get_children(Glib::ustring const&)' a ldd -r call gives: undefined symbol: _ZN5xmlpp4Node12get_childrenERKN4Glib7ustringE (build/src/libtest.so) demangle the symbol: $ c++filt _ZN5xmlpp4Node12get_childrenERKN4Glib7ustringE xmlpp::Node::get_children(Glib::ustring const&) Getting symbols from the library: $ objdump -T --demangle /usr/lib/x86_64-linux-gnu/libxml++-2.6.so.2 | grep get_children 0001c030 gDF .text003b Base xmlpp::Node::get_children[abi:cxx11](Glib::ustring const&) const 0001bea0 gDF .text0189 Base xmlpp::Node::get_children[abi:cxx11](Glib::ustring const&) This is really strange, i compiles my lib with: /usr/bin/clang++-3.7 -fPIC -shared -Wl,-soname,libtest.so -o libtest.so CMakeFiles/test.dir/XML.cpp.o /usr/lib/x86_64-linux-gnu/libxml++-2.6.so.2 -Wl,-rpath,:: I don't know why this library is not linked correctly. It is strange that my library creates a non-cxx11 abi namespaced version. For me this seems like a bug in the provided symbols from libxml++2.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libxml++2.6/+bug/1511126/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
I just uploaded a patched version of the 3.7 to my personal PPA, the 3.7 has the same issue than this 3.4. Please try the llvm-toolchain-3.7 1:3.7-2ubuntu2 from my rock-ppa if this helps you create a bug report on the 3.7 and i will add the patch there also, hopefully the package maintainer will respond and merge them soon... P.S. the package needs a bit to build on the ubuntu servers: https://launchpad.net/~matthias-l/+archive/ubuntu/rock- ppa/+build/8213723 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
If i added this somehow wrong please let me know. i provided a solution which should be correct to add it to mainstream. This patch really complicates our development or our projects on a Ubuntu 15.10 target. Moreover the proposed patch should be review able by any Ubuntu maintainer, the problem is not llvm specific (renamed from gcc-x.x to gcc-x in ubntu15.10). It makes for me a really not good impression for (ubuntu in general) that a review of a straight forward patch took so long -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
Is there anywhere a maintainer around who can give some recommendations or review the patch? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
I just created a patch which solved the problem. ** Patch added: "wily-using-right-gcc.patch" https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+attachment/4495448/+files/wily-using-right-gcc.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
I just created a patch which solved the problem. ** Patch added: "wily-using-right-gcc.patch" https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+attachment/4495447/+files/wily-using-right-gcc.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] Re: Wily (15.10) this package got not compiled with __cxx11 support
I created a PPA package which builds on launchpad and successfully got linked in my case: https://launchpad.net/~matthias-l/+archive/ubuntu/rock-ppa/+packages The most relevant change was that i changed the default compiler to gcc-5 instead of a autodetection. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Confirmed Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 In a VirtualBox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.4/+bug/1501300/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1501300] [NEW] Wily (15.10) this package got not compiled with __cxx11 support
Public bug reported: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous namespace)::StmtPrinter::VisitIntegerLiteral(clang::IntegerLiteral*) [clone .isra.302]': ... This example is workign on privious ubuntus and debians Sysinfo: Description:Ubuntu Wily Werewolf (development branch) Release:15.10 In a VirtualBox ** Affects: llvm-toolchain-3.4 (Ubuntu) Importance: Undecided Status: New ** Tags: wily ** Attachment added: "compile-example.tgz" https://bugs.launchpad.net/bugs/1501300/+attachment/4479880/+files/compile-example.tgz -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: New Bug description: This packages does not contain any __cxx11 symbols when installed. This causes the problem that user-space applications cannot link successfully to it. Recompile the (untouched) dpkg source package on the same machine and installing it solved the problem. There seems something in the package generation broken. Steps to reproduce try to compile the attached minimal example https://github.com/goldhoorn/clang-sandbox Errors: CMakeFiles/main.dir/main.cpp.o: In function `foo()': /tmp/clang-sandbox/main.cpp:25: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/lib/llvm-3.4/include/clang/AST/Type.h:868: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_matchesName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1439: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' CMakeFiles/main.dir/main.cpp.o: In function `clang::ast_matchers::internal::matcher_hasName0Matcher::matches(clang::NamedDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const': /usr/lib/llvm-3.4/include/clang/ASTMatchers/ASTMatchers.h:1411: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' /usr/lib/llvm-3.4/lib/libclangAST.a(ExprConstant.o): In function `handleIntIntBinOp((anonymous namespace)::EvalInfo&, clang::Expr const*, llvm::APSInt const&, clang::BinaryOperatorKind, llvm::APSInt, llvm::APSInt&)': (.text+0x6a35): undefined reference to `llvm::APInt::toString(unsigned int, bool) const' /usr/lib/llvm-3.4/lib/libclangAST.a(StmtPrinter.o): In function `(anonymous n