[Touch-packages] [Bug 1501300] Re: [SRU] Wily (15.10) this package got not compiled with __cxx11 support
This bug was fixed in the package llvm-toolchain-3.4 - 1:3.4.2-13ubuntu2.1 --- llvm-toolchain-3.4 (1:3.4.2-13ubuntu2.1) wily; urgency=medium * d/rules: fix gcc-5 detection, since gcc-5.2 doesn't provide a g++-5.2 binary (but it is called g++-5). Patch cherry-picked from Debian (Gianfranco Costamagna). LP: #1501300 -- Iain Lane Mon, 07 Dec 2015 13:10:08 + ** Changed in: llvm-toolchain-3.4 (Ubuntu Wily) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: [SRU] Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Invalid Status in llvm-toolchain-3.4 source package in Wily: Fix Released Bug description: [Impact] * with gcc-5 default, and llvm-3.4 built with the gcc-4.9, people can't link programs using cxx11 support [Test Case] * compile a program using cxx11 e.g. using boost libraries [Regression Potential] * llvm-3.4 is a compiler, and the change should affect only cxx11 support (since the library is ABI compatible). So, fixing cxx11 support shouln't have any regression, only the feature will start working, while it wasn't before [Other Info] * Doko ack'd the SRU, and it should be the best voice here, for sure better than mine :) 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/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1501300] Re: [SRU] Wily (15.10) this package got not compiled with __cxx11 support
Yes, now clang is built on top of gcc-5 ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: [SRU] Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Invalid Status in llvm-toolchain-3.4 source package in Wily: Fix Committed Bug description: [Impact] * with gcc-5 default, and llvm-3.4 built with the gcc-4.9, people can't link programs using cxx11 support [Test Case] * compile a program using cxx11 e.g. using boost libraries [Regression Potential] * llvm-3.4 is a compiler, and the change should affect only cxx11 support (since the library is ABI compatible). So, fixing cxx11 support shouln't have any regression, only the feature will start working, while it wasn't before [Other Info] * Doko ack'd the SRU, and it should be the best voice here, for sure better than mine :) 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/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1501300] Re: [SRU] Wily (15.10) this package got not compiled with __cxx11 support
Hello Matthias, or anyone else affected, Accepted llvm-toolchain-3.4 into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/llvm- toolchain-3.4/1:3.4.2-13ubuntu2.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: llvm-toolchain-3.4 (Ubuntu) Status: In Progress => Invalid ** Changed in: llvm-toolchain-3.4 (Ubuntu Wily) Status: New => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to llvm-toolchain-3.4 in Ubuntu. https://bugs.launchpad.net/bugs/1501300 Title: [SRU] Wily (15.10) this package got not compiled with __cxx11 support Status in llvm-toolchain-3.4 package in Ubuntu: Invalid Status in llvm-toolchain-3.4 source package in Wily: Fix Committed Bug description: [Impact] * with gcc-5 default, and llvm-3.4 built with the gcc-4.9, people can't link programs using cxx11 support [Test Case] * compile a program using cxx11 e.g. using boost libraries [Regression Potential] * llvm-3.4 is a compiler, and the change should affect only cxx11 support (since the library is ABI compatible). So, fixing cxx11 support shouln't have any regression, only the feature will start working, while it wasn't before [Other Info] * Doko ack'd the SRU, and it should be the best voice here, for sure better than mine :) 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/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp