IRC log for #oe on 20181027

00:22.38*** join/#oe infobot (ibot@208.53.50.136)
00:22.38*** topic/#oe is OpenEmbedded Developer Lounge | Web: http://openembedded.org | Repositories: http://git.openembedded.org/ | Primary Repo Mirrors: https://github.com/openembedded | This is not a distro or machine support channel
00:30.49*** join/#oe NU-Slacker (~NU-Slacke@24.13.72.71)
00:38.59*** join/#oe armpit (~armpit@109.144.220.124)
02:00.17*** join/#oe ColdKeyboard (~ColdKeybo@unaffiliated/coldkeyboard)
03:08.47*** join/#oe Darkmatter66 (~Darkmatte@37.237.211.87)
03:36.23*** join/#oe florian_kc (~florian_k@Maemo/community/contributor/florian)
03:39.58*** join/#oe NU-Slacker (~NU-Slacke@24.13.72.71)
04:27.58*** join/#oe florian__ (~florian_k@Maemo/community/contributor/florian)
04:29.14*** join/#oe armpit (~armpit@109.144.220.124)
04:54.53*** join/#oe NU-Slacker (~NU-Slacke@24.13.72.71)
06:03.41*** join/#oe ankit (c6af4425@gateway/web/freenode/ip.198.175.68.37)
06:32.20*** join/#oe Darkmatter66 (~Darkmatte@37.237.210.65)
06:39.00*** join/#oe armpit (~armpit@195.11.164.221)
07:06.01ankitmy recipe has cmake based components and it is looking for clang-4.0, which not able to find. I cloned meta-clang which has clang-7. I tired modifying CMakeLists.txt to add clang-7.0, but same issue. it gives CLANG not found.
07:06.11ankitif(NOT DEFINED CLANG) 158     find_program(CLANG NAMES clang-4.0) 159     if("${CLANG}" STREQUAL "CLANG-NOTFOUND" ) 160         message(FATAL_ERROR "${CMAKE_CURRENT_LIST_FILE}: clang-4.0 not found") 161     endif() endif()
07:06.29ankitany suggestion.
07:58.08ant_homekhem, gm
07:59.21ant_homedoing experiments I have aded TOOLCHAIN = "clang" to kernel-selftest
07:59.42ant_homesupposing then to use llvm-tools
08:00.13ant_homebut now libcxx fails even to configure on qemuarm
08:01.33ant_home<PROTECTED>
08:01.33ant_homeefined reference to `__atomic_load_4'
08:01.40ant_homeatomic again
08:02.36ant_homeoh, and scary msg like
08:02.38ant_home| -- Warning: Did not find file Compiler/-ASM
08:02.58ant_homeI'll rebuild for scratch, something seems broken
08:06.22*** join/#oe Darkmatter66 (~Darkmatte@37.237.211.21)
08:18.24*** join/#oe ankit (6cab9f2f@gateway/web/freenode/ip.108.171.159.47)
08:30.07*** join/#oe ao2 (~ao2@host191-146-dynamic.7-87-r.retail.telecomitalia.it)
08:39.11*** join/#oe bluelightning_ (~paul@pdpc/supporter/professional/bluelightning)
09:16.11*** join/#oe Darkmatter66_ (~Darkmatte@37.237.211.21)
09:38.22*** join/#oe tprrt (~tprrt@ram31-1-82-234-79-177.fbx.proxad.net)
10:01.29*** join/#oe armpit (~armpit@37.205.61.206)
10:14.55*** join/#oe maelcum (~horst@200116b8425a380045d7ad3f5e53bcf8.dip.versatel-1u1.de)
10:21.08*** join/#oe awe00 (~awe00@unaffiliated/awe00)
10:48.35*** join/#oe khem (~khem@unaffiliated/khem)
11:42.16*** join/#oe ankit (~apnavik@180.151.105.231)
11:48.40*** join/#oe ankit (~apnavik@180.151.105.231)
12:48.46*** join/#oe ankit (~apnavik@180.151.105.231)
12:55.46*** join/#oe ankit (~apnavik@180.151.105.231)
13:30.09*** join/#oe georgem_home (uid210681@gateway/web/irccloud.com/x-pxaimyshxqwxlsbg)
13:37.09*** join/#oe dlan (~dennis@gentoo/developer/dlan)
14:37.18*** join/#oe OutBackDingo (~quassel@unaffiliated/outbackdingo)
14:54.55khemankit: your recipe seems to hard bind to clang4 I think you should take a look into its cmakefiles sometimes packages have hard dependencies on version specific APIs
14:55.51khemant_home: yes, libcxx might need to link with libatomic for armv5
14:57.22khemant_home: I think for kernel self-test we should probably ask user to install clang+llvm on his build host and then add HOSTTOOLS += "clang llc" in local.conf
14:58.06khemanother option is to just limit the kernel-selftest recipe to just x86/x86_64 for now
14:58.23khemI dont see it working reliably on non-x86 arches
15:38.58ankit@khem, I modified and cmakefiles to consider clang 7 as well as clang 4 and above but still same issue.
15:40.00khemit must be having errors in CMakeErrors.txt file
15:40.30khemif its still looking for clang-4.0 then you havent really fixed it
15:40.41khemmaybe you can just drop the version string
15:40.51khemjust let it look for clang
15:41.10ankitlet me check that, but it works fine on Ubutu distro.
15:41.35khemwhat clang version do you have on ubuntu
15:41.40ankitis there a way I can export CLANG path in recipe
15:42.03ankitubuntu has clang-4.0
15:42.31khemyes and the package is expecting same so it will work
15:42.52khemthis seems its written in non portable way
15:43.02khemso you need to break those assumptions
15:44.54ankitThere is CLANG var define in cmakefile. if var is not define, it will look for clang different version in syspath... So just thinking, export of CLANG var should help.
15:46.03khemwhat should it point to
15:46.11khemit is lookin for sources of clang ?
15:46.15khemor for binaries
15:46.36ankitbinaries
15:46.39khemyou can set EXTRA_OECMAKE = "-DCLANG=clang" in recipe
15:47.22ankitThanks, let me check. :)
15:58.24*** join/#oe OutBackDingo_ (~quassel@unaffiliated/outbackdingo)
16:13.01*** join/#oe ankit (~apnavik@180.151.105.231)
16:31.31*** join/#oe NU-Slacker (~NU-Slacke@24.13.72.71)
17:03.01*** join/#oe NU-Slacker (~NU-Slacke@24.13.72.71)
17:09.45*** join/#oe OutBackDingo (~quassel@unaffiliated/outbackdingo)
17:37.45*** join/#oe stefan_schmidt (~stefan_sc@p200300E9D70FDC9F0627BA04ADF685CF.dip0.t-ipconnect.de)
18:17.26*** join/#oe OutBackDingo_ (~quassel@unaffiliated/outbackdingo)
18:22.34*** join/#oe koen (~koen@linaro/koen)
18:28.43*** join/#oe Darkmatter66 (~Darkmatte@37.237.211.21)
18:29.15*** join/#oe Crofton|work (~Crofton@206.121.8.178)
19:06.33*** join/#oe OutBackDingo (~quassel@unaffiliated/outbackdingo)
19:35.16*** join/#oe Jybz (~jibz@2a02:8071:9289:5900:4a51:b7ff:fe84:99e6)
19:39.44*** join/#oe dqx (~dqx@unaffiliated/dqx)
19:40.59*** join/#oe georgem_home (uid210681@gateway/web/irccloud.com/x-urnmhehuwhmxxnfg)
19:41.10*** join/#oe dv_ (~dv@62-178-50-190.cable.dynamic.surfer.at)
19:45.35ant_homekhem, I'd just add PACKAGECONFIG_remove_arm = "bpf"
19:45.51ant_homedunno runtime, though
19:46.27ant_home(I have hard time imaging the 32 bit kernel (or JIT?) swallowing the bpf 64bit objects
19:46.34ant_home...)
19:46.55ant_homebuilds is fixed, if you think I'll send the patch
20:26.20ant_homelot of compiler warnings btw
20:59.46ant_homewell, only two recipes failing in world build for qemuarm now
21:00.06ant_homeandroid-tools seems to be JaMa's matter
21:00.44ant_homeso there is 'just' the little ecipes-qt/qt5/qtwebkit_git.bb:do_compile  to fix
21:01.11ant_homeyawn
21:01.16ant_homemaybe tomorrow
21:21.15*** join/#oe OutBackDingo (~quassel@unaffiliated/outbackdingo)
22:17.45*** join/#oe awe00 (~awe00@unaffiliated/awe00)
22:23.00*** join/#oe NU-Slacker (~NU-Slacke@24.13.72.71)
23:28.56*** join/#oe falk0n_ (~falk0n@a109-49-130-238.cpe.netcabo.pt)
23:30.01*** join/#oe vmeson (~rmacleod@24-52-238-240.cable.teksavvy.com)
23:55.34*** join/#oe vmeson (~rmacleod@24-52-238-240.cable.teksavvy.com)
23:58.54*** join/#oe OutBackDingo_ (~quassel@unaffiliated/outbackdingo)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.