On Fri, 2020-08-14 at 14:18 +0800, Changqing Li wrote: > From: Changqing Li <[email protected]> > > fix below error: > file /usr/bin/g++ conflicts between attempted installs of > lib32-g++-symlinks-10.1.0-r0.core2_32 and g++-symlinks-10.1.0-r0.core2_64 > file /usr/bin/gcc conflicts between attempted installs of > lib32-gcc-symlinks-10.1.0-r0.core2_32 and gcc-symlinks-10.1.0-r0.core2_64 > file /usr/bin/cpp conflicts between attempted installs of > lib32-cpp-symlinks-10.1.0-r0.core2_32 and cpp-symlinks-10.1.0-r0.core2_64 > > Signed-off-by: Changqing Li <[email protected]> > --- > meta/recipes-devtools/gcc/gcc-target.inc | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta/recipes-devtools/gcc/gcc-target.inc > b/meta/recipes-devtools/gcc/gcc-target.inc > index 1e25dad86b..03057dc71b 100644 > --- a/meta/recipes-devtools/gcc/gcc-target.inc > +++ b/meta/recipes-devtools/gcc/gcc-target.inc > @@ -28,6 +28,10 @@ export gcc_cv_objdump = "${TARGET_PREFIX}objdump" > > EXTRA_OECONF_GCC_FLOAT = "${@get_gcc_float_setting(bb, d)}" > > +inherit multilib_script > +MULTILIB_SCRIPTS += " ${MLPREFIX}g++-symlinks:${bindir}/g++ > ${MLPREFIX}gcc-symlinks:${bindir}/gcc \ > + ${MLPREFIX}cpp-symlinks:${bindir}/cpp" > + > PACKAGES = "\ > ${PN} ${PN}-plugins ${PN}-symlinks \ > g++ g++-symlinks \
Surely you just shouldn't be installing both of these? Adding multilib_script just create symlinks of symlinks. Perhaps one should REPLACES the other? We really don't want to create a tangled mess of symlinks though. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#141458): https://lists.openembedded.org/g/openembedded-core/message/141458 Mute This Topic: https://lists.openembedded.org/mt/76183413/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
