diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-13 04:47:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-16 12:12:18 +0000 |
commit | 63bdadccb662fcae52ec9ddb7f6e43b454dd1d1c (patch) | |
tree | 4f2b9729e6000c6dd1bd4eaa9ee967c928302988 /meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch | |
parent | 0b5cdddfc010f3641a13c284ad9ed61401055e3a (diff) | |
download | poky-63bdadccb662fcae52ec9ddb7f6e43b454dd1d1c.tar.gz |
uclibc: Switch to using uclibc-ng
uclibc-ng is a maintained fork of uclibc project. Lets switch to using that
add patches to fix memory leak in canonicalize_file_name-memory
(From OE-Core rev: 6a4996395f56836195f5ba10a554ba04eb304c13)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch b/meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch deleted file mode 100644 index ad9b246ab5..0000000000 --- a/meta/recipes-core/uclibc/uclibc-git/0005-Always-use-O2-for-compiling-fork.c.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 883debc22e30a947fe5858cc07ee5aebd3d07a2e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 16 Aug 2015 20:59:56 -0700 | ||
4 | Subject: [PATCH 5/7] Always use -O2 for compiling fork.c | ||
5 | |||
6 | When compiling in thumb mode for arm with -Os gcc gives up since it can | ||
7 | not find registers to spill. So we use -O2 option for compiling fork.c | ||
8 | It may be addressable in gcc. | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | Upstream-Status: Pending | ||
13 | |||
14 | libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | 6 ++++++ | ||
15 | 1 file changed, 6 insertions(+) | ||
16 | |||
17 | diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | ||
18 | index 0ea0b29..0767e9c 100644 | ||
19 | --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | ||
20 | +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | ||
21 | @@ -21,3 +21,9 @@ ASFLAGS-pt-vfork.S = -marm | ||
22 | CFLAGS-OMIT-pt-vfork.S = -mthumb | ||
23 | ASFLAGS-vfork.S = -marm | ||
24 | CFLAGS-OMIT-vfork.S = -mthumb | ||
25 | + | ||
26 | +# For arm fork.c does not compile with -Os when compiling | ||
27 | +# in thumb1 mode | ||
28 | +ifeq ($(COMPILE_IN_THUMB_MODE),y) | ||
29 | +CFLAGS-fork.c = -O2 | ||
30 | +endif | ||
31 | -- | ||
32 | 2.1.4 | ||
33 | |||