DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Mcnamara, John" <john.mcnamara@intel.com>
To: Vasiliy Tolstov <v.tolstov@selfip.ru>, dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] failed to build latest dpdk 1.8.0 on kvm virtual machine
Date: Wed, 11 Mar 2015 14:14:19 +0000	[thread overview]
Message-ID: <B27915DBBA3421428155699D51E4CFE2ECD5B3@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <CACaajQui7Oev=ZyTuzckovUSPsnAc0Fx+dmEHNe1v1MoO_RfaA@mail.gmail.com>



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Vasiliy Tolstov
> Sent: Wednesday, March 11, 2015 1:47 PM
> To: dev
> Subject: [dpdk-dev] failed to build latest dpdk 1.8.0 on kvm virtual
> machine
> 
> I'm try to build dpdk 1.8.0
> 
> unpack sources
> sed -i 's|CONFIG_RTE_MACHINE="native"|CONFIG_RTE_MACHINE="default"|g'
> config/defconfig_x86_64-native-linuxapp-gcc
> export CFLAGS="-march=core2 -mtune=generic -pipe -O2"
> make V=1 config T=x86_64-native-linuxapp-gcc make V=1
> MACHINE_CFLAGS="${CFLAGS}"
> 

Hi,

CFLAGS for DPDK are usually set via EXTRA_CFLAGS. Try the following as a final set after the other config above:

EXTRA_CFLAGS="-march=core2 -mtune=generic -pipe -O2" MACHINE_CFLAGS=$EXTRA_CFLAGS make V=1

It compiles DPDK 1.8.0 from source on my test env.

John

  reply	other threads:[~2015-03-11 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11 13:47 Vasiliy Tolstov
2015-03-11 14:14 ` Mcnamara, John [this message]
2015-03-11 15:25   ` Vasiliy Tolstov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B27915DBBA3421428155699D51E4CFE2ECD5B3@IRSMSX103.ger.corp.intel.com \
    --to=john.mcnamara@intel.com \
    --cc=dev@dpdk.org \
    --cc=v.tolstov@selfip.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).