Hello community,

here is the log from the commit of package gcc for openSUSE:Factory checked in 
at 2015-02-20 12:00:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc (Old)
 and      /work/SRC/openSUSE:Factory/.gcc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc/gcc.changes  2014-04-06 09:55:57.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.gcc.new/gcc.changes     2015-02-20 
12:00:16.000000000 +0100
@@ -1,0 +2,12 @@
+Wed Feb  4 07:29:43 UTC 2015 - [email protected]
+
+- add a gcc-PIE subpackage, which enables building PIE binaries
+  by default using the defaults.spec file. bsc#912298
+
+-------------------------------------------------------------------
+Mon Aug  4 13:29:20 UTC 2014 - [email protected]
+
+- Add libstdc++-devel-32bit and libstdc++-devel-64bit packages.
+  [bnc#890226]
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gcc.spec ++++++
--- /var/tmp/diff_new_pack.kCarlz/_old  2015-02-20 12:00:17.000000000 +0100
+++ /var/tmp/diff_new_pack.kCarlz/_new  2015-02-20 12:00:17.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gcc
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -180,6 +180,26 @@
 The system GNU C++ development files.
 
 
+%package -n libstdc++-devel-32bit
+Summary:        The system GNU C++ 32bit development files
+License:        GPL-3.0-with-GCC-exception
+Group:          System/Libraries
+Requires:       libstdc++%{gcc_version}-devel-32bit
+
+%description -n libstdc++-devel-32bit
+The system GNU C++ 32bit development files.
+
+
+%package -n libstdc++-devel-64bit
+Summary:        The system GNU C++ 64bit development files
+License:        GPL-3.0-with-GCC-exception
+Group:          System/Libraries
+Requires:       libstdc++%{gcc_version}-devel-64bit
+
+%description -n libstdc++-devel-64bit
+The system GNU C++ 64bit development files.
+
+
 
 %package -n gcc-fortran
 Summary:        The system GNU Fortran Compiler
@@ -321,6 +341,18 @@
 %description -n gcc-obj-c++
 The system GNU Objective C++ Compiler.
 
+%package -n gcc-PIE
+Summary:        A default configuration to build all binaries in PIE mode
+License:        GPL-3.0+
+Group:          Development/Languages/Other
+Requires:       gcc
+
+%description -n gcc-PIE
+This package contains a configuration file (spec) that changes the
+compilers default setting to build all ELF binaries in the Position
+Independend Executable (PIE) variant. This enables better address
+space randomization (ASLR).
+
 
 %if %{build_ada}
 %package -n gcc-ada
@@ -403,6 +435,14 @@
 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/bfd-plugins
 ln -s `gcc-%{gcc_suffix} -print-file-name=liblto_plugin.so.0.0.0` 
$RPM_BUILD_ROOT%{_prefix}/lib/bfd-plugins/liblto_plugin.so.0.0.0
 
+dir=`gcc -print-prog-name=cc1`
+dir=${dir%/cc1}
+mkdir -p $RPM_BUILD_ROOT/$dir
+cat > $RPM_BUILD_ROOT/$dir/defaults.spec <<EOF
+*default_spec:
+%%{pie|fpic|fPIC|fpie|fPIE|fno-pic|fno-PIC|fno-pie|fno-PIE|shared|static|nostdlib|nodefaultlibs|nostartfiles:;:-fPIE
 -pie}
+EOF
+
 %files
 %defattr(-,root,root)
 %{_prefix}/bin/gcc
@@ -489,6 +529,10 @@
 # empty - only for the dependency
 %doc README
 
+%files -n gcc-PIE
+%defattr(-,root,root)
+/usr/lib*/gcc/*-suse-linux*/*/defaults.spec
+
 %files -n gcc-locale
 %defattr(-,root,root)
 # empty - only for the dependency
@@ -543,6 +587,11 @@
 # empty - only for the dependency
 %doc README
 
+%files -n libstdc++-devel-32bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
+
 %files -n gcc-fortran-32bit
 %defattr(-,root,root)
 # empty - only for the dependency
@@ -570,6 +619,11 @@
 %defattr(-,root,root)
 # empty - only for the dependency
 %doc README
+
+%files -n libstdc++-devel-64bit
+%defattr(-,root,root)
+# empty - only for the dependency
+%doc README
 
 %files -n gcc-fortran-64bit
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to