From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03AD8A00C2; Fri, 14 Oct 2022 05:03:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99CF34014F; Fri, 14 Oct 2022 05:03:30 +0200 (CEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id 804B2400D4 for ; Fri, 14 Oct 2022 05:03:29 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id g28so3682122pfk.8 for ; Thu, 13 Oct 2022 20:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=ivOGwcyR4MUg31cAp1OZI0uJBsD9ubPtVpr7BMmfMUQ=; b=QMR/TG1xhTTQ3Uz0YDlq//TPKc27IIousPrS3sEJ24QVWfzVJ0WD8+uOfxq8IUAPwe hQs8g69FWDsETxR3phiEuVPWD0vtjgWKLq5XDcF5ehVatezTBU5q3C2HHH/mzhlPFXLT Qa+hx0tTMXByFpHiTQ7vzXUR6rdZz8IMoD2J/4KJy5r6C/OysfBSc+w84JsQStnAN4Y2 Db34QcmLPqyAR2qxds9os1TWfnMW1b4hzs0gpEhp5TvvnDyhDSi+iSorgF0033szKt6c ahIvvEhuYf8kfa7Ny8pAjlu1ros+0fR0cWc+Msf4/gF80jrGU2RvhXpxqFXzvNWESRqg NXJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ivOGwcyR4MUg31cAp1OZI0uJBsD9ubPtVpr7BMmfMUQ=; b=0BUvYneXFPUumyWML2SWgQ8py0730+dJ4IXYQkEU4Amxl/86cgquQgW8o6C6RzyCPD lRhcWE3+DStT3mcja0QGy4A83I2+ZQBHtEFFCDRkhBuiX3UK//XyRuA+xRvpqDsugosG 8LDNoUjEn+zlJM0R+s31DpRD+zK7UvaUV2FWdVC63Et09aT/dL0geQ/nAuVFqDg4/kq+ sR/4zC0WfgNLEQzWfwGiAcCpK47638uYNUdNObANagnZk5z1pjkKcazOLVBy9Q/AJehk yi8O/OONybuLfisnUbMz2QWDxsNijAQEWSIqNoktreyDaIwG+0eS2aHdK2bZjteZgi7t 7o/g== X-Gm-Message-State: ACrzQf1tnR+THhsSxOT/BkKo7v4a+g5V8Wipd17NyxWQBgvG49yVoIxm i1lFW4U5waQaY1g78HJDYDPx6w== X-Google-Smtp-Source: AMsMyM79z3bofWd8OE1zPI39Qz4k/ceB4o1zXbs1aTBlEmJnWR3A9NkmGKslECdJpk+YwggIlYul8Q== X-Received: by 2002:a05:6a00:2906:b0:52a:bc7f:f801 with SMTP id cg6-20020a056a00290600b0052abc7ff801mr2852790pfb.49.1665716608645; Thu, 13 Oct 2022 20:03:28 -0700 (PDT) Received: from [100.64.100.6] ([199.101.192.129]) by smtp.gmail.com with ESMTPSA id w14-20020a63fb4e000000b0041a6638b357sm389203pgj.72.2022.10.13.20.03.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Oct 2022 20:03:28 -0700 (PDT) Subject: Re: [EXT] [PATCH resend v3 0/6] crypto/uadk: introduce uadk crypto driver To: Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella Cc: "dev@dpdk.org" , "acc@openeuler.org" References: <20221008083747.6559-1-zhangfei.gao@linaro.org> <2eb1b59a-a259-677b-cc20-f00c6260fe54@linaro.org> From: Zhangfei Gao Message-ID: <1b249b83-b64a-8276-e65e-e1d2f46d6249@linaro.org> Date: Fri, 14 Oct 2022 11:03:23 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, Akhil On 2022/10/11 下午5:22, Akhil Goyal wrote: >>>> gakhil@cavium-SR1-T640:/home/gakhil/up/uadk$ make >>>> make all-recursive >>>> make[1]: Entering directory '/home/gakhil/up/uadk' >>>> Making all in . >>>> make[2]: Entering directory '/home/gakhil/up/uadk' >>>> depbase=`echo wd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ >>>> /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - >>> Wall -Werror -fno-strict-aliasing -I./include - >>> DUADK_VERSION_NUMBER="\"UADK version: 2.3.37\"" - >>> DUADK_RELEASED_TIME="\"Released Jun 11, 2022\"" -g -O2 -MT wd.lo -MD - >>> MP -MF $depbase.Tpo -c -o wd.lo wd.c &&\ >>>> mv -f $depbase.Tpo $depbase.Plo >>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict- >> aliasing - >>> I./include "-DUADK_VERSION_NUMBER=\"UADK version: 2.3.37\"" "- >>> DUADK_RELEASED_TIME=\"Released Jun 11, 2022\"" -g -O2 -MT wd.lo -MD - >> MP >>> -MF .deps/wd.Tpo -c wd.c -fPIC -DPIC -o .libs/wd.o >>>> depbase=`echo wd_mempool.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ >>>> /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - >>> Wall -Werror -fno-strict-aliasing -I./include - >>> DUADK_VERSION_NUMBER="\"UADK version: 2.3.37\"" - >>> DUADK_RELEASED_TIME="\"Released Jun 11, 2022\"" -g -O2 -MT >>> wd_mempool.lo -MD -MP -MF $depbase.Tpo -c -o wd_mempool.lo >>> wd_mempool.c &&\ >>>> mv -f $depbase.Tpo $depbase.Plo >>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict- >> aliasing - >>> I./include "-DUADK_VERSION_NUMBER=\"UADK version: 2.3.37\"" "- >>> DUADK_RELEASED_TIME=\"Released Jun 11, 2022\"" -g -O2 -MT >>> wd_mempool.lo -MD -MP -MF .deps/wd_mempool.Tpo -c wd_mempool.c - >> fPIC >>> -DPIC -o .libs/wd_mempool.o >>>> depbase=`echo v1/wd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ >>>> /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - >>> Wall -Werror -fno-strict-aliasing -I./include - >>> DUADK_VERSION_NUMBER="\"UADK version: 2.3.37\"" - >>> DUADK_RELEASED_TIME="\"Released Jun 11, 2022\"" -g -O2 -MT v1/wd.lo - >> MD >>> -MP -MF $depbase.Tpo -c -o v1/wd.lo v1/wd.c &&\ >>>> mv -f $depbase.Tpo $depbase.Plo >>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -fno-strict- >> aliasing - >>> I./include "-DUADK_VERSION_NUMBER=\"UADK version: 2.3.37\"" "- >>> DUADK_RELEASED_TIME=\"Released Jun 11, 2022\"" -g -O2 -MT v1/wd.lo - >> MD - >>> MP -MF v1/.deps/wd.Tpo -c v1/wd.c -fPIC -DPIC -o v1/.libs/wd.o >>>> In file included from v1/wd.c:30: >>>> ./v1/wd_util.h:354:2: error: #error "no platform mb, define one before >>> compiling" >>>> 354 | #error "no platform mb, define one before compiling" >>>> | ^~~~~ >>>> make[2]: *** [Makefile:788: v1/wd.lo] Error 1 >>>> make[2]: Leaving directory '/home/gakhil/up/uadk' >>>> make[1]: *** [Makefile:859: all-recursive] Error 1 >>>> make[1]: Leaving directory '/home/gakhil/up/uadk' >>>> make: *** [Makefile:565: all] Error 2 >>> By the way, what platform are you using. >>> I can not reproduce this error. >>> >> I am compiling on Intel XEON server with ubuntu 18.04 > Any update?? The uadk lib needs cross-compile on x86. Toolchain: https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/ Details are documented in https://github.com/Linaro/uadk/blob/master/INSTALL Considering the confusion caused by simple build info in README, We are planning to remove the simple build step in README, only keeps INSTALL. https://github.com/Linaro/uadk/pull/510 Since there are some dependent libraries (libz & openssl) causes cross-compile complicated. We are planning to omit build tests if not found these libs https://github.com/Linaro/uadk/pull/508 Only libnuma is must required for lib. Fortunately the numa cross compile is simple https://github.com/Linaro/uadk/blob/master/INSTALL     $git clone https://github.com/numactl/numactl.git     $cd numactl     $./autogen.sh     $autoconf -i     $CC=aarch64-linux-gnu-gcc ./configure --host=i386-linux-gnu --target=aarch64-linux-gnu --prefix=${LIBROOT}/usr/local     $make     $make install Do you think we still need paste uadk build steps (and cross-compile steps) on dpdk doc/guides/cryptodevs/uadk.rst Sorry for the confusion. Thanks