From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3A5D929C6
 for <dev@dpdk.org>; Wed, 11 Oct 2017 16:27:47 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id AA6BC20996;
 Wed, 11 Oct 2017 10:27:46 -0400 (EDT)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Wed, 11 Oct 2017 10:27:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=mesmtp; bh=dXy4oywFxjiI6RXcH2EBVzUKpl
 m/TEZEmspPS1Qbv3E=; b=UhcbcCCiptsoo2yHtZAKKemg0beYJ4IXoIPoDL+U8q
 9XRMxCxeT1D9DobjYdGJefur6xAt8Fm+cGeENx3givy74GOVjgPiiYAF2RWkWzKZ
 xRZ4DQ5GLXVd4TeacWcLaq2qVMdpGFMDGE8wQBU6zSUysmla6KWvS4pRlRO+gWc9
 c=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=dXy4oy
 wFxjiI6RXcH2EBVzUKplm/TEZEmspPS1Qbv3E=; b=cqM+7eCM3P/1btyWepGnTY
 G7ymHDVISU7J5SnCHUqrpsU+9FW1kjnkYZyLxPSBjcCmp5nyboow8rLNLDaro5PM
 M904PNyQ8+4adMi0fnF8WYwPw3j4iIUAz6c0vRmRASIQl4kFhAwgtzzh28i1qUwQ
 +1XMmkVOoZ8SCALvnq8HO+IdHJ8z6KpdMPJNgD296nNVT9fTKuVWBdaGrHPYRNlU
 PvoPnmwyTfR+wp4ex63DiTuA6vIrhB37L65YF79KhHeqKbGSh1QWYEiq1zth+IC8
 4JN9o1MPCVxt1FzAuaoWRp/8FnDxGzfFrFHdRHbyN2XkgpAHQQogpjAOQlmo9rAg
 ==
X-ME-Sender: <xms:YireWenYEUpHU_NyLqJ8dhWNafxcn-ekuF0iuj3XrIkCydP87Kafgw>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 517E47E9F0;
 Wed, 11 Oct 2017 10:27:46 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Tomasz Duszynski <tdu@semihalf.com>
Cc: dev@dpdk.org, mw@semihalf.com, dima@marvell.com, nsamsono@marvell.com,
 Jianbo.liu@linaro.org, Jacek Siuda <jck@semihalf.com>
Date: Wed, 11 Oct 2017 16:27:45 +0200
Message-ID: <2223559.KerB5CclYn@xps>
In-Reply-To: <1507561244-20115-17-git-send-email-tdu@semihalf.com>
References: <1507031500-11473-1-git-send-email-tdu@semihalf.com>
 <1507561244-20115-1-git-send-email-tdu@semihalf.com>
 <1507561244-20115-17-git-send-email-tdu@semihalf.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v4 16/16] doc: add mrvl net pmd documentation
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Oct 2017 14:27:48 -0000

09/10/2017 17:00, Tomasz Duszynski:
> +- MUSDK (Marvell User-Space SDK) sources available
> +  `here <https://github.com/MarvellEmbeddedProcessors/musdk-marvell/tree/musdk-armada-17.08>`__.
> +
> +    MUSDK is a light-weight library that provides direct access to Marvell's
> +    PPv2 (Packet Processor v2). Alternatively prebuilt MUSDK library can be
> +    requested from `Marvell Extranet <https://extranet.marvell.com>`_. Once
> +    approval has been granted, library can be found by typing ``musdk`` in
> +    the search box.
> +
> +    MUSDK must be configured with the following features:
> +
> +    .. code-block:: console
> +
> +       --enable-bpool-dma=64

It is really too short.
This is what I did:

export CROSS_COMPILE=<toolchain>/bin/aarch64-linux-gnu-
export CROSS_COMPILE=<toolchain>/bin/arm-linux-gnueabi-
export ARCH=arm64
./bootstrap
./configure --host=aarch64-linux-gnu --enable-bpool-dma=64
make install

But if fails at link step:

  CCLD     libmusdk.la
gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.1.1/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/libmusdk_la-list.o: Relocations in generic ELF (EM: 62)
lib/.libs/libmusdk_la-list.o: error adding symbols: File in wrong format

Please help