[PATCH] unlock patched C gccs

2020-12-14 Thread sylvain . bertrand
From: Sylvain BERTRAND unlock the usage of patched gccs with proper warnings and fix the blocking usage of c11 _Generic by using builtins available on much more C and CXX gccs Signed-off-by: Sylvain BERTRAND --- tested on mainline 2c85ebc57b3e1817b6ce1a6b703928e113a90442 building a

Re: [PATCH] fix bash-isms in arch/x86/entry/syscalls/syscalltbl.sh

2016-10-27 Thread sylvain . bertrand
On Thu, Sep 29, 2016 at 04:22:34PM +, sylvain.bertr...@gmail.com wrote: > Fix the bash-isms in the x86 syscall table generator shell script. What's up with this patch? regards, -- Sylvain

[PATCH] fix bash-isms in arch/x86/entry/syscalls/syscalltbl.sh

2016-09-29 Thread sylvain . bertrand
Fix the bash-isms in the x86 syscall table generator shell script. Signed-off-by: Sylvain BERTRAND --- diff --git a/arch/x86/entry/syscalls/syscalltbl.sh b/arch/x86/entry/syscalls/syscalltbl.sh index cd3d301..751d1f9 100644 --- a/arch/x86/entry/syscalls/syscalltbl.sh +++ b/arch/x86/entry

Re: [PATCH] x86: Fix mkcapflags.sh bash-ism again

2015-05-09 Thread sylvain . bertrand
ected > > See: > http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05 > > Cc: Ingo Molnar > Signed-off-by: Sylvain BERTRAND > --- > Forgot that fix: > --- a/arch/x86/kernel/cpu/mkcapflags.sh > +++ b/arch/x86/kernel/cpu/mkcapflags.sh

[PATCH v2] scripts: fix link-vmlinux.sh bash-ism

2015-05-06 Thread sylvain . bertrand
/95399/utilities/trap.html Cc: Ingo Molnar Signed-off-by: Sylvain BERTRAND --- --- a/scripts/link-vmlinux.sh 2014-12-29 15:10:29.436431249 + +++ b/scripts/link-vmlinux.sh 2014-12-29 16:23:06.010853608 + @@ -111,7 +111,6 @@ } # Delete output files in case of error -trap cleanup SIG

Re: [PATCH] scripts: fix link-vmlinux.sh bash-ism

2015-05-06 Thread sylvain . bertrand
On Mon, Apr 27, 2015 at 03:25:25PM +, sylvain.bertr...@gmail.com wrote: > On Tue, Mar 17, 2015 at 09:59:13PM +0100, Michal Marek wrote: > > Sorry if I wasn't clear. The changelog should contain the actual error > > message or description of wrong behavior when ran under dash. > > While buildin

