2010-01-04 22:13:53

by Luca Tettamanti

[permalink] [raw]
Subject: [PATCH/resend] Document awk requirements

Gnu awk is required for generating generating
arch/x86/lib/inat-tables.c:

GEN arch/x86/lib/inat-tables.c
Error: Your awk doesn't support charactor-class.

mawk doesn't work anymore.

Signed-off-by: Luca Tettamanti <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
---
Hum, who is in charge of the documentation?
Masami can you push it?

Documentation/Changes | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/Changes b/Documentation/Changes
index f08b313..abec6f2 100644
--- a/Documentation/Changes
+++ b/Documentation/Changes
@@ -50,6 +50,7 @@ o udev 081 # udevinfo -V
o grub 0.93 # grub --version
o mcelog 0.6
o iptables 1.4.1 # iptables -V
+o Gnu awk 3.1.5 # awk --version


Kernel compilation


2010-01-04 22:32:11

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH/resend] Document awk requirements

On Mon, 4 Jan 2010 23:13:45 +0100 Luca Tettamanti wrote:

> Gnu awk is required for generating generating
> arch/x86/lib/inat-tables.c:
>
> GEN arch/x86/lib/inat-tables.c
> Error: Your awk doesn't support charactor-class.
>
> mawk doesn't work anymore.

Hi,
Did you try this patch?

Subject: [tip:x86/urgent] x86: Don't use POSIX character classes in gen-insn-attr-x86.awk


> Signed-off-by: Luca Tettamanti <[email protected]>
> Acked-by: Masami Hiramatsu <[email protected]>
> ---
> Hum, who is in charge of the documentation?

It depends on which documentation. I am for some of it.
GregKH for some of it. Other people for other parts of it.

But for this one, I could merge it, but I think that it's not needed
due to the patch that I mentioned above. If your patch is still
needed, Andrew or I can merge it.



> Masami can you push it?
>
> Documentation/Changes | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/Changes b/Documentation/Changes
> index f08b313..abec6f2 100644
> --- a/Documentation/Changes
> +++ b/Documentation/Changes
> @@ -50,6 +50,7 @@ o udev 081 # udevinfo -V
> o grub 0.93 # grub --version
> o mcelog 0.6
> o iptables 1.4.1 # iptables -V
> +o Gnu awk 3.1.5 # awk --version
>
>
> Kernel compilation
> --


---
~Randy

2010-01-04 22:40:58

by Masami Hiramatsu

[permalink] [raw]
Subject: Re: [PATCH/resend] Document awk requirements

Hi Luca,

As Randy said, gen-insn-attr-x86.awk doesn't need gawk anymore,

> Subject: [tip:x86/urgent] x86: Don't use POSIX character classes in gen-insn-attr-x86.awk

because above patch removes POSIX character classes.
So I think we don't need to update Documentation/Changes.

Thank you,


Luca Tettamanti wrote:
> Gnu awk is required for generating generating
> arch/x86/lib/inat-tables.c:
>
> GEN arch/x86/lib/inat-tables.c
> Error: Your awk doesn't support charactor-class.
>
> mawk doesn't work anymore.
>
> Signed-off-by: Luca Tettamanti <[email protected]>
> Acked-by: Masami Hiramatsu <[email protected]>
> ---
> Hum, who is in charge of the documentation?
> Masami can you push it?
>
> Documentation/Changes | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/Changes b/Documentation/Changes
> index f08b313..abec6f2 100644
> --- a/Documentation/Changes
> +++ b/Documentation/Changes
> @@ -50,6 +50,7 @@ o udev 081 # udevinfo -V
> o grub 0.93 # grub --version
> o mcelog 0.6
> o iptables 1.4.1 # iptables -V
> +o Gnu awk 3.1.5 # awk --version
>
>
> Kernel compilation
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division

e-mail: [email protected]

2010-01-05 21:34:15

by Luca Tettamanti

[permalink] [raw]
Subject: Re: [PATCH/resend] Document awk requirements

On Mon, Jan 4, 2010 at 11:32 PM, Randy Dunlap <[email protected]> wrote:
> On Mon, 4 Jan 2010 23:13:45 +0100 Luca Tettamanti wrote:
>
>> Gnu awk is required for generating generating
>> arch/x86/lib/inat-tables.c:
>>
>>  GEN     arch/x86/lib/inat-tables.c
>>  Error: Your awk doesn't support charactor-class.
>>
>> mawk doesn't work anymore.
>
> Hi,
> Did you try this patch?
>
> Subject: [tip:x86/urgent] x86: Don't use POSIX character classes in gen-insn-attr-x86.awk

Ah, yes. mawk is once again able to build inat-tables.c. The patch can
be dropped.

thanks,
Luca