Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1157773 > unrolled thread
| Started by | Hans-Peter Nilsson <hans-peter.nilsson@axis.com> |
|---|---|
| First post | 2015-06-03 17:30 +0200 |
| Last post | 2015-06-06 02:20 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] cris: Wire up missing syscalls Hans-Peter Nilsson <hans-peter.nilsson@axis.com> - 2015-06-03 17:30 +0200
Re: [PATCH] cris: Wire up missing syscalls Chen Gang <xili_gchen_5257@hotmail.com> - 2015-06-06 02:20 +0200
Re: [PATCH] cris: Wire up missing syscalls Chen Gang <xili_gchen_5257@hotmail.com> - 2015-06-06 02:20 +0200
| From | Hans-Peter Nilsson <hans-peter.nilsson@axis.com> |
|---|---|
| Date | 2015-06-03 17:30 +0200 |
| Subject | Re: [PATCH] cris: Wire up missing syscalls |
| Message-ID | <pxiM9-54N-1@gated-at.bofh.it> |
> From: Jesper Nilsson <jespern@axis.com> > Date: Wed, 3 Jun 2015 17:04:26 +0200 > On Wed, Jun 03, 2015 at 01:36:47PM +0200, Chen Gang wrote: > > - For v10, need we also use "sys*" instead of "_sys*"? > > No, the trick here is that v10 and v32 uses different standards > with regards to prefixing underscore. I'm hoping to fix that someday. Not exactly, but almost; please let me fill in JFTR: 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). One Might Imagine that there'd be build machinery in place in the kernel such that such a symbol prefix issue could be hidden, like a header to include and using e.g. S(symbol) in all assembly files. (Actually some time ago I thought there already was, but Jesper corrected me.) brgds, H-P -- 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/
[toc] | [next] | [standalone]
| From | Chen Gang <xili_gchen_5257@hotmail.com> |
|---|---|
| Date | 2015-06-06 02:20 +0200 |
| Message-ID | <pya09-8oF-5@gated-at.bofh.it> |
| In reply to | #1157773 |
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. 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/
[toc] | [prev] | [next] | [standalone]
| From | Chen Gang <xili_gchen_5257@hotmail.com> |
|---|---|
| Date | 2015-06-06 02:20 +0200 |
| Message-ID | <pya09-8oF-7@gated-at.bofh.it> |
| In reply to | #1157773 |
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/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web