From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-000f0801.pphosted.com (mx0a-000f0801.pphosted.com [67.231.144.122]) by dpdk.org (Postfix) with ESMTP id A7676C346 for ; Tue, 7 Apr 2015 07:12:32 +0200 (CEST) Received: from pps.filterd (m0000542.ppops.net [127.0.0.1]) by mx0a-000f0801.pphosted.com (8.14.7/8.14.7) with SMTP id t371QiIY006747 for ; Mon, 6 Apr 2015 22:12:31 -0700 Received: from hq1wp-exchub02.corp.brocade.com ([144.49.131.13]) by mx0a-000f0801.pphosted.com with ESMTP id 1tkgx7an8c-3 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 06 Apr 2015 22:12:31 -0700 Received: from HQ1WP-EXMB12.corp.brocade.com (10.70.20.186) by hq1wp-exchub02.corp.brocade.com (10.70.38.99) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 6 Apr 2015 22:12:30 -0700 Received: from HQ1WP-EXMB12.corp.brocade.com (10.70.20.186) by HQ1WP-EXMB12.corp.brocade.com (10.70.20.186) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Mon, 6 Apr 2015 22:12:30 -0700 Received: from HQ1WP-EXMB12.corp.brocade.com ([fe80::b5c6:be43:7d72:632d]) by HQ1WP-EXMB12.corp.brocade.com ([fe80::b5c6:be43:7d72:632d%20]) with mapi id 15.00.1044.021; Mon, 6 Apr 2015 22:12:30 -0700 From: Shyam Sundar Govindaraj To: "dev@dpdk.org" Thread-Topic: CROSS_COMPILATION with custom toolchain Thread-Index: AdBw684hyl/Z3NKZQ/2vhFF4xhXj6Q== Date: Tue, 7 Apr 2015 05:12:29 +0000 Message-ID: <292450884205443281033c2758bda007@HQ1WP-EXMB12.corp.brocade.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.16.181.50] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68, 1.0.33, 0.0.0000 definitions=2015-03-05_07:2015-03-05,2015-03-05,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1503050223 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] CROSS_COMPILATION with custom toolchain X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 05:12:33 -0000 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