changeset 20574:19cbdf529781

interface_check: don't report "no versions found" even if we happen to use gnu ld --version-script, but only for symbol visibility (ie. no named version), this check is hit. remove it at least until we can figure out how to avoid the false-positive (we don't really care that the shared object has *versions*, but we care that symbol visibility is defined with a version script and not everything is visible)
author Lauri Tirkkonen <lotheac@iki.fi>
date Sun, 12 May 2019 23:14:03 +0000
parents ba84505efda1
children e1ed8d6406d3
files usr/src/tools/scripts/interface_check.pl
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/tools/scripts/interface_check.pl	Sun May 12 23:12:04 2019 +0000
+++ b/usr/src/tools/scripts/interface_check.pl	Sun May 12 23:14:03 2019 +0000
@@ -141,13 +141,6 @@
 
 	# If there are no versions in the file we're done.
 	if ($Verdef eq 'NOVERDEF') {
-		# Report the lack of versioning, unless the object is
-		# a known plugin, or is explicitly exempt.
-		if ($NotPlugin &&
-		    (!defined($EXRE_noverdef) || ($RelPath !~ $EXRE_noverdef))) {
-			onbld_elfmod::OutMsg($ErrFH, \$Ttl, $RelPath,
-			    "no versions found");
-		}
 		return;
 	}