From: Martin Jansa <martin.jansa@gmail.com>
To: Robert Yang <liezhi.yang@windriver.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 03/11] directfb: add fPIC to CFLAGS
Date: Thu, 10 Dec 2015 16:00:51 +0100 [thread overview]
Message-ID: <20151210150051.GK2246@jama> (raw)
In-Reply-To: <1449755316-17611-3-git-send-email-Martin.Jansa@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2315 bytes --]
On Thu, Dec 10, 2015 at 02:48:24PM +0100, Martin Jansa wrote:
> * fPIC is missing when building directfb-csource.o
> | arm-webos-linux-gnueabi-libtool: link: arm-webos-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/include/freetype2 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/include/libpng16 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration -O3 -g2 -ffast-math -pipe -O2 -pipe -g -feliminate-unused-debug-types -D_GNU_SOURCE -std=gnu99 -Werror-implicit-function-declaration -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o directfb-csource directfb-csource.o /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/lib/libts.so /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/mako/usr/lib/libpng16.so -lz -lm -ldl -lrt -lpthread
> | /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-webos-linux-gnueabi/gcc/arm-webos-linux-gnueabi/5.2.0/ld: error: directfb-csource.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [directfb-csource] Error 1
Please cherry-pick c075d6e514b0a4511007844baf96ad44d7513399 instead of
this one.
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta/recipes-graphics/directfb/directfb.inc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
> index 446aaea..e00b59b 100644
> --- a/meta/recipes-graphics/directfb/directfb.inc
> +++ b/meta/recipes-graphics/directfb/directfb.inc
> @@ -20,7 +20,8 @@ SRC_URI = "http://www.directfb.org/downloads/Core/DirectFB-1.7/DirectFB-${PV}.ta
>
> S = "${WORKDIR}/DirectFB-${PV}"
>
> -LDFLAGS_append =" -lts -lm"
> +LDFLAGS_append = " -lts -lm"
> +CFLAGS_append = " -fPIC"
>
> BINCONFIG = "${bindir}/directfb-config"
>
> --
> 2.6.3
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2015-12-10 14:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 13:48 [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
2015-12-10 13:48 ` [PATCH 01/11] icu: force arm mode Martin Jansa
2015-12-10 13:48 ` [PATCH 02/11] guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm Martin Jansa
2015-12-10 13:48 ` [PATCH 03/11] directfb: add fPIC to CFLAGS Martin Jansa
2015-12-10 15:00 ` Martin Jansa [this message]
2015-12-10 13:48 ` [PATCH 04/11] libunwind: fix build for qemuarm Martin Jansa
2015-12-10 13:48 ` [PATCH 05/11] gstreamer1.0-plugins-{base, good}: update PACKAGECONFIGs Martin Jansa
2015-12-10 13:48 ` [PATCH 06/11] gstreamer1.0-plugins-bad: fix dependencies for uvch264 PACKAGECONFIG Martin Jansa
2015-12-10 13:48 ` [PATCH 07/11] gstreamer1.0-plugins-good: fix PACKAGECONFIG for gudev and add one for v4l2 and libv4l2 Martin Jansa
2015-12-10 13:48 ` [PATCH 08/11] gst-plugins-bad: add PACKAGECONFIGs for voamrwbenc, voaacenc, resindvd Martin Jansa
2015-12-10 13:48 ` [PATCH 09/11] libsdl2: require GLES when building Wayland support Martin Jansa
2015-12-10 13:48 ` [PATCH 10/11] package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default Martin Jansa
2015-12-10 13:48 ` [PATCH 11/11] texinfo: don't create dependency on INHERIT variable Martin Jansa
2015-12-18 18:09 ` [PATCH][jethro][RESEND 00/11] Backports for jethro Martin Jansa
2015-12-18 18:23 ` Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151210150051.GK2246@jama \
--to=martin.jansa@gmail.com \
--cc=liezhi.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox