Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dapl for openSUSE:Factory checked in 
at 2025-07-23 16:35:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dapl (Old)
 and      /work/SRC/openSUSE:Factory/.dapl.new.8875 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dapl"

Wed Jul 23 16:35:22 2025 rev:15 rq:1295210 version:2.1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/dapl/dapl.changes        2025-07-11 
21:33:41.893935848 +0200
+++ /work/SRC/openSUSE:Factory/.dapl.new.8875/dapl.changes      2025-07-23 
16:39:06.849393485 +0200
@@ -1,0 +2,6 @@
+Tue Jul 22 12:41:52 UTC 2025 - Nicolas Morey <nicolas.mo...@suse.com>
+
+- Add dapl-add-missing-attribute.patch to fix an issue with flto
+  where constructors are not properly called.
+
+-------------------------------------------------------------------

New:
----
  dapl-add-missing-attribute.patch

----------(New B)----------
  New:
- Add dapl-add-missing-attribute.patch to fix an issue with flto
  where constructors are not properly called.
----------(New E)----------

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

Other differences:
------------------
++++++ dapl.spec ++++++
--- /var/tmp/diff_new_pack.RT2YoN/_old  2025-07-23 16:39:07.653425729 +0200
+++ /var/tmp/diff_new_pack.RT2YoN/_new  2025-07-23 16:39:07.653425729 +0200
@@ -42,6 +42,7 @@
 Patch8:         reproducible.patch
 Patch9:         openib-add-missing-include.patch
 Patch10:        GCC15-C23-support.patch
+Patch11:        dapl-add-missing-attribute.patch
 URL:            http://www.openfabrics.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf

++++++ dapl-add-missing-attribute.patch ++++++
commit 83dfda46eef190bb5c6910e2365746d5529de5e0
Author: Nicolas Morey <nmo...@suse.com>
Date:   Tue Jul 22 13:52:43 2025 +0200

    dapl: add missing attribute
    
    With flto=auto, the constructors and destructors are being dropped
    as there are not called by anything within the code. It seems that -Wl,-init
    is not enough for ld.
    
    Signed-off-by: Nicolas Morey <nmo...@suse.com>

diff --git dapl/udapl/dapl_init.c dapl/udapl/dapl_init.c
index 9ccbaf5d214d..89c08ab3cb0e 100644
--- dapl/udapl/dapl_init.c
+++ dapl/udapl/dapl_init.c
@@ -67,6 +67,7 @@
  *
  * Return Values:
  */
+__attribute__((constructor))
 void dapl_init(void)
 {
        DAT_RETURN dat_status;
@@ -147,7 +148,8 @@ void dapl_init(void)
  *
  * Return Values:
  */
-void dapl_fini(void)
+__attribute__((destructor))
+void dapl_fini(void) 
 {
        DAT_RETURN dat_status;
 

Reply via email to