Re: [PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags

2015-04-29 Thread sylvain . bertrand
Did a little bit of investigation and got in touch with ncurses developer. The pkg-config file in the official ncurses distribution has been broken for years (I'm the second one to report this bug since 2011). acs_map symbol declaration misled me. Then, yes, do disregard my patch. Since the fix

Re: [PATCH] x86: Fix mkcapflags.sh bash-ism again

2015-04-27 Thread sylvain . bertrand
ngo Molnar Signed-off-by: Sylvain BERTRAND --- Forgot that fix: --- a/arch/x86/kernel/cpu/mkcapflags.sh +++ b/arch/x86/kernel/cpu/mkcapflags.sh @@ -6,7 +6,7 @@ IN=$1 OUT=$2 -function dump_array() +dump_array() { ARRAY=$1 SIZE=$2 -- To unsubscribe from this list: send the line &q

Re: [PATCH] scripts: fix link-vmlinux.sh bash-ism

2015-04-27 Thread sylvain . bertrand
On Tue, Mar 17, 2015 at 09:59:13PM +0100, Michal Marek wrote: > Sorry if I wasn't clear. The changelog should contain the actual error > message or description of wrong behavior when ran under dash. While building linux with dash shell: LINKvmlinux trap: SIGHUP: bad trap /src/linux-4.0/Makef

Re: [PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags

2015-04-27 Thread sylvain . bertrand
fo linking would be required only in some special features are used, which seems to be the case with lxdialog. Please correct me if I'm wrong. regards, -- Sylvain BERTRAND -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

[PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags

2015-04-25 Thread sylvain . bertrand
HOSTLD scripts/kconfig/mconf /bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined reference to symbol 'acs_map' Add tinfo library to lxdiablog linking flags, if it exists. Signed-off-by: Sylvain BERTRAND --- --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfi

Re: [PATCH] scripts: fix link-vmlinux.sh bash-ism

2015-03-03 Thread Sylvain BERTRAND
On Fri, Jan 02, 2015 at 04:55:42PM +0100, Michal Marek wrote: > On 2014-12-29 17:34, Sylvain BERTRAND wrote: > > Chocked while compiling linux with dash shell instead of bash shell. > > See: > > http://pubs.opengroup.org/onlinepubs/95399/utilities/trap.html > >

[tip:x86/build] x86/build: Fix mkcapflags.sh bash-ism

2015-02-18 Thread tip-bot for Sylvain BERTRAND
Commit-ID: e85bd9892c4f10fd20fc575e62327efb7c77015d Gitweb: http://git.kernel.org/tip/e85bd9892c4f10fd20fc575e62327efb7c77015d Author: Sylvain BERTRAND AuthorDate: Mon, 29 Dec 2014 16:43:24 +0100 Committer: Ingo Molnar CommitDate: Thu, 19 Feb 2015 02:21:00 +0100 x86/build: Fix

[PATCH v2 2/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-31 Thread Sylvain BERTRAND
Fix makefile. Signed-off-by: Sylvain BERTRAND --- --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -77,7 +77,7 @@ suffix-$(CONFIG_KERNEL_LZO) := lzo suffix-$(CONFIG_KERNEL_LZ4):= lz4 RUN_SIZE = $(shell $(OBJDUMP) -h vmlinux | \ -perl

[PATCH v2 1/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-31 Thread Sylvain BERTRAND
Add the shell script. Signed-off-by: Sylvain BERTRAND --- --- arch/x86/tools/calc_run_size.sh +++ arch/x86/tools/calc_run_size.sh @@ -0,0 +1,46 @@ +#!/bin/sh +# +# Calculate the amount of space needed to run the kernel, including room for +# the .bss and .brk sections. +# +# Usage: +# objdump

[PATCH v2 0/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-31 Thread Sylvain BERTRAND
Choked while compiling linux on a lightweight system, i.e. freed from perl. New script tested with dash shell and bash shell. V2: - chocked->choked typo - early conversion from hexadecimal - error messages on stderr -- Sylvain -- To unsubscribe from this list: send the l

[PATCH v2 3/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-31 Thread Sylvain BERTRAND
Remove perl script. Signed-off-by: Sylvain BERTRAND --- --- a/arch/x86/tools/calc_run_size.pl +++ b/arch/x86/tools/calc_run_size.pl @@ -1,39 +0,0 @@ -#!/usr/bin/perl -# -# Calculate the amount of space needed to run the kernel, including room for -# the .bss and .brk sections. -# -# Usage

Re: [PATCH 0/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-30 Thread Sylvain BERTRAND
On Tue, Dec 30, 2014 at 07:58:39AM -0800, Jeremiah Mahler wrote: > Did you mean choked or checked? choked, I missed the 'c', my bad. regards, -- Sylvain BERTRAND -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to ma

[PATCH 3/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-30 Thread Sylvain BERTRAND
Remove perl script. Signed-off-by: Sylvain BERTRAND --- --- a/arch/x86/tools/calc_run_size.pl +++ b/arch/x86/tools/calc_run_size.pl @@ -1,39 +0,0 @@ -#!/usr/bin/perl -# -# Calculate the amount of space needed to run the kernel, including room for -# the .bss and .brk sections. -# -# Usage

[PATCH 0/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-30 Thread Sylvain BERTRAND
Chocked while compiling linux on a lightweight system, i.e. freed from perl. New script tested with dash shell and bash shell. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel

[PATCH 2/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-30 Thread Sylvain BERTRAND
Fix makefile. Signed-off-by: Sylvain BERTRAND --- --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -77,7 +77,7 @@ suffix-$(CONFIG_KERNEL_LZO) := lzo suffix-$(CONFIG_KERNEL_LZ4):= lz4 RUN_SIZE = $(shell $(OBJDUMP) -h vmlinux | \ -perl

[PATCH 1/3] x86: tools: shell-ify calc_run_size perl-ism

2014-12-30 Thread Sylvain BERTRAND
Add the shell script. Signed-off-by: Sylvain BERTRAND --- --- a/arch/x86/tools/calc_run_size.sh +++ b/arch/x86/tools/calc_run_size.sh @@ -0,0 +1,42 @@ +#!/bin/sh +# +# Calculate the amount of space needed to run the kernel, including room for +# the .bss and .brk sections. +# +# Usage

[PATCH] scripts: fix link-vmlinux.sh bash-ism

2014-12-29 Thread Sylvain BERTRAND
Chocked while compiling linux with dash shell instead of bash shell. See: http://pubs.opengroup.org/onlinepubs/95399/utilities/trap.html Cc: Ingo Molnar Signed-off-by: Sylvain BERTRAND --- --- a/scripts/link-vmlinux.sh 2014-12-29 15:10:29.436431249 + +++ b/scripts/link-vmlinux.sh

[PATCH] x86: Fix mkcapflags.sh bash-ism again

2014-12-29 Thread Sylvain BERTRAND
Chocked while compiling linux with dash shell instead of bash shell. See: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05 Cc: Ingo Molnar Signed-off-by: Sylvain BERTRAND --- Forgot that one. More to come. --- a/arch/x86/kernel/cpu/mkcapflags.sh +++ b/arch

[tip:x86/urgent] x86: Fix mkcapflags.sh bash-ism

2014-12-23 Thread tip-bot for Sylvain BERTRAND
Commit-ID: ea174f4c4f6135e30a4e1e8c4511980338238b16 Gitweb: http://git.kernel.org/tip/ea174f4c4f6135e30a4e1e8c4511980338238b16 Author: Sylvain BERTRAND AuthorDate: Tue, 23 Dec 2014 13:39:12 +0100 Committer: Ingo Molnar CommitDate: Tue, 23 Dec 2014 15:34:57 +0100 x86: Fix mkcapflags.sh

[PATCH] x86/kernel/cpu/mkcapflags.sh bash-ism

2014-12-23 Thread Sylvain BERTRAND
Chocked while compiling linux with dash shell instead of bash shell. See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html Cc: Ingo Molnar Signed-off-by: Sylvain BERTRAND --- --- a/arch/x86/kernel/cpu/mkcapflags.sh +++ b/arch/x86/kernel/cpu/mkcapflags.sh @@ -28,7 +28,7