]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
gcc: Update to version 7.3.0
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Jan 2018 15:51:08 +0000 (15:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Jan 2018 15:51:08 +0000 (15:51 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
gcc/gcc.nm

index c58dd9ebe17739036851a8ec22ff9b548fa73b42..7f1f5432b0dee436cb312b8dedf905f2d87ee381 100644 (file)
@@ -7,7 +7,7 @@
 build_graphite = 1
 
 name       = gcc
-version    = 6.4.0
+version    = 7.3.0
 release    = 1
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
@@ -67,6 +67,9 @@ build
        # Build libcilkrts (only x86)
        build_libcilkrts = 0
 
+       # Build libmpx (only on x86_64)
+       build_libmpx = 0
+
        # A couple of configure arguments depending on the architecture and
        # configuration.
        configure_options =
@@ -81,6 +84,7 @@ build
                build_libtsan = 1
                build_libubsan = 1
                build_libcilkrts = 1
+               build_libmpx = 1
        end
 
        if "%{DISTRO_ARCH}" == "i686"
@@ -283,7 +287,7 @@ build
                chmod 755 %{BUILDROOT}%{libdir}/libgomp.so.1.*
 
                # libstdc++
-               ln -svf ../../../libstdc++.so.6.0.22 ${FULLPATH}/libstdc++.so
+               ln -svf ../../../libstdc++.so.6.0.24 ${FULLPATH}/libstdc++.so
                mv -vf %{BUILDROOT}%{libdir}/lib{std,sup}c++.a ${FULLPATH}
 
                # libquadmath
@@ -320,6 +324,11 @@ build
                        ln -svf ../../../libcilkrts.so.5.0.0 ${FULLPATH}/libcilkrts.so
                        chmod 755 %{BUILDROOT}%{libdir}/libcilkrts.so.5.*
                fi
+
+               if [ "%{build_libmpx}" = "1" ]; then
+                       ln -svf ../../../libmpx.so.2.0.1 ${FULLPATH}/libmpx.so
+                       ln -svf ../../../libmpxwrappers.so.2.0.1 ${FULLPATH}/libmpxwrappers.so
+               fi
        end
 
        keep_libraries
@@ -627,6 +636,22 @@ packages
                end
        end
 
+       if "%{build_libmpx}" == "1"
+               package libmpx
+                       summary = The Memory Protection Extensions runtime libraries
+                       description
+                               This package contains the Memory Protection Extensions
+                               runtime libraries which is used for -fcheck-pointer-bounds
+                               -mmpx instrumented programs.
+                       end
+
+                       files
+                               %{libdir}/libmpx.so.*
+                               %{libdir}/libmpxwrappers.so.*
+                       end
+               end
+       end
+
        package gcc-plugin-devel
                summary = Support for compiling GCC plugins.
                description