From a62d0131ec28ef86a02913a6de61e583025935784835e4cd6fc7bf7fcae10895 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 29 Dec 2014 19:15:49 +0000 Subject: [PATCH 1/2] Accepting request 266822 from home:posophe:branches:devel:libraries:c_c++ - Update to version 7.4.2 + Add config option to use STGRTMIN-based signals for thread suspend/resume. + Allow parallel mark to be enabled on powerpc-linux systems. + Check for Fujitsu compiler in builtin_unwind logic (enable FX10/K-Computer). + Fix 'Array subscript is above array bounds' GCC warning in GC_new_kind/proc. + Fix 'attribute declaration must precede definition' warning (clang-3.1). + Fix (enable) Cygwin-64 build. + Fix GC_finalized_malloc failure on disclaim_test. + Fix GC_sig_suspend initialization when non-constant SIGRTMIN used. + Fix MS VC redefinition warning for functions declared with GC_ATTR_MALLOC. + Fix TEXT() usage for concatenated strings in GC_CreateLogFile (Win32). + Fix data roots registration for Android/x86 and NDK ARM 'gold' linker. + Fix find stackbottom on BlueGene P/Q systems. + Fix machdep .lo files path in configure (SPARC, IA-64). + Fix ok_init assignment (missing cast) in GC_new_kind_inner. + Fix typos in names in AUTHORS and ChangeLog files. + Remove barrett_diagram file duplicated by tree.html. + Remove non-existing DISCARD_WORDS from GC data structure ASCII diagram. + Restore contribution information for ancient releases in ChangeLog. - Remove aarch64-support.patch; merged on upstream release - gc project has a new home; update Url tag and download source Url OBS-URL: https://build.opensuse.org/request/show/266822 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gc?expand=0&rev=29 --- aarch64-support.patch | 69 ------------------------------------------- gc-7.2d.tar.gz | 3 -- gc-7.4.2.tar.gz | 3 ++ gc.changes | 25 ++++++++++++++++ gc.spec | 12 ++++---- 5 files changed, 33 insertions(+), 79 deletions(-) delete mode 100644 aarch64-support.patch delete mode 100644 gc-7.2d.tar.gz create mode 100644 gc-7.4.2.tar.gz diff --git a/aarch64-support.patch b/aarch64-support.patch deleted file mode 100644 index 626f46e..0000000 --- a/aarch64-support.patch +++ /dev/null @@ -1,69 +0,0 @@ -Index: gc-7.2/include/private/gcconfig.h -=================================================================== ---- gc-7.2.orig/include/private/gcconfig.h -+++ gc-7.2/include/private/gcconfig.h -@@ -70,6 +70,13 @@ - # define I386 - # define mach_type_known - # endif -+# if defined(__aarch64__) -+# define AARCH64 -+# if !defined(LINUX) -+# define NOSYS -+# define mach_type_known -+# endif -+# endif - # if defined(__arm) || defined(__arm__) || defined(__thumb__) - # define ARM32 - # if !defined(LINUX) && !defined(NETBSD) && !defined(OPENBSD) \ -@@ -250,6 +257,10 @@ - # define IA64 - # define mach_type_known - # endif -+# if defined(LINUX) && defined(__aarch64__) -+# define AARCH64 -+# define mach_type_known -+# endif - # if defined(LINUX) && (defined(__arm) || defined(__arm__)) - # define ARM32 - # define mach_type_known -@@ -537,6 +548,7 @@ - /* running Amdahl UTS4 */ - /* S390 ==> 390-like machine */ - /* running LINUX */ -+ /* AARCH64 ==> ARM AArch64 */ - /* ARM32 ==> Intel StrongARM */ - /* IA64 ==> Intel IPF */ - /* (e.g. Itanium) */ -@@ -1899,6 +1911,31 @@ - # endif - # endif - -+# ifdef AARCH64 -+# define CPP_WORDSZ 64 -+# define MACH_TYPE "AARCH64" -+# define ALIGNMENT 8 -+# ifndef HBLKSIZE -+# define HBLKSIZE 4096 -+# endif -+# ifdef LINUX -+# define OS_TYPE "LINUX" -+# define LINUX_STACKBOTTOM -+# define DYNAMIC_LOADING -+ extern int __data_start[]; -+# define DATASTART ((ptr_t)__data_start) -+ extern char _end[]; -+# define DATAEND ((ptr_t)(&_end)) -+# endif -+# ifdef NOSYS -+ /* __data_start is usually defined in the target linker script. */ -+ extern int __data_start[]; -+# define DATASTART ((ptr_t)__data_start) -+ extern void *__stack_base__; -+# define STACKBOTTOM ((ptr_t)__stack_base__) -+# endif -+# endif -+ - # ifdef ARM32 - # define CPP_WORDSZ 32 - # define MACH_TYPE "ARM32" diff --git a/gc-7.2d.tar.gz b/gc-7.2d.tar.gz deleted file mode 100644 index 6b39b08..0000000 --- a/gc-7.2d.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9fe0ae8650d43746a48bfb394cab01a319f3809cee19f8ebd16aa985b511c5e -size 1263064 diff --git a/gc-7.4.2.tar.gz b/gc-7.4.2.tar.gz new file mode 100644 index 0000000..7a65471 --- /dev/null +++ b/gc-7.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2 +size 1082597 diff --git a/gc.changes b/gc.changes index bd51013..ef78fd8 100644 --- a/gc.changes +++ b/gc.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Dec 29 17:51:02 UTC 2014 - p.drouand@gmail.com + +- Update to version 7.4.2 + + Add config option to use STGRTMIN-based signals for thread suspend/resume. + + Allow parallel mark to be enabled on powerpc-linux systems. + + Check for Fujitsu compiler in builtin_unwind logic (enable FX10/K-Computer). + + Fix 'Array subscript is above array bounds' GCC warning in GC_new_kind/proc. + + Fix 'attribute declaration must precede definition' warning (clang-3.1). + + Fix (enable) Cygwin-64 build. + + Fix GC_finalized_malloc failure on disclaim_test. + + Fix GC_sig_suspend initialization when non-constant SIGRTMIN used. + + Fix MS VC redefinition warning for functions declared with GC_ATTR_MALLOC. + + Fix TEXT() usage for concatenated strings in GC_CreateLogFile (Win32). + + Fix data roots registration for Android/x86 and NDK ARM 'gold' linker. + + Fix find stackbottom on BlueGene P/Q systems. + + Fix machdep .lo files path in configure (SPARC, IA-64). + + Fix ok_init assignment (missing cast) in GC_new_kind_inner. + + Fix typos in names in AUTHORS and ChangeLog files. + + Remove barrett_diagram file duplicated by tree.html. + + Remove non-existing DISCARD_WORDS from GC data structure ASCII diagram. + + Restore contribution information for ancient releases in ChangeLog. +- Remove aarch64-support.patch; merged on upstream release +- gc project has a new home; update Url tag and download source Url + ------------------------------------------------------------------- Sun May 26 20:09:26 UTC 2013 - jengelh@inai.de diff --git a/gc.spec b/gc.spec index 2c63817..c498793 100644 --- a/gc.spec +++ b/gc.spec @@ -1,7 +1,7 @@ # # spec file for package gc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,14 @@ Name: gc -Version: 7.2d +Version: 7.4.2 Release: 0 -Url: http://www.hpl.hp.com/personal/Hans_Boehm/gc/ +Url: http://www.hboehm.info/gc/ Summary: A garbage collector for C and C++ License: BSD-3-Clause Group: Development/Libraries/C and C++ -Source: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%name-%version.tar.gz -Patch1: aarch64-support.patch +Source: http://www.hboehm.info/gc/gc_source/%name-%version.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf >= 2.64 BuildRequires: gcc-c++ @@ -74,8 +73,7 @@ automatically recycles memory when it determines that it can no longer be otherwise accessed. %prep -%setup -q -n %{name}-7.2 -%patch1 -p1 +%setup -q %build # refresh auto*/libtool to purge rpaths From c6be554d06076a87d046731f8c2c3da708a0ee5909cd906e87b664744523160e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 29 Dec 2014 19:17:37 +0000 Subject: [PATCH 2/2] Use standard changelog format (*, not +). Wrap at 66 cols (--- line). Strip non-openSUSE changes. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gc?expand=0&rev=30 --- gc.changes | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/gc.changes b/gc.changes index ef78fd8..c6cca59 100644 --- a/gc.changes +++ b/gc.changes @@ -2,26 +2,21 @@ Mon Dec 29 17:51:02 UTC 2014 - p.drouand@gmail.com - Update to version 7.4.2 - + Add config option to use STGRTMIN-based signals for thread suspend/resume. - + Allow parallel mark to be enabled on powerpc-linux systems. - + Check for Fujitsu compiler in builtin_unwind logic (enable FX10/K-Computer). - + Fix 'Array subscript is above array bounds' GCC warning in GC_new_kind/proc. - + Fix 'attribute declaration must precede definition' warning (clang-3.1). - + Fix (enable) Cygwin-64 build. - + Fix GC_finalized_malloc failure on disclaim_test. - + Fix GC_sig_suspend initialization when non-constant SIGRTMIN used. - + Fix MS VC redefinition warning for functions declared with GC_ATTR_MALLOC. - + Fix TEXT() usage for concatenated strings in GC_CreateLogFile (Win32). - + Fix data roots registration for Android/x86 and NDK ARM 'gold' linker. - + Fix find stackbottom on BlueGene P/Q systems. - + Fix machdep .lo files path in configure (SPARC, IA-64). - + Fix ok_init assignment (missing cast) in GC_new_kind_inner. - + Fix typos in names in AUTHORS and ChangeLog files. - + Remove barrett_diagram file duplicated by tree.html. - + Remove non-existing DISCARD_WORDS from GC data structure ASCII diagram. - + Restore contribution information for ancient releases in ChangeLog. +* Add config option to use STGRTMIN-based signals for thread + suspend/resume. +* Allow parallel mark to be enabled on powerpc-linux systems. +* Fix 'Array subscript is above array bounds' GCC warning in + GC_new_kind/proc. +* Fix 'attribute declaration must precede definition' warning. +* Fix GC_finalized_malloc failure on disclaim_test. +* Fix GC_sig_suspend initialization when non-constant SIGRTMIN used. +* Fix data roots registration for Android/x86 and NDK ARM 'gold' + linker. +* Fix find stackbottom on BlueGene P/Q systems. +* Fix machdep .lo files path in configure (SPARC, IA-64). +* Fix ok_init assignment (missing cast) in GC_new_kind_inner. - Remove aarch64-support.patch; merged on upstream release -- gc project has a new home; update Url tag and download source Url +- gc project has a new home; update URL tag and download source URL ------------------------------------------------------------------- Sun May 26 20:09:26 UTC 2013 - jengelh@inai.de