<div dir="ltr"><div>On 13-04-24 05:37 PM, Saul Wold wrote:> Signed-off-by: Saul Wold <<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>></div><div>> ---</div><div>> meta/recipes-devtools/pkgconfig/pkgconfig.inc | 8 +-------</div>
<div>> meta/recipes-devtools/pkgconfig/<a href="http://pkgconfig_0.25.bb">pkgconfig_0.25.bb</a> | 7 +++++++</div><div>> 2 files changed, 8 insertions(+), 7 deletions(-)</div><div><br></div><div>Saul,</div><div><br>
</div><div>Any news on pkgconfig-0.28 ? I'm trying to compile c-i-m</div><div>using clang for the -native tools and glib-1.2.10 shipped with</div><div>pkgconfig-0.25 is causing the build error below. </div><div>pkgconfig-0.28 and later includes version of glib-2.32.4</div>
<div><br></div><div>If you are about to push this uprev, I'll wait a while and try</div><div>again. Do you want help?</div><div><br></div><div><br></div><div>BTW, I just set</div><div> /usr/bin/gcc -> clang manually and used update-alternatives</div>
<div>to set:</div><div> /usr/bin/c++ -> /etc/alternative/c++ ~=> </div><div> Ubuntu clang version 3.2-1~exp9ubuntu1 </div><div> (tags/RELEASE_32/final) (based on LLVM 3.2)</div><div>
<br></div><div>my host is Ubuntu-13.04. I guess I should figure out </div><div><br></div><div style>Is there a better way to make oe-core use clang for native tools?</div><div style>I did glance at:</div><div><a href="http://www.openembedded.org/wiki/Adding_a_secondary_toolchain">http://www.openembedded.org/wiki/Adding_a_secondary_toolchain</a><br>
</div><div><br></div><div>// Randy</div><div><br></div><div><br></div><div><br></div><div> testglib.o:testglib.c:(.text+0x0): first defined here</div><div>| ./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':</div>
<div>| gutils.c:(.text+0x30): multiple definition of `g_bit_nth_msf'</div><div>| testglib.o:testglib.c:(.text+0x30): first defined here</div><div>| ./.libs/libglib.a(gutils.o): In function `g_bit_storage':</div><div>
| gutils.c:(.text+0x60): multiple definition of `g_bit_storage'</div><div>| testglib.o:testglib.c:(.text+0x60): first defined here</div><div>| clang: error: linker command failed with exit code 1 (use -v to see invocation)</div>
<div>| make[4]: *** [testglib] Error 1</div><div>| 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'</div><div>
| make[3]: *** [all-recursive] Error 1</div><div>| 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'</div><div>
| make[2]: *** [all] Error 2</div><div>| 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'</div><div>| make[1]: *** [all-recursive] Error 1</div>
<div>| 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'</div><div>| make: *** [all] Error 2</div><div>| ERROR: oe_runmake failed</div>
<div>| 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)</div><div>ERROR: Task 27 (virtual:native:/home/rmacleod/src/distro/yocto/oe-core.git/meta/recipes-devtools/pkgconfig/<a href="http://pkgconfig_0.25.bb">pkgconfig_0.25.bb</a>, do_compile) failed with exit code '1'</div>
<div>NOTE: Tasks Summary: Attempted 47 tasks of which 46 didn't need to be rerun and 1 failed.</div><div>No currently running tasks (47 of 63)</div><div><br></div><div><br></div>-- <br>../Randy/..
</div>