aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libcap
AgeCommit message (Collapse)Author
2010-01-22libcap: BUILD_CFLAGS can need the libcap/include tooChris Larson
Signed-off-by: Chris Larson <clarson@mvista.com>
2010-01-21libcap: Append `-fPIC` to `CFLAGS` to fix compilation on newer binutils/ld.Paul Menzel
Doing `bitbake libcap` with PREFERRED_VERSION_binutils = "2.20" PREFERRED_VERSION_binutils-cross = "2.20" PREFERRED_VERSION_binutils-cross-sdk = "2.20" PREFERRED_VERSION_gcc = "4.4.2" PREFERRED_VERSION_gcc-cross = "4.4.2" PREFERRED_VERSION_gcc-cross-sdk = "4.4.2" PREFERRED_VERSION_gcc-cross-initial = "4.4.2" PREFERRED_VERSION_gcc-cross-intermediate = "4.4.2" in `local.conf` made `do_compile` error out with the following message [1]. arm-angstrom-linux-gnueabi-ld -soname libcap.so.1 -x -shared -o libcap.so.1.10 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o arm-angstrom-linux-gnueabi-ld: cap_text.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC Khem Raj explained it the following way [2]. Am Mittwoch, den 13.01.2010, 02:27 -0800 schrieb Khem Raj: > > I also get the same error which I did not get before with GCC 4.1.1. > > Older versions of binutils/ld can not detect MOVT/MOVW relocations which > are absolute and cant be used in PIC code. > hence even if the error was there it remained latent. Therefore just append `-fPIC` to the CFLAGS and bump the PR variable. The strange thing is still, that other distributions seem to have patched libcap to build with `-fPIC` long ago [3–5]. [1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/016142.html [2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/016211.html [3] http://www.linuxfromscratch.org/patches/downloads/libcap/libcap-1.10-fedora_fixes-1.patch [4] http://frugalware.org/pipermail/frugalware-darcs/2005-May/000824.html [5] http://cvs.fedoraproject.org/viewvc/rpms/libcap/F-7/libcap-1.10-fPIC.patch?revision=1.1&view=markup Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>