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
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
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
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
/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
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
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
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
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
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
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
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
>
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
26 matches
Mail list logo