From MAILER-DAEMON Mon Aug 17 13:01:04 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1ww0hs-00086K-G9
	for mharc-libtool-commit@gnu.org; Mon, 17 Aug 2026 13:01:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1ww0hg-000855-4J
 for libtool-commit@gnu.org; Mon, 17 Aug 2026 13:00:54 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1ww0hf-0004AR-SH
 for libtool-commit@gnu.org; Mon, 17 Aug 2026 13:00:51 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id CB624C0C9BE; Mon, 17 Aug 2026 13:00:51 -0400 (EDT)
Date: Mon, 17 Aug 2026 13:00:52 -0400
To: libtool-commit@gnu.org
Subject: branch master updated: libltdl: Skip sanitization of function for
 newer clang versions
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178698605117.4830.2092107609659312909@vcs2.savannah.gnu.org>
Reply-To: Bruno Haible <bruno@clisp.org>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 161845b17e0ac2275c2278b4aa3c9f32f0992bd2
X-Git-Newrev: b9f13756ab2f32426630095ac1f0d049ce38e77d
X-Git-Rev: b9f13756ab2f32426630095ac1f0d049ce38e77d
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2026 17:01:00 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new b9f13756 libltdl: Skip sanitization of function for newer clang versions
b9f13756 is described below

commit b9f13756ab2f32426630095ac1f0d049ce38e77d
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Thu Aug 13 03:13:00 2026 +0300

    libltdl: Skip sanitization of function for newer clang versions
    
    Using a clang version >= 20 finds sanitization issues that the
    earlier clang version did not find.
    
    ltdl.c:189:16: runtime error: call to function preopen_LTX_get_vtable through pointer to incorrect function type 'const lt_dlvtable *(*)(void *)'
    /home/runner/work/ci-check/ci-check/libtool-2026-08-12/build/tests/testsuite.dir/113/libltdl/loaders/preopen.c:60: note: preopen_LTX_get_vtable defined here
    SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ltdl.c:189:16
    
    This is a temporary fix until the function prototype is fixed.
    
    * libltdl/ltdl.c: Skip sanitization of function for clang versions that
      are greater than or equal to 20.
    * libltdl/ltdl.mk: Bump minor version.
---
 libltdl/ltdl.c  | 4 ++++
 libltdl/ltdl.mk | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index c92e2594..bed91b8f 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -178,6 +178,10 @@ loader_init_callback (lt_dlhandle handle)
 }
 #endif /* HAVE_LIBDLLOADER */
 
+// TODO: fix the clang sanitization issue with the function's prototype
+#if defined __clang__ && __clang_major__ >= 20
+  __attribute__ ((no_sanitize ("function")))
+#endif
 static int
 loader_init (lt_get_vtable *vtable_func, lt_user_data data)
 {
diff --git a/libltdl/ltdl.mk b/libltdl/ltdl.mk
index e69e0113..d74ed2ed 100644
--- a/libltdl/ltdl.mk
+++ b/libltdl/ltdl.mk
@@ -35,7 +35,7 @@ AM_CPPFLAGS	       += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
 			  -I$(srcdir)/libltdl -Ilibltdl/libltdl \
 			  -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS	       += -no-undefined
-LTDL_VERSION_INFO	= -version-info 10:6:3
+LTDL_VERSION_INFO	= -version-info 10:7:3
 
 noinst_LTLIBRARIES	+= $(LT_DLLOADERS)
 


From MAILER-DAEMON Mon Aug 17 13:01:04 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1ww0hs-00086O-MJ
	for mharc-libtool-commit@gnu.org; Mon, 17 Aug 2026 13:01:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1ww0hg-000854-26
 for libtool-commit@gnu.org; Mon, 17 Aug 2026 13:00:54 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1ww0hf-0004AP-Pi
 for libtool-commit@gnu.org; Mon, 17 Aug 2026 13:00:51 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 96634C0CD80; Mon, 17 Aug 2026 13:00:51 -0400 (EDT)
Date: Mon, 17 Aug 2026 13:00:51 -0400
To: libtool-commit@gnu.org
Subject: branch development updated: libltdl: Skip sanitization of function
 for newer clang versions
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178698605113.4830.6977669475767771254@vcs2.savannah.gnu.org>
Reply-To: Bruno Haible <bruno@clisp.org>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 84fe66f2226cc59aeaa21c7f5ab541ea4a0cedc3
X-Git-Newrev: 9621f6897dfac7357b8d9d86afccb1f0b33352e4
X-Git-Rev: 9621f6897dfac7357b8d9d86afccb1f0b33352e4
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2026 17:01:00 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 9621f689 libltdl: Skip sanitization of function for newer clang versions
9621f689 is described below

commit 9621f6897dfac7357b8d9d86afccb1f0b33352e4
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Thu Aug 13 03:13:00 2026 +0300

    libltdl: Skip sanitization of function for newer clang versions
    
    Using a clang version >= 20 finds sanitization issues that the
    earlier clang version did not find.
    
    ltdl.c:189:16: runtime error: call to function preopen_LTX_get_vtable through pointer to incorrect function type 'const lt_dlvtable *(*)(void *)'
    /home/runner/work/ci-check/ci-check/libtool-2026-08-12/build/tests/testsuite.dir/113/libltdl/loaders/preopen.c:60: note: preopen_LTX_get_vtable defined here
    SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ltdl.c:189:16
    
    This is a temporary fix until the function prototype is fixed.
    
    * libltdl/ltdl.c: Skip sanitization of function for clang versions that
      are greater than or equal to 20.
    * libltdl/ltdl.mk: Bump minor version.
---
 libltdl/ltdl.c  | 4 ++++
 libltdl/ltdl.mk | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index c92e2594..bed91b8f 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -178,6 +178,10 @@ loader_init_callback (lt_dlhandle handle)
 }
 #endif /* HAVE_LIBDLLOADER */
 
+// TODO: fix the clang sanitization issue with the function's prototype
+#if defined __clang__ && __clang_major__ >= 20
+  __attribute__ ((no_sanitize ("function")))
+#endif
 static int
 loader_init (lt_get_vtable *vtable_func, lt_user_data data)
 {
diff --git a/libltdl/ltdl.mk b/libltdl/ltdl.mk
index e69e0113..d74ed2ed 100644
--- a/libltdl/ltdl.mk
+++ b/libltdl/ltdl.mk
@@ -35,7 +35,7 @@ AM_CPPFLAGS	       += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
 			  -I$(srcdir)/libltdl -Ilibltdl/libltdl \
 			  -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS	       += -no-undefined
-LTDL_VERSION_INFO	= -version-info 10:6:3
+LTDL_VERSION_INFO	= -version-info 10:7:3
 
 noinst_LTLIBRARIES	+= $(LT_DLLOADERS)
 


