Преглед изворни кода

Dpkg::Shlibs::SymbolFile: Blacklist GOMP critical section symbols

Closes: #708033
Guillem Jover пре 12 година
родитељ
комит
42ccdd6ab9
2 измењених фајлова са 5 додато и 0 уклоњено
  1. 1 0
      debian/changelog
  2. 4 0
      scripts/Dpkg/Shlibs/SymbolFile.pm

+ 1 - 0
debian/changelog

@@ -25,6 +25,7 @@ dpkg (1.17.6) UNRELEASED; urgency=low
   * Turn the ARM Embedded ABI symbols blacklist into a regex, to stop having
     to keep up with the GNU toolchain, or other toolchains emitting different
     symbols.
+  * Blacklist GOMP critical section symbols. Closes: #708033
 
   [ Updated dpkg translations ]
   * Swedish (Peter Krefting).

+ 4 - 0
scripts/Dpkg/Shlibs/SymbolFile.pm

@@ -79,6 +79,10 @@ sub symbol_is_blacklisted {
     # possibly appearing in output objects.
     return 1 if $symbol =~ /^__aeabi_/;
 
+    # The GNU implementation of the OpenMP spec, specifies symbols under
+    # this namespace as possibly appearing in output objects.
+    return 1 if $symbol =~ /^\.gomp_critical_user_/;
+
     return 0;
 }