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

Burton, Ross ross.burton at intel.com
Fri Jun 17 10:15:34 UTC 2016


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> wrote:

> Signed-off-by: Dmitriy Falko <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
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160617/448d942d/attachment-0002.html>


More information about the Openembedded-core mailing list