SHA256
2
0

Accepting request 266830 from devel:libraries:c_c++

- Update to version 7.4.2

OBS-URL: https://build.opensuse.org/request/show/266830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gc?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2015-01-08 22:04:22 +00:00 committed by Git OBS Bridge
commit d76bd86e72
5 changed files with 28 additions and 79 deletions

View File

@ -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"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9fe0ae8650d43746a48bfb394cab01a319f3809cee19f8ebd16aa985b511c5e
size 1263064

3
gc-7.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2
size 1082597

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
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.
* 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
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 26 20:09:26 UTC 2013 - jengelh@inai.de Sun May 26 20:09:26 UTC 2013 - jengelh@inai.de

12
gc.spec
View File

@ -1,7 +1,7 @@
# #
# spec file for package gc # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,14 @@
Name: gc Name: gc
Version: 7.2d Version: 7.4.2
Release: 0 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++ Summary: A garbage collector for C and C++
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Source: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%name-%version.tar.gz Source: http://www.hboehm.info/gc/gc_source/%name-%version.tar.gz
Patch1: aarch64-support.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.64 BuildRequires: autoconf >= 2.64
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -74,8 +73,7 @@ automatically recycles memory when it determines that it can no longer
be otherwise accessed. be otherwise accessed.
%prep %prep
%setup -q -n %{name}-7.2 %setup -q
%patch1 -p1
%build %build
# refresh auto*/libtool to purge rpaths # refresh auto*/libtool to purge rpaths