]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - gcc/gcc.nm
nasm: Update to 2.14.02
[people/pmueller/ipfire-3.x.git] / gcc / gcc.nm
index a3b43ed6617869590785ff6b7643dad05b5b64d5..cd3fb35a85367176999ed13f84252216dd9296b1 100644 (file)
@@ -7,7 +7,7 @@
 build_graphite = 1
 
 name       = gcc
-version    = 6.2.0
+version    = 8.2.0
 release    = 1
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
@@ -64,8 +64,8 @@ build
        # Build libubsan
        build_libubsan = 0
 
-       # 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.
@@ -80,7 +80,7 @@ build
                build_liblsan = 1
                build_libtsan = 1
                build_libubsan = 1
-               build_libcilkrts = 1
+               build_libmpx = 1
        end
 
        if "%{DISTRO_ARCH}" == "i686"
@@ -88,7 +88,6 @@ build
 
                build_libquadmath = 1
                build_libubsan = 1
-               build_libcilkrts = 1
        end
 
        if "%{DISTRO_ARCH}" == "aarch64"
@@ -151,13 +150,6 @@ build
                sed -i gcc/Makefile.in \
                        -e "s/-fno-exceptions/& -fno-asynchronous-unwind-tables/"
 
-               # Default to -gdwarf-4 -fno-debug-types-section rather than -gdwarf-2
-               sed -i gcc/common.opt \
-                       -e '/UInteger Var(dwarf_version)/s/Init(2)/Init(4)/' \
-                       -e '/flag_debug_types_section/s/Init(1)/Init(0)/' \
-                       -e '/dwarf_record_gcc_switches/s/Init(0)/Init(1)/' \
-                       -e 's/\(may be either 2, 3 or 4; the default version is \)2\./\14./'
-
                #./contrib/gcc_update --touch
        end
 
@@ -197,6 +189,7 @@ build
                        --libdir=%{libdir} \
                        --libexecdir=%{libdir} \
                        --mandir=%{mandir} \
+                       --with-boot-ldflags="%{LDFLAGS}" \
                        --enable-esp \
                        --enable-shared \
                        --enable-threads=posix \
@@ -289,7 +282,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.25 ${FULLPATH}/libstdc++.so
                mv -vf %{BUILDROOT}%{libdir}/lib{std,sup}c++.a ${FULLPATH}
 
                # libquadmath
@@ -317,14 +310,13 @@ build
 
                # libubsan
                if [ "%{build_libubsan}" = "1" ]; then
-                       ln -svf ../../../libubsan.so.0.0.0 ${FULLPATH}/libubsan.so
+                       ln -svf ../../../libubsan.so.1.0.0 ${FULLPATH}/libubsan.so
                        chmod 755 %{BUILDROOT}%{libdir}/libubsan.so.*
                fi
 
-               # libcilkrts
-               if [ "%{build_libcilkrts}" = "1" ]; then
-                       ln -svf ../../../libcilkrts.so.5.0.0 ${FULLPATH}/libcilkrts.so
-                       chmod 755 %{BUILDROOT}%{libdir}/libcilkrts.so.5.*
+               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
 
@@ -529,7 +521,7 @@ packages
                end
 
                files
-                       %{libdir}/libitm.so.1*
+                       %{libdir}/libitm.so.*
                end
        end
 
@@ -562,7 +554,7 @@ packages
                end
 
                files
-                       %{libdir}/libatomic.so.1*
+                       %{libdir}/libatomic.so.*
                end
        end
 
@@ -574,7 +566,7 @@ packages
                end
 
                files
-                       %{libdir}/libasan.so.2*
+                       %{libdir}/libasan.so.*
                end
        end
 
@@ -587,7 +579,7 @@ packages
                        end
 
                        files
-                               %{libdir}/libtsan.so.0*
+                               %{libdir}/libtsan.so.*
                        end
                end
        end
@@ -601,7 +593,7 @@ packages
                        end
 
                        files
-                               %{libdir}/libubsan.so.0*
+                               %{libdir}/libubsan.so.*
                        end
                end
        end
@@ -615,20 +607,23 @@ packages
                        end
 
                        files
-                               %{libdir}/liblsan.so.0*
+                               %{libdir}/liblsan.so.*
                        end
                end
        end
 
-       if "%{build_libcilkrts}" == "1"
-               package libcilkrts
-                       summary = The Cilk+ runtime library
+       if "%{build_libmpx}" == "1"
+               package libmpx
+                       summary = The Memory Protection Extensions runtime libraries
                        description
-                               This package contains the Cilk+ runtime library.
+                               This package contains the Memory Protection Extensions
+                               runtime libraries which is used for -fcheck-pointer-bounds
+                               -mmpx instrumented programs.
                        end
 
                        files
-                               %{libdir}/libcilkrts.so.5*
+                               %{libdir}/libmpx.so.*
+                               %{libdir}/libmpxwrappers.so.*
                        end
                end
        end