[meta-freescale] [meta-fsl-ppc][PATCH] skmm-ep: fix the inline function definition with gcc 5.x
Otavio Salvador
otavio.salvador at ossystems.com.br
Tue Sep 22 04:37:02 PDT 2015
On Tue, Sep 22, 2015 at 4:44 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
> There are different semantics for inline functions for gcc-5.x compared to
> previous gcc. Fix the following build error.
> | skmm.c:(.text.startup+0xfc): undefined reference to `va_to_pa'
> | skmm.c:(.text.startup+0x10c): undefined reference to `va_to_pa'
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> ---
> ...-the-inline-function-definition-with-gcc-.patch | 65 ++++++++++++++++++++++
> recipes-extended/skmm-ep/skmm-ep_git.bb | 1 +
> 2 files changed, 66 insertions(+)
> create mode 100644 recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-function-definition-with-gcc-.patch
>
> diff --git a/recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-function-definition-with-gcc-.patch b/recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-function-definition-with-gcc-.patch
> new file mode 100644
> index 0000000..ecf98b7
> --- /dev/null
> +++ b/recipes-extended/skmm-ep/skmm-ep/skmm-ep-fix-the-inline-function-definition-with-gcc-.patch
> @@ -0,0 +1,65 @@
> +From 3293321112174ff3247c0ba5c8b9ba9349e0e623 Mon Sep 17 00:00:00 2001
> +From: Zhenhua Luo <zhenhua.luo at freescale.com>
> +Date: Mon, 21 Sep 2015 20:38:52 +0800
> +Subject: [PATCH] skmm-ep: fix the inline function definition with gcc 5.x
> +
> +There are different semantics for inline functions for gcc-5.x compared to
> +previous gcc. Fix the following build error.
> +| skmm.c:(.text.startup+0xfc): undefined reference to `va_to_pa'
> +| skmm.c:(.text.startup+0x10c): undefined reference to `va_to_pa'
Upstream-Status: ??
> +Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list