On 05/06/2013 01:59 PM, Randy MacLeod wrote:
On 13-04-24 05:37 PM, Saul Wold wrote:> Signed-off-by: Saul Wold
<[email protected] <mailto:[email protected]>>
 > ---
 >   meta/recipes-devtools/pkgconfig/pkgconfig.inc     | 8 +-------
 >   meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
<http://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

Got caught up in 1.4 finalization and planning for 1.5, I was going to look at it again this week.

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

I would appreciate help with the update if you can provide a tested pkgconfig update, I was thinking about providing the update for testing before enabling it similar to what we do with gcc, that's why I split the recipe.

I have an untested version (it builds) in my poky-contrib/sgw/wip branch with you want to finish/test it more.

Thanks for your help.

Sau!


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
<http://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/..


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to