Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-29 Thread Chen Gang
On 06/27/2014 06:12 PM, Chen Gang wrote: > On 06/25/2014 08:28 AM, Chen Gang wrote: >> On 06/24/2014 10:44 PM, Guenter Roeck wrote: >>> On 06/24/2014 06:24 AM, Chen Gang wrote: On 06/23/2014 11:03 AM, Chen Gang wrote: > On 06/22/2014 11:02 PM, Guenter Roeck wrote: >> On 06/22/2014

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-29 Thread Chen Gang
On 06/27/2014 06:12 PM, Chen Gang wrote: On 06/25/2014 08:28 AM, Chen Gang wrote: On 06/24/2014 10:44 PM, Guenter Roeck wrote: On 06/24/2014 06:24 AM, Chen Gang wrote: On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-27 Thread Chen Gang
On 06/25/2014 08:28 AM, Chen Gang wrote: > On 06/24/2014 10:44 PM, Guenter Roeck wrote: >> On 06/24/2014 06:24 AM, Chen Gang wrote: >>> On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: > On 06/22/2014 07:53 AM, Guenter Roeck wrote: >> I did that,

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-27 Thread Chen Gang
On 06/25/2014 08:28 AM, Chen Gang wrote: On 06/24/2014 10:44 PM, Guenter Roeck wrote: On 06/24/2014 06:24 AM, Chen Gang wrote: On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck wrote: I did that, and managed to build

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-24 Thread Chen Gang
On 06/24/2014 10:44 PM, Guenter Roeck wrote: > On 06/24/2014 06:24 AM, Chen Gang wrote: >> On 06/23/2014 11:03 AM, Chen Gang wrote: >>> On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck wrote: > I did that, and managed to build gcc. > > However,

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-24 Thread Guenter Roeck
On 06/24/2014 06:24 AM, Chen Gang wrote: On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck wrote: I did that, and managed to build gcc. However, when trying to compile score defconfig, I get internal compiler errors in

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-24 Thread Chen Gang
On 06/23/2014 11:03 AM, Chen Gang wrote: > On 06/22/2014 11:02 PM, Guenter Roeck wrote: >> On 06/22/2014 07:53 AM, Guenter Roeck wrote: >>> I did that, and managed to build gcc. >>> >>> However, when trying to compile score defconfig, I get internal >>> compiler errors in cc1 >>> when compiling

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-24 Thread Chen Gang
On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck wrote: I did that, and managed to build gcc. However, when trying to compile score defconfig, I get internal compiler errors in cc1 when compiling

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-24 Thread Guenter Roeck
On 06/24/2014 06:24 AM, Chen Gang wrote: On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck wrote: I did that, and managed to build gcc. However, when trying to compile score defconfig, I get internal compiler errors in

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-24 Thread Chen Gang
On 06/24/2014 10:44 PM, Guenter Roeck wrote: On 06/24/2014 06:24 AM, Chen Gang wrote: On 06/23/2014 11:03 AM, Chen Gang wrote: On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck wrote: I did that, and managed to build gcc. However, when trying to compile

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-23 Thread Chen Gang
On 06/23/2014 05:38 PM, David Rientjes wrote: > On Sun, 22 Jun 2014, Chen Gang wrote: > >> diff --git a/arch/score/include/uapi/asm/ptrace.h >> b/arch/score/include/uapi/asm/ptrace.h >> index f59771a..7a0ead9 100644 >> --- a/arch/score/include/uapi/asm/ptrace.h >> +++

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-23 Thread David Rientjes
On Sun, 22 Jun 2014, Chen Gang wrote: > diff --git a/arch/score/include/uapi/asm/ptrace.h > b/arch/score/include/uapi/asm/ptrace.h > index f59771a..7a0ead9 100644 > --- a/arch/score/include/uapi/asm/ptrace.h > +++ b/arch/score/include/uapi/asm/ptrace.h > @@ -4,16 +4,16 @@ > #define

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-23 Thread David Rientjes
On Sun, 22 Jun 2014, Chen Gang wrote: diff --git a/arch/score/include/uapi/asm/ptrace.h b/arch/score/include/uapi/asm/ptrace.h index f59771a..7a0ead9 100644 --- a/arch/score/include/uapi/asm/ptrace.h +++ b/arch/score/include/uapi/asm/ptrace.h @@ -4,16 +4,16 @@ #define PTRACE_GETREGS

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-23 Thread Chen Gang
On 06/23/2014 05:38 PM, David Rientjes wrote: On Sun, 22 Jun 2014, Chen Gang wrote: diff --git a/arch/score/include/uapi/asm/ptrace.h b/arch/score/include/uapi/asm/ptrace.h index f59771a..7a0ead9 100644 --- a/arch/score/include/uapi/asm/ptrace.h +++ b/arch/score/include/uapi/asm/ptrace.h

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/23/2014 11:10 AM, Lennox Wu wrote: > Yes, it's the reason we still thank Chen's checking. > Arbitrary configurations except the default configure are not > guaranteed to pass compiling. > To discover combinations which doesn't make sense might weast Chen's time. > It does not waste my time

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Sorry for the typo . To discover combinations which doesn't make sense might waste Chen's time. 2014-06-23 11:07 GMT+08:00 Chen Gang : > On 06/23/2014 12:28 AM, Guenter Roeck wrote: >> On 06/22/2014 01:09 AM, Lennox Wu wrote: >>> Hi Chen, >>> Do you find other modules except device

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Yes, it's the reason we still thank Chen's checking. Arbitrary configurations except the default configure are not guaranteed to pass compiling. To discover combinations which doesn't make sense might weast Chen's time. Best, Lennox 2014-06-23 0:28 GMT+08:00 Guenter Roeck : > On 06/22/2014 01:09

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/23/2014 12:28 AM, Guenter Roeck wrote: > On 06/22/2014 01:09 AM, Lennox Wu wrote: >> Hi Chen, >> Do you find other modules except device modules cause issues of >> compiling? >> The applications of Score are limited. Acutally, some errors never occur >> in the limited applications, for

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/22/2014 11:02 PM, Guenter Roeck wrote: > On 06/22/2014 07:53 AM, Guenter Roeck wrote: >> I did that, and managed to build gcc. >> >> However, when trying to compile score defconfig, I get internal >> compiler errors in cc1 >> when compiling drivers/tty/tty_mutex.o and block/elevator.o. >> >>

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Guenter Roeck
On 06/22/2014 01:09 AM, Lennox Wu wrote: Hi Chen, Do you find other modules except device modules cause issues of compiling? The applications of Score are limited. Acutally, some errors never occur in the limited applications, for example, the conbination consists of Score and the timer of

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Guenter Roeck
On 06/22/2014 07:53 AM, Guenter Roeck wrote: On 06/21/2014 10:33 PM, Chen Gang wrote: [ ... ] Any idea where to find a cross-compile toolchain for this architecture ? I use latest source code of gcc and binutils with git. related source code:

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Guenter Roeck
On 06/21/2014 10:33 PM, Chen Gang wrote: [ ... ] Any idea where to find a cross-compile toolchain for this architecture ? I use latest source code of gcc and binutils with git. related source code: git://sourceware.org/git/binutils-gdb.git git://gcc.gnu.org/git/gcc.git

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Hi Chen, Do you find other modules except device modules cause issues of compiling? The applications of Score are limited. Acutally, some errors never occur in the limited applications, for example, the conbination consists of Score and the timer of SuperH. I'm not sure we should handle this kind

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Hi Chen, Do you find other modules except device modules cause issues of compiling? The applications of Score are limited. Acutally, some errors never occur in the limited applications, for example, the conbination consists of Score and the timer of SuperH. I'm not sure we should handle this kind

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Guenter Roeck
On 06/21/2014 10:33 PM, Chen Gang wrote: [ ... ] Any idea where to find a cross-compile toolchain for this architecture ? I use latest source code of gcc and binutils with git. related source code: git://sourceware.org/git/binutils-gdb.git git://gcc.gnu.org/git/gcc.git

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Guenter Roeck
On 06/22/2014 07:53 AM, Guenter Roeck wrote: On 06/21/2014 10:33 PM, Chen Gang wrote: [ ... ] Any idea where to find a cross-compile toolchain for this architecture ? I use latest source code of gcc and binutils with git. related source code:

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Guenter Roeck
On 06/22/2014 01:09 AM, Lennox Wu wrote: Hi Chen, Do you find other modules except device modules cause issues of compiling? The applications of Score are limited. Acutally, some errors never occur in the limited applications, for example, the conbination consists of Score and the timer of

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/22/2014 11:02 PM, Guenter Roeck wrote: On 06/22/2014 07:53 AM, Guenter Roeck wrote: I did that, and managed to build gcc. However, when trying to compile score defconfig, I get internal compiler errors in cc1 when compiling drivers/tty/tty_mutex.o and block/elevator.o. CC

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/23/2014 12:28 AM, Guenter Roeck wrote: On 06/22/2014 01:09 AM, Lennox Wu wrote: Hi Chen, Do you find other modules except device modules cause issues of compiling? The applications of Score are limited. Acutally, some errors never occur in the limited applications, for example, the

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Yes, it's the reason we still thank Chen's checking. Arbitrary configurations except the default configure are not guaranteed to pass compiling. To discover combinations which doesn't make sense might weast Chen's time. Best, Lennox 2014-06-23 0:28 GMT+08:00 Guenter Roeck li...@roeck-us.net: On

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Lennox Wu
Sorry for the typo . To discover combinations which doesn't make sense might waste Chen's time. 2014-06-23 11:07 GMT+08:00 Chen Gang gang.chen.5...@gmail.com: On 06/23/2014 12:28 AM, Guenter Roeck wrote: On 06/22/2014 01:09 AM, Lennox Wu wrote: Hi Chen, Do you find other modules

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-22 Thread Chen Gang
On 06/23/2014 11:10 AM, Lennox Wu wrote: Yes, it's the reason we still thank Chen's checking. Arbitrary configurations except the default configure are not guaranteed to pass compiling. To discover combinations which doesn't make sense might weast Chen's time. It does not waste my time

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-21 Thread Chen Gang
On 06/22/2014 01:16 PM, Guenter Roeck wrote: > On 06/21/2014 09:48 PM, Chen Gang wrote: >> 'COUNTER' and other same kind macros are too common to use, and easy to >> get conflict with other modules. So add prefix for them. >> >> The related warning (allmodconfig with score): >> >> CC [M]

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-21 Thread Guenter Roeck
On 06/21/2014 09:48 PM, Chen Gang wrote: 'COUNTER' and other same kind macros are too common to use, and easy to get conflict with other modules. So add prefix for them. The related warning (allmodconfig with score): CC [M] drivers/md/raid1.o In file included from

[PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-21 Thread Chen Gang
'COUNTER' and other same kind macros are too common to use, and easy to get conflict with other modules. So add prefix for them. The related warning (allmodconfig with score): CC [M] drivers/md/raid1.o In file included from drivers/md/raid1.c:42:0: drivers/md/bitmap.h:93:0: warning:

[PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-21 Thread Chen Gang
'COUNTER' and other same kind macros are too common to use, and easy to get conflict with other modules. So add prefix for them. The related warning (allmodconfig with score): CC [M] drivers/md/raid1.o In file included from drivers/md/raid1.c:42:0: drivers/md/bitmap.h:93:0: warning:

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-21 Thread Guenter Roeck
On 06/21/2014 09:48 PM, Chen Gang wrote: 'COUNTER' and other same kind macros are too common to use, and easy to get conflict with other modules. So add prefix for them. The related warning (allmodconfig with score): CC [M] drivers/md/raid1.o In file included from

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-21 Thread Chen Gang
On 06/22/2014 01:16 PM, Guenter Roeck wrote: On 06/21/2014 09:48 PM, Chen Gang wrote: 'COUNTER' and other same kind macros are too common to use, and easy to get conflict with other modules. So add prefix for them. The related warning (allmodconfig with score): CC [M]