Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-09-11 09:01:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm" Changes: -------- --- /work/SRC/openSUSE:Factory/llvm/lldb.changes 2015-06-23 11:55:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2015-09-11 09:01:10.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Sep 2 08:23:08 UTC 2015 - [email protected] + +- Update to version 3.7.0 + * No changelog upstream +- Refresh lldb-cmake.patch + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes 2015-05-29 09:51:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-09-11 09:01:10.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Sep 2 08:14:39 UTC 2015 - [email protected] + +- Update to version 3.7.0 + * See http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html +- Merge aarch64-suse-support.patch into arm_suse_support.diff +- Refresh arm_suse_support.diff, llvm-fix-find-gcc5-install.patch +- Remove llvm-fix-parsearmarch.patch, upstream. + +------------------------------------------------------------------- Old: ---- aarch64-suse-support.patch cfe-3.6.1.src.tar.xz cfe-docs-3.6.1.src.tar.xz compiler-rt-3.6.1.src.tar.xz libcxx-3.6.1.src.tar.xz libcxxabi-3.6.1.src.tar.xz lldb-3.6.1.src.tar.xz llvm-3.6.1.src.tar.xz llvm-docs-3.6.1.src.tar.xz llvm-fix-parsearmarch.patch New: ---- cfe-3.7.0.src.tar.xz cfe-docs-3.7.0.src.tar.xz compiler-rt-3.7.0.src.tar.xz libcxx-3.7.0.src.tar.xz libcxxabi-3.7.0.src.tar.xz lldb-3.7.0.src.tar.xz llvm-3.7.0.src.tar.xz llvm-docs-3.7.0.src.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lldb.spec ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:12.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:12.000000000 +0200 @@ -16,10 +16,10 @@ # -%define _revision 238133 +%define _revision 246586 Name: lldb -Version: 3.6.1 +Version: 3.7.0 Release: 0 Summary: The LLDB Debugger License: NCSA @@ -96,6 +96,14 @@ pushd build DESTDIR=%{buildroot} ninja install +# Fix the lldb.so link +rm %{buildroot}%{py_sitedir}/lldb/_lldb.so +ln -sf %{_libdir}/liblldb.so.%{version} %{buildroot}%{py_sitedir}/lldb/_lldb.so + +# Fix the lib link +rm %{buildroot}%{py_sitedir}/lib +ln -sf %{libdir} %{buildroot}%{py_sitedir}/lib + rm %{buildroot}%{_libdir}/liblldb*.a %post -p /sbin/ldconfig @@ -105,8 +113,10 @@ %files %defattr(-,root,root,-) %{_libdir}/liblldb.so.* +%{_bindir}/argdumper %{_bindir}/lldb* %{py_sitedir}/readline.so +%{py_sitedir}/lib %{py_sitedir}/lldb %files devel ++++++ llvm.spec ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:12.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:12.000000000 +0200 @@ -16,8 +16,8 @@ # -%define _revision 238133 -%define _release_version 3.6.1 +%define _revision 246586 +%define _release_version 3.7.0 %define build_libcxx 0 @@ -26,7 +26,7 @@ %endif Name: llvm -Version: 3.6.1 +Version: 3.7.0 Release: 0 Summary: Low Level Virtual Machine License: NCSA @@ -41,7 +41,7 @@ # cd docs # make -f Makefile.sphinx man html # cd .. -# tar cvJf llvm-docs-3.6.1.src.tar.xz llvm-3.6.1.src/docs/_build/{man,html} +# tar cvJf llvm-docs-3.7.0.src.tar.xz llvm-3.7.0.src/docs/_build/{man,html} Source5: llvm-docs-%{version}.src.tar.xz Source6: cfe-docs-%{version}.src.tar.xz Source100: %{name}-rpmlintrc @@ -57,13 +57,10 @@ # PATCH-FIX-OPENSUSE arm_suse_support.diff --Enable ARM suse toolchain support Patch6: arm_suse_support.diff Patch7: cmake-host-triple.patch -# PATCH-FIX-OPENSUSE aarch64-suse-support.patch -- Enable AArch64 suse toolchain support -Patch8: aarch64-suse-support.patch Patch10: clang-resourcedirs.patch Patch11: libcxxabi-exceptions.patch Patch13: llvm-remove-clang-only-flags.patch Patch15: llvm-fix-find-gcc5-install.patch -Patch16: llvm-fix-parsearmarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: binutils-devel >= 2.21.90 BuildRequires: bison @@ -80,8 +77,8 @@ BuildRequires: python-base BuildRequires: python-xml Requires: libLLVM = %{version}-%{release} -# llvm does not work on ppc, only ppc64 -ExcludeArch: ppc +# llvm does not work on ppc or s390 +ExcludeArch: ppc s390 %description LLVM is a compiler infrastructure designed for compile-time, @@ -162,12 +159,10 @@ %patch4 %patch6 %patch7 -p1 -%patch8 %patch10 %patch11 %patch13 -p1 %patch15 -%patch16 -p1 # Move into right place mv cfe-%{version}.src tools/clang @@ -176,10 +171,14 @@ %if %{build_libcxx} mv libcxx-%{version}.src projects/libcxx mv libcxxabi-%{version}.src projects/libcxxabi + +rm projects/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp +rm projects/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp %endif # We hardcode i586 rm tools/clang/test/Driver/x86_features.c +rm tools/clang/test/Driver/nacl-direct.c sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp sed -i s,LLVM_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp @@ -264,7 +263,7 @@ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ %ifarch %{ix86} x86_64 - -DLLVM_TARGETS_TO_BUILD="host;R600" \ + -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ %else -DLLVM_TARGETS_TO_BUILD=host \ %endif @@ -311,7 +310,7 @@ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ %ifarch %{ix86} x86_64 - -DLLVM_TARGETS_TO_BUILD="host;R600" \ + -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ %else -DLLVM_TARGETS_TO_BUILD=host \ %endif @@ -324,8 +323,7 @@ ninja clang-test %if %{build_libcxx} -# Uncomment when llvm 3.6 hits -#ninja check-libcxx +ninja check-libcxx ninja check-libcxxabi %endif @@ -410,8 +408,10 @@ sed -i 's,RealBin/bin,RealBin,' \ %{buildroot}%{_bindir}/scan-build -install -m 755 -d %{buildroot}%{_datadir}/vim/site/syntax/ -install -m 644 utils/vim/*.vim %{buildroot}%{_datadir}/vim/site/syntax/ +install -m 755 -d %{buildroot}%{_datadir}/vim/site/ +for i in ftdetect ftplugin indent syntax; do + cp -r utils/vim/$i %{buildroot}%{_datadir}/vim/site/ +done mv utils/vim/README utils/vim/README.vim # Stuff we don't want to include @@ -463,7 +463,7 @@ %files -n libLLVM %defattr(-,root,root,-) -%{_libdir}/libLLVM* +%{_libdir}/libLLVM*.so.* %files clang %defattr(-,root,root) @@ -496,13 +496,11 @@ %files -n libclang %defattr(-,root,root,-) -%exclude %{_libdir}/libclang.so -%{_libdir}/libclang*.so -%{_libdir}/libclang.so.* +%{_libdir}/libclang*.so.* %files clang-devel %defattr(-,root,root) -%{_libdir}/libclang.so +%{_libdir}/libclang*.so %{_includedir}/clang %{_includedir}/clang-c %doc %{_docdir}/llvm-clang @@ -510,6 +508,7 @@ %files devel %defattr(-,root,root,-) %{_bindir}/%{name}-config +%{_libdir}/libLLVM*.so %{_libdir}/BugpointPasses.* %{_libdir}/LLVMHello.* %doc %{_mandir}/man1/%{name}-config.1%{ext_man} ++++++ arm_suse_support.diff ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:12.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:12.000000000 +0200 @@ -1,18 +1,26 @@ -Index: cfe-3.6.1.src/lib/Driver/ToolChains.cpp +Index: cfe-3.7.0.src/lib/Driver/ToolChains.cpp =================================================================== ---- cfe-3.6.1.src/lib/Driver/ToolChains.cpp -+++ cfe-3.6.1.src/lib/Driver/ToolChains.cpp -@@ -1322,9 +1322,11 @@ bool Generic_GCC::GCCInstallationDetecto +--- cfe-3.7.0.src.orig/lib/Driver/ToolChains.cpp ++++ cfe-3.7.0.src/lib/Driver/ToolChains.cpp +@@ -1266,16 +1266,18 @@ bool Generic_GCC::GCCInstallationDetecto + static const char *const AArch64LibDirs[] = {"/lib64", "/lib"}; + static const char *const AArch64Triples[] = { + "aarch64-none-linux-gnu", "aarch64-linux-gnu", "aarch64-linux-android", +- "aarch64-redhat-linux"}; ++ "aarch64-redhat-linux", "aarch64-suse-linux"}; + static const char *const AArch64beLibDirs[] = {"/lib"}; + static const char *const AArch64beTriples[] = {"aarch64_be-none-linux-gnu", + "aarch64_be-linux-gnu"}; - static const char *const ARMLibDirs[] = { "/lib" }; - static const char *const ARMTriples[] = { "arm-linux-gnueabi", -- "arm-linux-androideabi" }; -+ "arm-linux-androideabi", -+ "armv6hl-suse-linux-gnueabi"}; - static const char *const ARMHFTriples[] = { "arm-linux-gnueabihf", -- "armv7hl-redhat-linux-gnueabi" }; -+ "armv7hl-redhat-linux-gnueabi", -+ "armv7hl-suse-linux-gnueabi"}; - static const char *const ARMebLibDirs[] = { "/lib" }; - static const char *const ARMebTriples[] = { "armeb-linux-gnueabi", - "armeb-linux-androideabi" }; + static const char *const ARMLibDirs[] = {"/lib"}; + static const char *const ARMTriples[] = {"arm-linux-gnueabi", +- "arm-linux-androideabi"}; ++ "arm-linux-androideabi", ++ "armv6hl-suse-linux-gnueabi"}; + static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf", +- "armv7hl-redhat-linux-gnueabi"}; ++ "armv7hl-redhat-linux-gnueabi", ++ "armv7hl-suse-linux-gnueabi"}; + static const char *const ARMebLibDirs[] = {"/lib"}; + static const char *const ARMebTriples[] = {"armeb-linux-gnueabi", + "armeb-linux-androideabi"}; ++++++ assume-opensuse.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:12.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:12.000000000 +0200 @@ -1,7 +1,7 @@ -Index: cfe-3.6.1.src/lib/Driver/ToolChains.cpp +Index: cfe-3.7.0.src/lib/Driver/ToolChains.cpp =================================================================== ---- cfe-3.6.1.src/lib/Driver/ToolChains.cpp -+++ cfe-3.6.1.src/lib/Driver/ToolChains.cpp +--- cfe-3.7.0.src/lib/Driver/ToolChains.cpp ++++ cfe-3.7.0.src/lib/Driver/ToolChains.cpp @@ -2794,6 +2794,7 @@ static bool IsUbuntu(enum Distro Distro) } ++++++ cfe-3.6.1.src.tar.xz -> cfe-3.7.0.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm/cfe-3.6.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm.new/cfe-3.7.0.src.tar.xz differ: char 26, line 1 ++++++ cfe-docs-3.6.1.src.tar.xz -> cfe-docs-3.7.0.src.tar.xz ++++++ ++++ 63536 lines of diff (skipped) ++++++ clang-disable-ada-extension.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:13.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:13.000000000 +0200 @@ -1,7 +1,7 @@ -Index: cfe-3.6.1.src/lib/Driver/Types.cpp +Index: cfe-3.7.0.src/lib/Driver/Types.cpp =================================================================== ---- cfe-3.6.1.src/lib/Driver/Types.cpp -+++ cfe-3.6.1.src/lib/Driver/Types.cpp +--- cfe-3.7.0.src/lib/Driver/Types.cpp ++++ cfe-3.7.0.src/lib/Driver/Types.cpp @@ -158,8 +158,6 @@ types::ID types::lookupTypeForExtension( .Case("hh", TY_CXXHeader) .Case("ll", TY_LLVM_IR) ++++++ clang-resourcedirs.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:13.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:13.000000000 +0200 @@ -1,7 +1,7 @@ -Index: cfe-3.6.1.src/lib/Driver/Driver.cpp +Index: cfe-3.7.0.src/lib/Driver/Driver.cpp =================================================================== ---- cfe-3.6.1.src/lib/Driver/Driver.cpp -+++ cfe-3.6.1.src/lib/Driver/Driver.cpp +--- cfe-3.7.0.src/lib/Driver/Driver.cpp ++++ cfe-3.7.0.src/lib/Driver/Driver.cpp @@ -64,7 +64,7 @@ Driver::Driver(StringRef ClangExecutable // Compute the path to the resource directory. ++++++ compiler-rt-3.6.1.src.tar.xz -> compiler-rt-3.7.0.src.tar.xz ++++++ ++++ 45997 lines of diff (skipped) ++++++ default-to-i586.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:14.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:14.000000000 +0200 @@ -1,7 +1,7 @@ -Index: cfe-3.6.1.src/lib/Driver/Tools.cpp +Index: cfe-3.7.0.src/lib/Driver/Tools.cpp =================================================================== ---- cfe-3.6.1.src/lib/Driver/Tools.cpp -+++ cfe-3.6.1.src/lib/Driver/Tools.cpp +--- cfe-3.7.0.src/lib/Driver/Tools.cpp ++++ cfe-3.7.0.src/lib/Driver/Tools.cpp @@ -1322,8 +1322,8 @@ static const char *getX86TargetCPU(const case llvm::Triple::Bitrig: return "i686"; ++++++ libcxx-3.6.1.src.tar.xz -> libcxx-3.7.0.src.tar.xz ++++++ ++++ 36728 lines of diff (skipped) ++++++ libcxxabi-3.6.1.src.tar.xz -> libcxxabi-3.7.0.src.tar.xz ++++++ ++++ 93428 lines of diff (skipped) ++++++ libcxxabi-exceptions.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:17.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:17.000000000 +0200 @@ -1,7 +1,7 @@ -Index: libcxxabi-3.6.1.src/src/CMakeLists.txt +Index: libcxxabi-3.7.0.src/src/CMakeLists.txt =================================================================== ---- libcxxabi-3.6.1.src/src/CMakeLists.txt -+++ libcxxabi-3.6.1.src/src/CMakeLists.txt +--- libcxxabi-3.7.0.src/src/CMakeLists.txt ++++ libcxxabi-3.7.0.src/src/CMakeLists.txt @@ -52,7 +52,7 @@ append_if(libraries LIBCXXABI_HAS_PTHREA if (LIBCXXABI_USE_LLVM_UNWINDER) list(APPEND libraries unwind) @@ -10,4 +10,4 @@ + append_if(libraries LIBCXXABI_HAS_GCC_EH_LIB gcc_s) endif() - target_link_libraries(cxxabi ${libraries}) + # Setup flags. ++++++ lldb-3.6.1.src.tar.xz -> lldb-3.7.0.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm/lldb-3.6.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm.new/lldb-3.7.0.src.tar.xz differ: char 25, line 1 ++++++ lldb-cmake.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:17.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:17.000000000 +0200 @@ -1,8 +1,8 @@ -Index: lldb-3.6.1.src/source/lldb.cpp +Index: lldb-3.7.0.src/source/lldb.cpp =================================================================== ---- lldb-3.6.1.src.orig/source/lldb.cpp -+++ lldb-3.6.1.src/source/lldb.cpp -@@ -325,11 +325,7 @@ extern "C" const unsigned char liblldb_c +--- lldb-3.7.0.src.orig/source/lldb.cpp ++++ lldb-3.7.0.src/source/lldb.cpp +@@ -21,11 +21,7 @@ extern "C" const unsigned char liblldb_c static const char * GetLLDBRevision() { @@ -14,11 +14,11 @@ } static const char * -Index: lldb-3.6.1.src/source/Core/IOHandler.cpp +Index: lldb-3.7.0.src/source/Core/IOHandler.cpp =================================================================== ---- lldb-3.6.1.src.orig/source/Core/IOHandler.cpp -+++ lldb-3.6.1.src/source/Core/IOHandler.cpp -@@ -31,8 +31,8 @@ +--- lldb-3.7.0.src.orig/source/Core/IOHandler.cpp ++++ lldb-3.7.0.src/source/Core/IOHandler.cpp +@@ -29,8 +29,8 @@ #include "lldb/Target/ThreadPlan.h" #ifndef LLDB_DISABLE_CURSES @@ -29,51 +29,12 @@ #endif using namespace lldb; -Index: lldb-3.6.1.src/CMakeLists.txt +Index: lldb-3.7.0.src/source/Host/CMakeLists.txt =================================================================== ---- lldb-3.6.1.src.orig/CMakeLists.txt -+++ lldb-3.6.1.src/CMakeLists.txt -@@ -83,7 +83,7 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR - - # Import CMake library targets from LLVM and Clang. - include("${LLDB_PATH_TO_LLVM_BUILD}/share/llvm/cmake/LLVMConfig.cmake") -- include("${LLDB_PATH_TO_CLANG_BUILD}/share/clang/cmake/ClangConfig.cmake") -+ # include("${LLDB_PATH_TO_CLANG_BUILD}/share/clang/cmake/ClangConfig.cmake") - - set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}") - -Index: lldb-3.6.1.src/cmake/LLDBDependencies.cmake -=================================================================== ---- lldb-3.6.1.src.orig/cmake/LLDBDependencies.cmake -+++ lldb-3.6.1.src/cmake/LLDBDependencies.cmake -@@ -132,7 +132,7 @@ set( CLANG_USED_LIBS - - set(LLDB_SYSTEM_LIBS) - if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" AND NOT __ANDROID_NDK__) -- list(APPEND LLDB_SYSTEM_LIBS edit panel ncurses) -+ list(APPEND LLDB_SYSTEM_LIBS edit panel ncurses dl pthread) +--- lldb-3.7.0.src.orig/source/Host/CMakeLists.txt ++++ lldb-3.7.0.src/source/Host/CMakeLists.txt +@@ -134,3 +134,4 @@ else() endif() - # On FreeBSD backtrace() is provided by libexecinfo, not libc. - if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -@@ -165,6 +165,8 @@ set( LLVM_LINK_COMPONENTS - mcdisassembler - executionengine - option -+ support -+ runtimedyld - ) - - if ( NOT LLDB_DISABLE_PYTHON ) -Index: lldb-3.6.1.src/tools/lldb-mi/CMakeLists.txt -=================================================================== ---- lldb-3.6.1.src.orig/tools/lldb-mi/CMakeLists.txt -+++ lldb-3.6.1.src/tools/lldb-mi/CMakeLists.txt -@@ -164,7 +164,7 @@ add_lldb_executable(lldb-mi - ) - endif () --target_link_libraries(lldb-mi liblldb) -+target_link_libraries(lldb-mi liblldb pthread) - # TODO: why isn't this done by add_lldb_executable? - #target_link_libraries(lldb-mi ${LLDB_USED_LIBS}) - #llvm_config(lldb-mi ${LLVM_LINK_COMPONENTS}) + add_lldb_library(lldbHost ${HOST_SOURCES}) ++target_link_libraries(lldbHost dl pthread) ++++++ llvm-3.6.1.src.tar.xz -> llvm-3.7.0.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm/llvm-3.6.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.7.0.src.tar.xz differ: char 25, line 1 ++++++ llvm-docs-3.6.1.src.tar.xz -> llvm-docs-3.7.0.src.tar.xz ++++++ ++++ 84039 lines of diff (skipped) ++++++ llvm-fix-find-gcc5-install.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:18.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:18.000000000 +0200 @@ -1,19 +1,14 @@ -Index: cfe-3.6.1.src/lib/Driver/ToolChains.cpp +Index: cfe-3.7.0.src/lib/Driver/ToolChains.cpp =================================================================== ---- cfe-3.6.1.src/lib/Driver/ToolChains.cpp.orig 2015-02-20 14:03:49.512242844 +0100 -+++ cfe-3.6.1.src/lib/Driver/ToolChains.cpp 2015-02-20 15:07:11.965048162 +0100 -@@ -1135,10 +1135,11 @@ Generic_GCC::GCCVersion Linux::GCCVersio - GoodVersion.Major < 0) +--- cfe-3.7.0.src/lib/Driver/ToolChains.cpp ++++ cfe-3.7.0.src/lib/Driver/ToolChains.cpp +@@ -1091,7 +1091,8 @@ Generic_GCC::GCCVersion Linux::GCCVersio + if (First.first.getAsInteger(10, GoodVersion.Major) || GoodVersion.Major < 0) return BadVersion; GoodVersion.MajorStr = First.first.str(); -- if (Second.first.getAsInteger(10, GoodVersion.Minor) || -- GoodVersion.Minor < 0) -- return BadVersion; +- if (Second.first.getAsInteger(10, GoodVersion.Minor) || GoodVersion.Minor < 0) ++ if (!Second.first.str().empty() && ++ (Second.first.getAsInteger(10, GoodVersion.Minor) || GoodVersion.Minor < 0)) + return BadVersion; GoodVersion.MinorStr = Second.first.str(); -+ if (!Second.first.str().empty () && -+ (Second.first.getAsInteger(10, GoodVersion.Minor) || -+ GoodVersion.Minor < 0)) -+ return BadVersion; - // First look for a number prefix and parse that if present. Otherwise just - // stash the entire patch string in the suffix, and leave the number ++++++ llvm-remove-clang-only-flags.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:18.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:18.000000000 +0200 @@ -1,7 +1,7 @@ -Index: llvm-3.6.1.src/cmake/modules/HandleLLVMOptions.cmake +Index: llvm-3.7.0.src/cmake/modules/HandleLLVMOptions.cmake =================================================================== ---- llvm-3.6.1.src.orig/cmake/modules/HandleLLVMOptions.cmake -+++ llvm-3.6.1.src/cmake/modules/HandleLLVMOptions.cmake +--- llvm-3.7.0.src.orig/cmake/modules/HandleLLVMOptions.cmake ++++ llvm-3.7.0.src/cmake/modules/HandleLLVMOptions.cmake @@ -302,9 +302,6 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE endif() endif (LLVM_ENABLE_WARNINGS) ++++++ set-revision.patch ++++++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:18.000000000 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:18.000000000 +0200 @@ -1,7 +1,7 @@ -Index: cfe-3.6.1.src/lib/Basic/Version.cpp +Index: cfe-3.7.0.src/lib/Basic/Version.cpp =================================================================== ---- cfe-3.6.1.src/lib/Basic/Version.cpp -+++ cfe-3.6.1.src/lib/Basic/Version.cpp +--- cfe-3.7.0.src/lib/Basic/Version.cpp ++++ cfe-3.7.0.src/lib/Basic/Version.cpp @@ -66,19 +66,11 @@ std::string getLLVMRepositoryPath() { }
