Hello community, here is the log from the commit of package ldc for openSUSE:Factory checked in at 2018-08-27 13:00:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ldc (Old) and /work/SRC/openSUSE:Factory/.ldc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ldc" Mon Aug 27 13:00:18 2018 rev:3 rq:631699 version:1.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ldc/ldc.changes 2018-07-31 16:02:48.255893605 +0200 +++ /work/SRC/openSUSE:Factory/.ldc.new/ldc.changes 2018-08-27 13:00:20.288880919 +0200 @@ -1,0 +2,74 @@ +Mon Aug 27 06:56:16 UTC 2018 - guillaume.gar...@opensuse.org + +- Fix so_version to 81 + +------------------------------------------------------------------- +Fri Aug 24 10:24:47 UTC 2018 - guilla...@opensuse.org + +- Update to 1.11.0: + * Big news: + - Frontend, druntime and Phobos are at version 2.081.2. + (#2752, #2772, #2776, #2791, #2815) (new) + - Add some support for classes without TypeInfos, for + -betterC and/or a minimal (d)runtime. (#2765) + - LLVM for prebuilt packages upgraded to v6.0.1. + The x86_64 packages feature some more LLVM targets for + cross-compilation (experiments): MIPS, MSP430, RISC-V + and WebAssembly. (#2760) + - Rudimentary support for compiling & linking directly to + WebAssembly. See the dedicated Wiki page for how to get + started. (#2766, #2779, #2785) + - AArch64 (64-bit ARM) now mostly working on Linux/glibc + and Android. Current ltsmaster is able to bootstrap v1.11, + which can also bootstrap itself; most tests pass. + (Preliminary) CI has been set up. (#2802, #2817, #2813) (new) + - LDC on Windows now uses 80-bit compile-time reals. This allows + for seamless cross-compilation to other x86(_64) targets, + e.g., without real.min underflowing to 0 and real.max + overflowing to infinity. (#2752) + - New @naked UDA in ldc.attributes & enhanced functionality + for @llvmAttr("<name>"). (#2773) + * Platform support: + - Supports LLVM 3.7 - 6.0. + - Windows: Supports Visual Studio/C++ Build Tools 2015 and 2017. + - Alpine linux/x64: built against Musl libc to support Docker + images based on the Alpine distro, requires the llvm5-libs, + musl-dev, and gcc packages to build and link D apps and the + tzdata and libcurl packages for certain stdlib modules. + * Bug fixes: + - extern(C++) on Posix: Pass non-PODs indirectly by value. + (#2728) + - extern(C++) on Windows/MSVC: Methods return all structs via + hidden sret pointer. (#2720, #1935) + - Make GC2Stack IR optimization pass work as intended. (#2750) + - Work around inline assembly regression with LLVM 6 on Win32. + The prebuilt Win32 package is now using LLVM 6.0.1 too. (#2629, #2770) + - Fix overzealous check for multiple main() functions. (#2778) (new) + - Fix corrupt prefix in integrated LLD's console output. (#2781) (new) + - No context ptr for nested non-extern(D) functions. (#2808, #2809) (new) + * Known issues: + - LDC does not zero the padding area of a real variable. This may + lead to wrong results if the padding area is also considered. + See #770. Does not apply to real members inside structs etc. +- Update bootstrap version to 0.17.6: + * Added support for LLVM 6.0 and 7.0. (#2600, #2825) + * Backported AArch64 fixes from master; most tests passing on + Linux/glibc and Android + * Fix generation of debug info. (#2594) + * Added support for bootstrapping on DragonFly BSD + * Fixed missing definition in std.datetime on Solaris + * Fixed std.datetime unittest failure. (ldc-developers/phobos#59) + * Fixed tests for PowerPC. (#2634, #2635) + * Improvements for MIPS. + * Make core.stdc.stdarg.va_* functions nothrow to enable + compiling the 2.082 frontend. (#2821) + * CI updates. +- Remove upstreamed patches: + * ldc-0.17.5-add_missing_include.patch + * ldc-0.17.5-add_support_to_LLVM6.patch + * ldc-0.17.5-backport_pr_2315.patch + * ldc-0.17.5-default-to-pic.patch +- Enable aarch64 since it can be boostrapped with ldc 0.17.6 +- Fix x86_64 build by adding '-fPIC' to C_FLAGS of bootstrap + +------------------------------------------------------------------- Old: ---- ldc-0.17.5-add_missing_include.patch ldc-0.17.5-add_support_to_LLVM6.patch ldc-0.17.5-backport_pr_2315.patch ldc-0.17.5-default-to-pic.patch ldc-0.17.5-src.tar.gz ldc-1.10.0-src.tar.gz New: ---- ldc-0.17.6-src.tar.gz ldc-1.11.0-src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ldc.spec ++++++ --- /var/tmp/diff_new_pack.ZjgAE1/_old 2018-08-27 13:00:21.148881856 +0200 +++ /var/tmp/diff_new_pack.ZjgAE1/_new 2018-08-27 13:00:21.152881861 +0200 @@ -16,18 +16,18 @@ # -%define so_ver 80 +%define so_ver 81 %define lname_runtime libdruntime-%{name} %define lname_phobos libphobos2-%{name} %bcond_without ldc_bootstrap %bcond_with ldc_tests Name: ldc -Version: 1.10.0 +Version: 1.11.0 Release: 0 Summary: The LLVM D Compiler License: BSD-3-Clause AND Artistic-1.0 Group: Development/Languages/Other -URL: https://wiki.dlang.org/LDC +Url: https://wiki.dlang.org/LDC Source0: https://github.com/ldc-developers/ldc/releases/download/v%{version}/ldc-%{version}-src.tar.gz Source1: %{name}-rpmlintrc Patch0: ldc-1.9.0-fix_arm_build.patch @@ -45,12 +45,8 @@ Recommends: ldc-phobos-devel = %{version} Recommends: ldc-runtime-devel = %{version} %if %{with ldc_bootstrap} -# v0.17.5 is the last version buildable with a C++ compiler, so use it for bootstrapping -Source10: https://github.com/ldc-developers/ldc/releases/download/v0.17.5/ldc-0.17.5-src.tar.gz -Patch10: ldc-0.17.5-backport_pr_2315.patch -Patch11: ldc-0.17.5-add_support_to_LLVM6.patch -Patch12: ldc-0.17.5-add_missing_include.patch -Patch13: ldc-0.17.5-default-to-pic.patch +# v0.17.6 is the last version buildable with a C++ compiler, so use it for bootstrapping +Source10: https://github.com/ldc-developers/ldc/releases/download/v0.17.6/ldc-0.17.6-src.tar.gz %endif %if %{with ldc_tests} BuildRequires: gcc-c++ @@ -68,10 +64,6 @@ BuildRequires: timezone BuildRequires: unzip %endif -%if %{with ldc_bootstrap} -# We cannot build v0.17.5 for aarch64 due to no aarch64 support in phobos, so bootstrap is impossible -ExcludeArch: aarch64 -%endif %description LDC is an LLVM based compiler for the D programming language. It uses the @@ -118,17 +110,13 @@ %patch0 -p1 %if %{with ldc_bootstrap} tar xf %{SOURCE10} -pushd ldc-0.17.5-src -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 +pushd ldc-0.17.6-src popd %endif %build %if %{with ldc_bootstrap} -pushd ldc-0.17.5-src +pushd ldc-0.17.6-src #Needs to be compiled with clang, but opensuse_rules.cmake forces gcc so disable rule touch ./no-suse-rules mkdir build && pushd build @@ -139,6 +127,7 @@ -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \ -DCMAKE_CXX_FLAGS="-std=c++11" \ + -DCMAKE_C_FLAGS="-fPIC" \ .. make %{?_smp_mflags} popd @@ -152,7 +141,7 @@ -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \ %if %{with ldc_bootstrap} - -DD_COMPILER:PATH=`pwd`/../ldc-0.17.5-src/build/bin/ldmd2 \ + -DD_COMPILER:PATH=`pwd`/../ldc-0.17.6-src/build/bin/ldmd2 \ %endif -DCMAKE_CXX_FLAGS="-std=c++11" make %{?_smp_mflags} ++++++ ldc-0.17.5-src.tar.gz -> ldc-0.17.6-src.tar.gz ++++++ ++++ 20106 lines of diff (skipped) ++++++ ldc-0.17.5-src.tar.gz -> ldc-1.11.0-src.tar.gz ++++++ /work/SRC/openSUSE:Factory/ldc/ldc-0.17.5-src.tar.gz /work/SRC/openSUSE:Factory/.ldc.new/ldc-1.11.0-src.tar.gz differ: char 5, line 1