Re: Link Error with DAOS 1.0

Nabarro, Tom

There have been some fixes in master for build issues with ubuntu 20.04 (specifically for spdk, ipmctl and I think hwloc). Can you try building from master?




From: <> On Behalf Of Olivier, Jeffrey V
Sent: Thursday, June 25, 2020 2:06 AM
Subject: Re: [daos] Link Error with DAOS 1.0


This small patch gets me past that error:


jvolivie-desk1:[~/daos_1.0]$ git diff

diff --git a/src/control/lib/spdk/spdk.go b/src/control/lib/spdk/spdk.go

index 28b55e537..bbc3d43c6 100644

--- a/src/control/lib/spdk/spdk.go

+++ b/src/control/lib/spdk/spdk.go

@@ -30,6 +30,7 @@ package spdk


#cgo LDFLAGS: -lspdk_env_dpdk -lrte_mempool -lrte_mempool_ring -lrte_bus_pci

#cgo LDFLAGS: -lrte_pci -lrte_ring -lrte_mbuf -lrte_eal -lrte_kvargs -ldl -lnuma

+#cgo LDFLAGS: -lisal


 #include "stdlib.h"

#include "spdk/stdinc.h"


But then it runs into an issue with hwloc.


build/src/control/src/ could not determine kind of name for C.HWLOC_TOPOLOGY_FLAG_IO_DEVICES


It looks like hwloc version 1.5 which should work but perhaps there is something new on Ubuntu 20.04 that we only resolved on master.  




From: <> on behalf of "Olivier, Jeffrey V" <jeffrey.v.olivier@...>
Reply-To: "" <>
Date: Wednesday, June 24, 2020 at 5:52 PM
To: "" <>
Subject: Re: [daos] Link Error with DAOS 1.0


Hi Archie,


I don’t know if 1.0 has been tried with Ubuntu 20.04 though it does work with 18.04.   I will give it a try locally and see what I can find out.




From: <> on behalf of Archie Morningstar <archiemorningstar88@...>
Reply-To: "" <>
Date: Wednesday, June 24, 2020 at 12:29 PM
To: "" <>
Subject: Re: [daos] Link Error with DAOS 1.0


[Edited Message Follows]

Sorry for not having that:
Ubuntu 20.04 LTS


Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Join to automatically receive all group messages.