On Mon, 25 May 2020, hongxu wrote: > Add explicit dependency on libraries > [snip] > gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist > collect2: error: ld returned 1 exit status > Makefile:36: recipe for target 'multipathd' failed > make[1]: *** [multipathd] Error 1 > make[1]: Leaving directory 'git/multipathd' > Makefile:29: recipe for target 'multipathd' failed > make: *** [multipathd] Error 2 > ln -sf libmpathpersist.so.0 libmpathpersist.so > [snip] > > Signed-off-by: Hongxu Jia <[email protected]> [Snip]
Just a heads up, this change seems perhaps insufficient, in one of my first test builds of AGL with latest dunfell meta-oe, I hit this failure: /ws/scottm/dev/agl/agl-repo/build-qemux86-64/tmp/work/corei7-64-agl-linux/multipath-tools/0.8.4-r0/recipe-sysroot-native/usr/bin/x86_64-agl-linux/../../libexec/x86_64-agl-linux/gcc/x86_64-agl-linux/9.3.0/ld: err or in libsg.o(.eh_frame); no .eh_frame_hdr table will be created /ws/scottm/dev/agl/agl-repo/build-qemux86-64/tmp/work/corei7-64-agl-linux/multipath-tools/0.8.4-r0/recipe-sysroot-native/usr/bin/x86_64-agl-linux/../../libexec/x86_64-agl-linux/gcc/x86_64-agl-linux/9.3.0/ld: BFD (GNU Binutils) 2.34.0.20200220 internal error, aborting at ../../bfd/merge.c:933 in _bfd_merged_section_offset /ws/scottm/dev/agl/agl-repo/build-qemux86-64/tmp/work/corei7-64-agl-linux/multipath-tools/0.8.4-r0/recipe-sysroot-native/usr/bin/x86_64-agl-linux/../../libexec/x86_64-agl-linux/gcc/x86_64-agl-linux/9.3.0/ld: Ple ase report this bug. collect2: error: ld returned 1 exit status make[1]: *** [Makefile:24: libcheckreadsector0.so] Error 1 make[1]: *** Waiting for unfinished jobs.... It built fine on a retry. My guess is there's still a race between ld and one of the inputs being generated. Scott
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#85298): https://lists.openembedded.org/g/openembedded-devel/message/85298 Mute This Topic: https://lists.openembedded.org/mt/74472985/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
