File UCT-UD-fixed-compilation-by-gcc8.patch of Package openucx
commit 851a26c3e553f88386658129ad2d4dca060e164c
Author: Sergey Oblomov <sergeyo@mellanox.com>
Date: Mon Mar 19 07:25:32 2018 +0200
UCT/UD: fixed compilation by gcc8
- removed 'packed' attribute from uct_ud_send_skb_inl_t structure
diff --git src/uct/ib/ud/base/ud_def.h src/uct/ib/ud/base/ud_def.h
index 0ccc0bb8495a..44d50ec643f8 100644
--- src/uct/ib/ud/base/ud_def.h
+++ src/uct/ib/ud/base/ud_def.h
@@ -172,8 +172,8 @@ typedef struct uct_ud_zcopy_desc {
typedef struct uct_ud_send_skb_inl {
uct_ud_send_skb_t super;
- uct_ud_neth_t neth;
-} UCS_S_PACKED uct_ud_send_skb_inl_t;
+ uct_ud_neth_t neth; /* placeholder for super.neth, should not be used directly */
+} uct_ud_send_skb_inl_t;
typedef struct uct_ud_recv_skb {