krb5 commit: Fix maintainer-mode build for binutils 2.37

ghudson at mit.edu ghudson at mit.edu
Mon Apr 10 16:23:09 EDT 2023


https://github.com/krb5/krb5/commit/9327e92950086753f61f7e2d02bfa658e7779777
commit 9327e92950086753f61f7e2d02bfa658e7779777
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Apr 3 19:19:38 2023 -0400

    Fix maintainer-mode build for binutils 2.37
    
    binutils 2.37 makes --with-symbol-versions the default for nm.  In
    export-check.pl, remove the default symbol versions in the nm output
    if they are present.
    
    ticket: 9092 (new)

 src/util/export-check.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/export-check.pl b/src/util/export-check.pl
index eaec7d611..2866c0a38 100755
--- a/src/util/export-check.pl
+++ b/src/util/export-check.pl
@@ -49,6 +49,7 @@ map chop, @export;
 while (<NM>) {
     chop;
     s/^[0-9a-fA-F]+ +//;
+    s/@@.*$//;
     next if /^A /;
     if (!/^[TDRBGS] /) {
 	unlink $libfile;


More information about the cvs-krb5 mailing list