Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 715f54b550 | |||
| 47334c786d | |||
| abdf654fb0 | |||
| aeb111cf42 | |||
| 9b92e612b4 | |||
| aad2d34129 | |||
| b88bbd3568 |
24
GCC15-C23-support.patch
Normal file
24
GCC15-C23-support.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
commit ba8260733e4929383c447c38c6a7a755b20a43a9
|
||||
Author: Nicolas Morey <nmorey@suse.com>
|
||||
Date: Fri Jul 11 08:30:59 2025 +0200
|
||||
|
||||
GCC15 C23 support
|
||||
|
||||
diff --git test/dapltest/mdep/linux/dapl_mdep_user.h test/dapltest/mdep/linux/dapl_mdep_user.h
|
||||
index 2eeed9119adc..78fa4183d29c 100755
|
||||
--- test/dapltest/mdep/linux/dapl_mdep_user.h
|
||||
+++ test/dapltest/mdep/linux/dapl_mdep_user.h
|
||||
@@ -52,11 +52,13 @@
|
||||
/* Default Device Name */
|
||||
#define DT_MdepDeviceName "ofa-v2-ib0"
|
||||
|
||||
+#if __STDC_VERSION__ < 202300L
|
||||
/* Boolean */
|
||||
typedef int bool;
|
||||
|
||||
#define true (1)
|
||||
#define false (0)
|
||||
+#endif
|
||||
|
||||
#ifndef __BASE_FILE__
|
||||
#define __BASE_FILE__ __FILE__
|
||||
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of dapl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of dapl in the devel project build (science:HPC)
|
||||
|
||||

|
||||
|
||||
|
||||
34
dapl-add-missing-attribute.patch
Normal file
34
dapl-add-missing-attribute.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
commit 83dfda46eef190bb5c6910e2365746d5529de5e0
|
||||
Author: Nicolas Morey <nmorey@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 <nmorey@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;
|
||||
|
||||
17
dapl.changes
17
dapl.changes
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 12:41:52 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
|
||||
|
||||
- Add dapl-add-missing-attribute.patch to fix an issue with flto
|
||||
where constructors are not properly called.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 06:32:56 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
|
||||
|
||||
- Add GCC15-C23-support.patch to fix compilation with GCC >= 15.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 12:32:44 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>
|
||||
|
||||
- Add openib-add-missing-include.patch to fix compilation
|
||||
with GCC >= 14.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 07:43:13 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
26
dapl.spec
26
dapl.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package dapl
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -31,15 +31,19 @@ Release: 0
|
||||
Source0: https://www.openfabrics.org/downloads/dapl/dapl-%version.tar.gz
|
||||
Source1: dapl-rpmlintrc
|
||||
Source2: baselibs.conf
|
||||
Source100: README.md
|
||||
|
||||
Patch1: dapl-2.0.30-dat-ia-open-hang.patch
|
||||
Patch5: dapl-define_NULL.patch
|
||||
Patch6: dapl-man_page_fixes.patch
|
||||
Patch7: dapl-fsf_address.patch
|
||||
Patch12: dapl-s390.patch
|
||||
Patch13: dapl-add-arm-platform-support.patch
|
||||
Patch14: ucm-mcm-fix-backlog-parameter-for-socket.patch
|
||||
# PATCH-FIX-UPSTREAM http://git.openfabrics.org/?p=~ardavis/dapl.git;a=commitdiff;h=f1e05b7adcee629ee7c1d4d86ea55344d9309232
|
||||
Patch15: reproducible.patch
|
||||
Patch2: dapl-define_NULL.patch
|
||||
Patch3: dapl-man_page_fixes.patch
|
||||
Patch4: dapl-fsf_address.patch
|
||||
Patch5: dapl-s390.patch
|
||||
Patch6: dapl-add-arm-platform-support.patch
|
||||
Patch7: ucm-mcm-fix-backlog-parameter-for-socket.patch
|
||||
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
|
||||
@@ -60,7 +64,7 @@ Obsoletes: dapl-64bit
|
||||
%endif
|
||||
#
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun):/sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
Requires(post): sed
|
||||
Requires(post): coreutils
|
||||
|
||||
|
||||
25
openib-add-missing-include.patch
Normal file
25
openib-add-missing-include.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
commit 374032b1777f85cde146fad8c3e557d8d71654de
|
||||
Author: Nicolas Morey <nmorey@suse.com>
|
||||
Date: Thu Sep 5 14:30:20 2024 +0200
|
||||
|
||||
openib: add missing include
|
||||
|
||||
Add include to fix compilation with GCC >= 14:
|
||||
dapl/openib_scm/cm.c: In function 'dapli_socket_connected':
|
||||
dapl/openib_scm/cm.c:576:23: error: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration]
|
||||
576 | len = writev(cm_ptr->socket, iov, 2);
|
||||
|
||||
Signed-off-by: Nicolas Morey <nmorey@suse.com>
|
||||
|
||||
diff --git dapl/openib_scm/cm.c dapl/openib_scm/cm.c
|
||||
index 29b45dff75dc..167f6fa7a5ab 100644
|
||||
--- dapl/openib_scm/cm.c
|
||||
+++ dapl/openib_scm/cm.c
|
||||
@@ -51,6 +51,7 @@
|
||||
#define DAPL_FD_SETSIZE FD_SETSIZE
|
||||
#endif
|
||||
|
||||
+#include <sys/uio.h>
|
||||
#include "dapl.h"
|
||||
#include "dapl_adapter_util.h"
|
||||
#include "dapl_evd_util.h"
|
||||
Reference in New Issue
Block a user