All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] Alias _obstack_free to obstack_free to build binutils with uclibc
@ 2016-06-17 10:02 Dmitriy Falko
  2016-06-17 10:45 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitriy Falko @ 2016-06-17 10:02 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Dmitriy Falko <d.falko@partner.samsung.com>
---
 meta/recipes-core/uclibc/uclibc-git.inc            |  1 +
 ...Alias-_obstack_free-to-fix-binutils-build.patch | 31 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-Alias-_obstack_free-to-fix-binutils-build.patch

diff --git a/meta/recipes-core/uclibc/uclibc-git.inc b/meta/recipes-core/uclibc/uclibc-git.inc
index a56fa7c..ea1d37d 100644
--- a/meta/recipes-core/uclibc/uclibc-git.inc
+++ b/meta/recipes-core/uclibc/uclibc-git.inc
@@ -6,6 +6,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/uclibc-git:"
 
 SRC_URI = "git://uclibc-ng.org/git/uclibc-ng \
         file://0001-Disable-lrount_tes-function.patch \
+        file://0001-Alias-_obstack_free-to-fix-binutils-build.patch \
         file://uClibc.machine \
         file://uClibc.distro \
         file://obstack.cfg \
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-Alias-_obstack_free-to-fix-binutils-build.patch b/meta/recipes-core/uclibc/uclibc-git/0001-Alias-_obstack_free-to-fix-binutils-build.patch
new file mode 100644
index 0000000..50425af
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git/0001-Alias-_obstack_free-to-fix-binutils-build.patch
@@ -0,0 +1,31 @@
+From f795fc77a2cf90ce77707faddc93a51f736a4553 Mon Sep 17 00:00:00 2001
+From: Dmitriy Falko <d.falko@partner.samsung.com>
+Date: Fri, 17 Jun 2016 11:31:02 +0300
+Subject: [PATCH] Alias _obstack_free to fix binutils build
+
+Signed-off-by: Dmitriy Falko <d.falko@partner.samsung.com>
+---
+ libc/misc/gnu/obstack.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
+index 38cfd83..2689263 100644
+--- a/libc/misc/gnu/obstack.c
++++ b/libc/misc/gnu/obstack.c
+@@ -385,11 +385,11 @@ obstack_free (struct obstack *h, void *obj)
+     abort ();
+ }
+ 
+-# if 0
++
+ /* Older versions of libc used a function _obstack_free intended to be
+    called by non-GCC compilers.  */
+ strong_alias (obstack_free, _obstack_free)
+-# endif
++
+ 
+ int
+ _obstack_memory_used (struct obstack *h)
+-- 
+2.7.4
+
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] Alias _obstack_free to obstack_free to build binutils with uclibc
  2016-06-17 10:02 [meta-oe][PATCH] Alias _obstack_free to obstack_free to build binutils with uclibc Dmitriy Falko
@ 2016-06-17 10:45 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2016-06-17 10:45 UTC (permalink / raw)
  To: Dmitriy Falko; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

On 17 June 2016 at 11:02, Dmitriy Falko <d.falko@partner.samsung.com> wrote:

> Signed-off-by: Dmitriy Falko <d.falko@partner.samsung.com>
>

Please add a full explanation to the commit message and patch header to
explain what this patch does and why.  The commit message should reference
the bug number [YOCTO #9781], and the patch also needs an Upstream Status
tag.

Ross

[-- Attachment #2: Type: text/html, Size: 852 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-17 10:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17 10:02 [meta-oe][PATCH] Alias _obstack_free to obstack_free to build binutils with uclibc Dmitriy Falko
2016-06-17 10:45 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.