Hello community, here is the log from the commit of package sdcc for openSUSE:Factory checked in at 2019-11-21 12:59:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sdcc (Old) and /work/SRC/openSUSE:Factory/.sdcc.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sdcc" Thu Nov 21 12:59:33 2019 rev:16 rq:750017 version:3.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sdcc/sdcc.changes 2019-01-10 15:22:44.982367175 +0100 +++ /work/SRC/openSUSE:Factory/.sdcc.new.26869/sdcc.changes 2019-11-21 12:59:35.922510659 +0100 @@ -1,0 +2,88 @@ +Mon Nov 18 22:32:42 UTC 2019 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Update to version 3.9.0 + * Support for struct / union assignment. + * Optimizations in the stm8 backend relevant to soft float increase + Whetstone score by two thirds. + * Improvements in rematerialization in the stm8 backend improve code + generation for struct, union and arrays. + * New stack allocator reduces stack space usage for the stm8, z80, z180, + gbz80, r2k, r3ka, tlcs90 backends. + * New ez80_z80 backend for eZ80 in Z80 mode. + * Removed deprecated sdcclib utility. + * New pdk14 backend for Padauk µC with 14-bit wide program memory. + * New in-development pdk15 backend for Padauk µC with 15-bit wide program + memory. +- Update to version 3.8.0 + * Additional general utility function: bsearch(). + * Support for rematerialization in the stm8 backend reduces register + pressure and stack usage. + * Merged upstream GNU binutils 2.30 + * All Python code is now fully compatible with both Python 2.7 and + Python 3.6, so Python 3 can be used instead of Python 2. + * Regression testing for diagnostics. + * Improved handling of local bool variables in the mcs51 backend + substantially reduces code size. + * Large memory model for stm8 for 24-bit codespace allows using more + than 32KB of Flash for code. + * New optimizations for calls to some standard library function + (printf(), puts(), strcpy()). + * The type of true and false from stdbool.h change from int to bool. + * New C2X mode (--std-c2x, --std-sdcc2x, #pragma std_c2x) adds support + for one-argument static_assert variant. + * Intermingling of declarations and statements (ISO C99). + * Support headers for AX8052 devices. + * Adopted GCC 8.2 regression tests (execute part of the GCC C torture tests) +- Update to version 3.7.0 + * Changed putchar() prototype from void putchar(char) to int putchar(int) + to improve standard-compliance and allow error reporting. + * Various speed improvements in stm8 backend - Dhrystone score more than + doubled, resulting in SDCC achieving the highest Dhrystone scores + among STM8 C implementations. + * Various speed improvements for multiplications resulting in SDCC achieving + the highest Coremark scores among STM8 C implementations. + * Declarations in for loops (ISO C99). + * 64-bit integers (long long) for the mcs51 and ds390 backends (now long long + is fully supported in SDCC except for the pic14 and pic16 backends). + * Full _Bool support for mcs51 and ds390 backend (now _Bool is fully + supported in SDCC regardless of backend). + * Additional wide character library functions: mbstowcs() and wcstombs(), + btowc() and wctob(), wcscmp(), wcslen(). + * Changed PRNG for rand() from LCG to xorshift to improve speed and quality. + * Support for Small-C calling convention on the callee side (i.e. function + definitions with Small-C calling convention). + * The obsolete macro SDCC (which used to contain the version number encoded + as an integer) has finally been removed (except for mcs51, where it will + survive a little bit longer for SiLabs IDE compability). + * New devices supported by simulator (TLCS-90, and the 517, F380, XC88X, + DS320 mcs51-variants along with dual-dptr and MDU support). + * Timer, UART (incl. interrupt) and I/O support in STM8 simulator. + * Simulator support for banked memory and bit banding. + * Various simulator improvements: Conditional breakpoints, breakpoints by + function name from SDCC debug output, OMF input, VCD output, simulator + interface for simulated program and new operators in expressions. + * Deprecated --nojtbound and the corresponding pragma. + * Faster register allocator reduces compilation time by about 25% (does not + apply to mcs51, ds390 which use a different register allocator). + * Execution count guessing and use of execution count guesses in stm8 + register allocation improve optimization for code speed. + * Changed getchar() prototype from char getchar(void) to int getchar(void) + to improve standard-compliance and allow error reporting. + * Type qualifiers in array parameters (ISO C99). + * static in array parameters (ISO C99). + * Improved support for DWARFv2 debug info in ELF output (stm8, hc08, s08). + * Various improvements in z80/z180/gbz80/tlcs90/r2k/r3ka code generation, + in particular for mixed 16-/32-bit code. + * __z88dk_fastcall function pointer support for --reserve-regs-iy. + * tlcs90 is now a fully supported backend, no longer work in progress. + * --data-seg to specify the segment for non-initialized data in the z80, + z180, gbz80, tlcs90, r2k and r3ka backends. + * New methods to obtain tree-decompositions of control-flow graphs improve + compilation time / code-quality trade-off (when SDCC is built with + support for the treedec library). + * Additional general utility functions: qsort(), strtol(), strtoul(). +- Rebase 0001-Doc-Disable-fallback-to-dvipdfm-remove-non-pdftex-ta.patch +- Rebase patch sdcc_enable_additional_target_libs.patch +- Use Python 3 for building, remove unused pyton-devel BuildRequires + +------------------------------------------------------------------- Old: ---- sdcc-src-3.6.0.tar.bz2 New: ---- sdcc-src-3.9.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sdcc.spec ++++++ --- /var/tmp/diff_new_pack.iHBjh7/_old 2019-11-21 12:59:37.058510309 +0100 +++ /var/tmp/diff_new_pack.iHBjh7/_new 2019-11-21 12:59:37.058510309 +0100 @@ -1,7 +1,7 @@ # # spec file for package sdcc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: sdcc -Version: 3.6.0 +Version: 3.9.0 Release: 0 Summary: Small Device C Compiler License: GPL-2.0-or-later AND GPL-3.0-or-later Group: Development/Languages/C and C++ -Url: http://sdcc.sourceforge.net/ +URL: http://sdcc.sourceforge.net/ Source: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Patch0: 0001-Doc-Disable-fallback-to-dvipdfm-remove-non-pdftex-ta.patch @@ -42,22 +42,21 @@ BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: ncurses-devel -BuildRequires: python-devel +BuildRequires: python3-base # documentation BuildRequires: inkscape BuildRequires: lyx BuildRequires: makeinfo BuildRequires: texlive-babel-english -%if 0%{?suse_version} > 1320 -BuildRequires: texlive-makeindex-bin -%endif BuildRequires: texlive-fancyhdr -%if 0%{?suse_version} > 1500 +BuildRequires: texlive-makeindex-bin +%if 0%{?suse_version} >= 1500 BuildRequires: texlive-footnotehyper %endif BuildRequires: texlive-latex BuildRequires: texlive-makeindex BuildRequires: texlive-ulem +BuildRequires: zlib-devel BuildRequires: tex(footnote.sty) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -101,23 +100,23 @@ find device/non-free/ \( -iname \*.h -o -iname \*.c -o -iname \*.S \) -delete %patch0 -p1 %patch2 -p1 -sed -i '1 s@.*@#!/usr/bin/python2@' support/scripts/as2gbmap.py +sed -i '1 s@.*@#!/usr/bin/python3@' support/scripts/as2gbmap.py %build # Force configure to ignore missing, but unused TeX binaries export LATEX2HTML=/usr/bin/true export DVIPDFM=/usr/bin/true +export PYTHON=/usr/bin/python3 CFLAGS="%{optflags} -fno-strict-aliasing" \ %configure \ --docdir=%{_docdir}/sdcc \ --disable-non-free \ - %if 0%{?suse_version} >= 1320 - --enable-doc - %endif + --disable-doc inkscape --export-area-drawing --export-pdf=doc/MCS51_named.pdf doc/MCS51_named.svg make %{?_smp_mflags} +make %{?_smp_mflags} -C doc sdccman.pdf %install %make_install @@ -142,15 +141,13 @@ find %{buildroot}%{_datadir}/%{name}/lib/src/pic16/ -iname \*lib*.a -delete find %{buildroot}%{_datadir}/%{name}/lib/src/pic14/ -iname \*lib*.a -delete -# remove documentation of bundled libbfd, conflicts with binutils -rm %{buildroot}%{_infodir}/bfd.info* - # remove PPC embedspu (unneeded unless you have an AVR etc with a cell engine), conflicts with binutils rm -f %{buildroot}%{_bindir}/embedspu # duplicates %fdupes -s %{buildroot}%{_datadir}/%{name}/lib/src %fdupes -s %{buildroot}%{_bindir} +%fdupes -s %{buildroot}%{_datadir}/%{name}/include # move src away temporarily, as we do not want symlinks across packages mv %{buildroot}%{_datadir}/%{name}/lib/src %{buildroot}%{_datadir}/%{name}/src @@ -178,8 +175,6 @@ %dir %{_docdir}/%{name} %{_docdir}/%{name}/ucsim %{_docdir}/%{name}/sdas -%if 0%{?suse_version} >= 1320 %{_docdir}/%{name}/sdccman.pdf -%endif %changelog ++++++ 0001-Doc-Disable-fallback-to-dvipdfm-remove-non-pdftex-ta.patch ++++++ --- /var/tmp/diff_new_pack.iHBjh7/_old 2019-11-21 12:59:37.070510306 +0100 +++ /var/tmp/diff_new_pack.iHBjh7/_new 2019-11-21 12:59:37.070510306 +0100 @@ -14,13 +14,13 @@ index e2c0743..f7d709f 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in -@@ -58,8 +58,12 @@ $(MANUAL).html/index.html: $(MANUAL).tex $(MANUAL).aux ;#$(MANUAL).ind $(MANUAL) +@@ -57,8 +57,12 @@ $(MANUAL).html/index.html: $(MANUAL).tex $(MANUAL).aux ;#$(MANUAL).ind $(MANUAL) fi $(LYX) -e text $(notdir $<); --%.pdf: %.tex %.dvi %.ind +-%.pdf %.aux: %.tex %.dvi %.ind - which $(PDFLATEX) > /dev/null && $(PDFLATEX) $* || $(DVIPDFM) $* -+%.pdf: %.tex ++%.pdf %.aux: %.tex + sed -i 's#\\pdfoptionpdfminor.*#\\pdfminorversion=5\n\\pdfobjcompresslevel=2#' $< + $(PDFLATEX) -draftmode $* + $(MAKEINDEX) -q $* ++++++ sdcc-src-3.6.0.tar.bz2 -> sdcc-src-3.9.0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/sdcc/sdcc-src-3.6.0.tar.bz2 /work/SRC/openSUSE:Factory/.sdcc.new.26869/sdcc-src-3.9.0.tar.bz2 differ: char 11, line 1 ++++++ sdcc_enable_additional_target_libs.patch ++++++ --- /var/tmp/diff_new_pack.iHBjh7/_old 2019-11-21 12:59:37.118510291 +0100 +++ /var/tmp/diff_new_pack.iHBjh7/_new 2019-11-21 12:59:37.118510291 +0100 @@ -1,16 +1,7 @@ -diff -up sdcc-3.6.0/device/lib/incl.mk.orig sdcc-3.6.0/device/lib/incl.mk ---- sdcc-3.6.0/device/lib/incl.mk.orig 2016-04-12 21:54:04.000000000 +0200 -+++ sdcc-3.6.0/device/lib/incl.mk 2016-06-18 08:58:31.000000000 +0200 -@@ -112,4 +112,4 @@ COMMON_SDCC = \ - assert.c \ - time.c - --MODELS = small medium large -+MODELS = small medium large huge -diff -up sdcc-3.6.0/device/lib/Makefile.in.orig sdcc-3.6.0/device/lib/Makefile.in ---- sdcc-3.6.0/device/lib/Makefile.in.orig 2016-06-18 08:58:31.000000000 +0200 -+++ sdcc-3.6.0/device/lib/Makefile.in 2016-06-18 09:20:52.000000000 +0200 -@@ -186,7 +186,7 @@ TARGETS += model-s08 +diff -up sdcc-3.9.0/device/lib/Makefile.in.orig sdcc-3.9.0/device/lib/Makefile.in +--- sdcc-3.9.0/device/lib/Makefile.in.orig 2016-06-18 08:58:31.000000000 +0200 ++++ sdcc-3.9.0/device/lib/Makefile.in 2016-06-18 09:20:52.000000000 +0200 +@@ -193,7 +193,7 @@ TARGETS += model-s08 endif ifeq ($(OPT_DISABLE_MCS51), 0)