Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package clang-extract for openSUSE:Factory 
checked in at 2026-02-25 21:13:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clang-extract (Old)
 and      /work/SRC/openSUSE:Factory/.clang-extract.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clang-extract"

Wed Feb 25 21:13:33 2026 rev:20 rq:1335120 version:0~20260224.ac30d66

Changes:
--------
--- /work/SRC/openSUSE:Factory/clang-extract/clang-extract.changes      
2026-02-24 17:58:57.991586958 +0100
+++ /work/SRC/openSUSE:Factory/.clang-extract.new.1977/clang-extract.changes    
2026-02-25 21:24:02.415432011 +0100
@@ -1,0 +2,6 @@
+Wed Feb 25 14:01:02 UTC 2026 - [email protected]
+
+- Update to version 0~20260224.ac30d66:
+  * Add warning about libpulp TLS support
+
+-------------------------------------------------------------------

Old:
----
  clang-extract-0~20260224.7ad9595.tar.xz

New:
----
  clang-extract-0~20260224.ac30d66.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clang-extract.spec ++++++
--- /var/tmp/diff_new_pack.PyMHdh/_old  2026-02-25 21:24:02.899451944 +0100
+++ /var/tmp/diff_new_pack.PyMHdh/_new  2026-02-25 21:24:02.903452109 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           clang-extract
-Version:        0~20260224.7ad9595
+Version:        0~20260224.ac30d66
 Release:        0
 Summary:        A tool to extract code content from source files
 License:        Apache-2.0 WITH LLVM-exception AND NCSA

++++++ _service ++++++
--- /var/tmp/diff_new_pack.PyMHdh/_old  2026-02-25 21:24:02.939453592 +0100
+++ /var/tmp/diff_new_pack.PyMHdh/_new  2026-02-25 21:24:02.943453757 +0100
@@ -2,7 +2,7 @@
        <service name="tar_scm" mode="manual">
                <param name="scm">git</param>
                <param name="url">https://github.com/SUSE/clang-extract</param>
-               <param 
name="revision">7ad959571de4cbf670898aaa17707300817b7686</param>
+               <param 
name="revision">ac30d6643f341bce4732d6cdd783d24f7e04f322</param>
                <param name="versionformat">0~%cd.%h</param>
                <param name="changesgenerate">enable</param>
         <param name="changesauthor">[email protected]</param>

++++++ clang-extract-0~20260224.7ad9595.tar.xz -> 
clang-extract-0~20260224.ac30d66.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clang-extract-0~20260224.7ad9595/libcextract/DscFileGenerator.cpp 
new/clang-extract-0~20260224.ac30d66/libcextract/DscFileGenerator.cpp
--- old/clang-extract-0~20260224.7ad9595/libcextract/DscFileGenerator.cpp       
2026-02-24 17:12:41.000000000 +0100
+++ new/clang-extract-0~20260224.ac30d66/libcextract/DscFileGenerator.cpp       
2026-02-24 23:19:04.000000000 +0100
@@ -92,11 +92,6 @@
   }
 }
 
-static bool Is_TLS(VarDecl *decl)
-{
-  return decl->getTLSKind() == VarDecl::TLS_None ? false : true;
-}
-
 static bool Is_TLS(const DeclContext::lookup_result &decls)
 {
   bool is_tls = false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clang-extract-0~20260224.7ad9595/libcextract/LLVMMisc.hh 
new/clang-extract-0~20260224.ac30d66/libcextract/LLVMMisc.hh
--- old/clang-extract-0~20260224.7ad9595/libcextract/LLVMMisc.hh        
2026-02-24 17:12:41.000000000 +0100
+++ new/clang-extract-0~20260224.ac30d66/libcextract/LLVMMisc.hh        
2026-02-24 23:19:04.000000000 +0100
@@ -112,3 +112,10 @@
 
 /** Check if string has unmatched #if, #ifdef, #ifndef.  */
 bool Has_Balanced_Ifdef(const StringRef &string);
+
+
+/** Check if the VarDecl is declared as TLS.  */
+static inline bool Is_TLS(VarDecl *decl)
+{
+  return decl->getTLSKind() == VarDecl::TLS_None ? false : true;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clang-extract-0~20260224.7ad9595/libcextract/SymbolExternalizer.cpp 
new/clang-extract-0~20260224.ac30d66/libcextract/SymbolExternalizer.cpp
--- old/clang-extract-0~20260224.7ad9595/libcextract/SymbolExternalizer.cpp     
2026-02-24 17:12:41.000000000 +0100
+++ new/clang-extract-0~20260224.ac30d66/libcextract/SymbolExternalizer.cpp     
2026-02-24 23:19:04.000000000 +0100
@@ -650,6 +650,18 @@
      variable as well.  */
   if (VarDecl *vdecl = dyn_cast<VarDecl>(decl)) {
     ret->setTSCSpec(vdecl->getTSCSpec());
+
+    /* Libpulp support TLS through some ugly hacking.  Warn the user about it
+       for now.  */
+    if (Is_TLS(vdecl)) {
+      std::string msg = "Externalization of TLS variable " +
+                        vdecl->getName().str() +
+                        " requires human intervention to call __tls_get_addr";
+
+
+      DiagsClass::Emit_Warn(msg, vdecl->getSourceRange(),
+                            AST->getSourceManager());
+    }
   }
 
   /* return node.  */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/clang-extract-0~20260224.7ad9595/testsuite/small/tls-2.c 
new/clang-extract-0~20260224.ac30d66/testsuite/small/tls-2.c
--- old/clang-extract-0~20260224.7ad9595/testsuite/small/tls-2.c        
1970-01-01 01:00:00.000000000 +0100
+++ new/clang-extract-0~20260224.ac30d66/testsuite/small/tls-2.c        
2026-02-24 23:19:04.000000000 +0100
@@ -0,0 +1,12 @@
+/* { dg-options "-DCE_EXTRACT_FUNCTIONS=set_errno 
-DCE_EXPORT_SYMBOLS=__libc_errno" }*/
+/* { dg-xfail }*/
+
+extern __thread int __libc_errno __attribute__ ((tls_model ("initial-exec")));
+
+void set_errno(int err)
+{
+  __libc_errno = err;
+}
+
+/* { dg-final { scan-tree-dump "__attribute__\(\(used\)\) static tls_index 
klpe___libc_errno_ti;" } } */
+/* { dg-final { scan-tree-dump "__tls_get_addr\(klpe___libc_errno_ti\)" } } */

Reply via email to