**** BEGIN LOGGING AT Wed May 12 02:59:56 2021 May 12 07:07:18 khem, gm May 12 07:08:22 I've learned in the hard way the --with-mips-plt flag May 12 07:09:24 I could not link some private modules, tried all... May 12 07:11:29 ant__: what errors do you see May 12 07:11:54 the ptog(kodi) did crash with coredump, no logs May 12 07:12:18 hmm May 12 07:12:19 I think I should have inspected the bin seeking for .plt/.got? May 12 07:12:34 did you compile it with -mno-plt May 12 07:12:37 and then it works May 12 07:12:52 I was using standard OE tc , zeus and dunfell May 12 07:12:55 (old) May 12 07:13:27 then I found about a strange DISTRO_FEATURE 'mplt' which triggets the flag May 12 07:13:39 yes default assumes PLT/copyrel support May 12 07:13:59 how can I verify? looking at the sections? May 12 07:15:32 did you have 'mplt' in DISTRO_FEATURES May 12 07:16:18 it's not OE, is a derived distro May 12 07:16:57 these group of distros for STB (OpenPLi, ..) uses older versions, now zeus atm May 12 07:17:23 only that one was unable to compile kodi with the v3ddrivers May 12 07:17:44 problem was it lacks --with-mips-plt May 12 07:17:51 yeah thats ok, but default is -mno-plt and if you do not have mplt in DISTRO_FEATURES then it remains same ( -mno-plt) so I wonder where did it change? May 12 07:17:53 rebuilt all kodi runs now May 12 07:18:09 hmm May 12 07:18:48 so it seems you have some broadcom SDK prebuilts which are compiled with -mplt ? May 12 07:18:57 I found that in the right May 12 07:19:00 right May 12 07:19:09 well thats too bad May 12 07:19:17 how can you check? May 12 07:19:33 I don't see any .plt nor .got in the shlibs May 12 07:19:51 do they have .note sections ? May 12 07:21:34 no May 12 07:22:14 well if all you get is shared libs then -mplt is not effective for shared libs May 12 07:22:35 so there is something else perhaps static libs or so May 12 07:22:55 libdvb_base.so, libdvb_client.so, libnxpl.so, libv3ddriver.so, libxbmc_base.so May 12 07:23:03 do you know them ? May 12 07:23:04 ;) May 12 07:23:44 well, the good news for you are that it was failing/compiling in the same way with ld gold May 12 07:24:23 see if you have R_MIPS_26 type relocs in objects May 12 07:25:18 disable gold for mips May 12 07:25:53 he he, you told me :) May 12 07:27:28 I'll disassemble now and tell May 12 07:27:54 by the way, do you suggest lto plugin? May 12 07:28:01 koi has PACKAGECONFIG[lto] = "-DUSE_LTO=${@oe.utils.cpu_count()},-DUSE_LTO=OFF" May 12 07:29:49 I ask because in do_configure log (CMake project) I see May 12 07:30:01 CMake Warning: May 12 07:30:02 Manually-specified variables were not used by the project: May 12 07:30:02 USE_LTO May 12 07:38:22 khem, only R_MIPS_REL32 May 12 07:42:03 yeah USE_LTO is perhaps wrong knob May 12 07:42:10 it might have changed or renamed May 12 07:53:45 good morning May 12 21:17:16 The Yocto Project Summit will be starting in less than 2 weeks! May 12 21:17:19 https://www.yoctoproject.org/yocto-project-virtual-summit-2021/ **** ENDING LOGGING AT Thu May 13 02:59:56 2021