DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shyam Sundar Govindaraj <ssgovind@Brocade.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] CROSS_COMPILATION with custom toolchain
Date: Tue, 7 Apr 2015 05:12:29 +0000	[thread overview]
Message-ID: <292450884205443281033c2758bda007@HQ1WP-EXMB12.corp.brocade.com> (raw)

Hi

  I am trying to build DPDK-2.0 with custom toolchain (binutils 2.24 , gcc 4.8.2 , glibc 2.19, linux-3.13-header). With CROSS variable properly set , even though DPDK is picking the right gcc from toolchain ,it ends up with below error since the libraries are taken from the build system and not from toolchain.

/lib64/libc.so.6: version `GLIBC_2.14' not found (required by toolchain/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc)

Note: Build system has glibc 2.12

Can you please answer below questions and suggest me if there is any other possible way to proceed from here


1)      Is there any variable like (CROSS) available to point to the right library?    OR

2)      Is it possible to make use of sysroot available in the toolchain. If yes, how?

Thanks
Shyam

                 reply	other threads:[~2015-04-07  5:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=292450884205443281033c2758bda007@HQ1WP-EXMB12.corp.brocade.com \
    --to=ssgovind@brocade.com \
    --cc=dev@dpdk.org \
    /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).