[OE-core] [PATCH] Alias _obstack_free to fix binutils build

Dmitrii Falko d.falko at partner.samsung.com
Fri Jun 17 10:22:06 UTC 2016


Hi Ross,

I already re-send this patch(http://patches.openembedded.org/patch/125115/)

More info about this issue i wrote here: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9781

17.06.2016 13:15, Burton, Ross пишет:
> Hi Dmitry,
>
> Can you re-send this as a patch against oe-core itself instead of 
> (presumably) binutils, explaining why it breaks for you and why this 
> is the correct fix?
>
> Thanks,
> Ross
>
> On 17 June 2016 at 10:33, Dmitriy Falko <d.falko at partner.samsung.com 
> <mailto:d.falko at partner.samsung.com>> wrote:
>
>     Signed-off-by: Dmitriy Falko <d.falko at partner.samsung.com
>     <mailto:d.falko at 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
>
>     --
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core at lists.openembedded.org
>     <mailto:Openembedded-core at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>

-- 
Best regards,

Falko Dmitrii

Leading Software Engineer

Samsung R&D Institute Rus

Tel. 8(495)797-2500 Ext. 3839; mob. +7(999)528-26-02

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160617/cbe92d3b/attachment-0002.html>


More information about the Openembedded-core mailing list