public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* rdma-core 13 fails to build on Ubuntu 16.04.1 LTS
@ 2017-06-15 16:29 Amrani, Ram
       [not found] ` <CO2PR07MB2584B40776D19F8302B387F2F8C00-0HVHVVMgGXp9MDTzla2L+OFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Amrani, Ram @ 2017-06-15 16:29 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

I failed to build rdma-core on Ubuntu 16.04.1 LTS.

Most errors looked like this: undefined reference to `udma_to_device_barrier'.

e.g.:
[115/175] Building C object providers/mlx4/CMakeFiles/mlx4-rdmav2.dir/qp.c.o
../providers/mlx4/qp.c: In function 'set_data_seg':
../providers/mlx4/qp.c:206:2: warning: implicit declaration of function 'udma_to_device_barrier' [-Wimplicit-function-declaration]
  udma_to_device_barrier();
  ^
[115/175] Building C object providers/mthca/CMakeFiles/mthca-rdmav2.dir/qp.c.o
../providers/mthca/qp.c: In function 'mthca_tavor_post_send':
../providers/mthca/qp.c:115:2: warning: implicit declaration of function 'udma_to_device_barrier' [-Wimplicit-function-declaration]
  udma_to_device_barrier();
  ^
[115/175] Building C object providers/i40iw/CMakeFiles/i40iw-rdmav2.dir/i40iw_uk.c.o
../providers/i40iw/i40iw_uk.c: In function 'i40iw_nop_1':
../providers/i40iw/i40iw_uk.c:79:2: warning: implicit declaration of function 'udma_to_device_barrier' [-Wimplicit-function-declaration]
  udma_to_device_barrier(); /* Memory barrier to ensure data is written before valid bit is set */

rdma-core 14 works well, however.

Is this a known issue?

Thanks,
Ram



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rdma-core 13 fails to build on Ubuntu 16.04.1 LTS
       [not found] ` <CO2PR07MB2584B40776D19F8302B387F2F8C00-0HVHVVMgGXp9MDTzla2L+OFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2017-06-15 16:40   ` Jason Gunthorpe
       [not found]     ` <20170615164036.GA23773-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Gunthorpe @ 2017-06-15 16:40 UTC (permalink / raw)
  To: Amrani, Ram; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Thu, Jun 15, 2017 at 04:29:29PM +0000, Amrani, Ram wrote:

> Is this a known issue?

Yes, you need to cherry pick this patch for ARM:

commit 3f26e322622e93546f1b3a1a89c788adcebedcbe
Author: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date:   Wed Mar 22 22:12:24 2017 -0400

    Fix udma_to_device_barrier on aarch64
    
    The definition for udma_to_device_barrier on aarch64 is missing. Looks
    like an oversight in the commit that removed the old barrier macros and
    added this one.
    
    Fixes: 85a5529dead5 ("Remove the old barrier macros")
    Signed-off-by: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
    Signed-off-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: rdma-core 13 fails to build on Ubuntu 16.04.1 LTS
       [not found]     ` <20170615164036.GA23773-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
@ 2017-06-18  7:12       ` Amrani, Ram
  0 siblings, 0 replies; 3+ messages in thread
From: Amrani, Ram @ 2017-06-18  7:12 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

> > Is this a known issue?
> 
> Yes, you need to cherry pick this patch for ARM:
> 
> commit 3f26e322622e93546f1b3a1a89c788adcebedcbe
> Author: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Date:   Wed Mar 22 22:12:24 2017 -0400
> 
>     Fix udma_to_device_barrier on aarch64
> 
>     The definition for udma_to_device_barrier on aarch64 is missing. Looks
>     like an oversight in the commit that removed the old barrier macros and
>     added this one.
> 
>     Fixes: 85a5529dead5 ("Remove the old barrier macros")
>     Signed-off-by: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>     Signed-off-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
> 
> Jason


Thanks

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-18  7:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-15 16:29 rdma-core 13 fails to build on Ubuntu 16.04.1 LTS Amrani, Ram
     [not found] ` <CO2PR07MB2584B40776D19F8302B387F2F8C00-0HVHVVMgGXp9MDTzla2L+OFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-06-15 16:40   ` Jason Gunthorpe
     [not found]     ` <20170615164036.GA23773-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-06-18  7:12       ` Amrani, Ram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox