[OE-core] [PATCH 12/18] pkgconfig: Move patches in prep for 0.28 update

Randy MacLeod rwmacleod at gmail.com
Mon May 6 20:59:40 UTC 2013


On 13-04-24 05:37 PM, Saul Wold wrote:> Signed-off-by: Saul Wold <
sgw at linux.intel.com>
> ---
>   meta/recipes-devtools/pkgconfig/pkgconfig.inc     | 8 +-------
>   meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb | 7 +++++++
>   2 files changed, 8 insertions(+), 7 deletions(-)

Saul,

Any news on pkgconfig-0.28 ? I'm trying to compile c-i-m
using clang for the -native tools and glib-1.2.10 shipped with
pkgconfig-0.25 is causing the build error below.
pkgconfig-0.28 and later includes version of glib-2.32.4

If you are about to push this uprev, I'll wait a while and try
again. Do you want help?


BTW, I just set
  /usr/bin/gcc -> clang manually and used update-alternatives
to set:
  /usr/bin/c++ -> /etc/alternative/c++ ~=>
                  Ubuntu clang version 3.2-1~exp9ubuntu1
                  (tags/RELEASE_32/final) (based on LLVM 3.2)

my host is Ubuntu-13.04. I guess I should figure out

Is there a better way to make oe-core use clang for native tools?
I did glance at:
http://www.openembedded.org/wiki/Adding_a_secondary_toolchain

// Randy



 testglib.o:testglib.c:(.text+0x0): first defined here
| ./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':
| gutils.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
| testglib.o:testglib.c:(.text+0x30): first defined here
| ./.libs/libglib.a(gutils.o): In function `g_bit_storage':
| gutils.c:(.text+0x60): multiple definition of `g_bit_storage'
| testglib.o:testglib.c:(.text+0x60): first defined here
| clang: error: linker command failed with exit code 1 (use -v to see
invocation)
| make[4]: *** [testglib] Error 1
| make[4]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25/glib-1.2.10'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/pkg-config-0.25'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/rmacleod/src/distro/yocto/b-clang/build/tmp-eglibc/work/x86_64-linux/pkgconfig-native/0.25-r7/temp/log.do_compile.32446
for further information)
ERROR: Task 27
(virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/
pkgconfig_0.25.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 47 tasks of which 46 didn't need to be rerun
and 1 failed.
No currently running tasks (47 of 63)


-- 
../Randy/..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130506/fd09a7a6/attachment-0001.html>


More information about the Openembedded-core mailing list