Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752847AbbFFAPF (ORCPT ); Fri, 5 Jun 2015 20:15:05 -0400 Received: from blu004-omc1s35.hotmail.com ([65.55.116.46]:59198 "EHLO BLU004-OMC1S35.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582AbbFFAPC (ORCPT ); Fri, 5 Jun 2015 20:15:02 -0400 X-TMN: [GBCt3dAwfaRMp+5GH6SW+vL1YbZzr5IT] X-Originating-Email: [xili_gchen_5257@hotmail.com] Message-ID: Date: Sat, 6 Jun 2015 08:15:35 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Hans-Peter Nilsson , jespern@axis.com CC: linux-kernel@vger.kernel.org, linux-cris-kernel@axis.com Subject: Re: [PATCH] cris: Wire up missing syscalls References: <201506031523.t53FN6pF006352@ignucius.se.axis.com> In-Reply-To: <201506031523.t53FN6pF006352@ignucius.se.axis.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jun 2015 00:14:59.0462 (UTC) FILETIME=[D3498260:01D09FED] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1064 Lines: 28 On 6/3/15 23:23, Hans-Peter Nilsson wrote: > > Most people probably guessed correctly that this is related to > building the CRIS v10 kernel with the *-elf toolchain (which has > the convention that symbols are prefixed with underscores for > cris-*-elf and crisv32-*-elf) while (IIUC) the CRIS v32 kernel > is built with the *-linux-gnu toolchain (which does not have any > symbol prefix for cris-*-linux-gnu crisv32-*-linux-gnu). > What you said above is helpful to me. Originally I often use *-elf for cross compiling linux kernel, it is incorrect for some archs (e.g. frv, m32r, and our cris). After use *-linux, the upstream frv toolchain can work well (for me, it is the last arch which has missing syscalls). :-) Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/