Skip to contentSkip to conversation

gcc: Add patch to handle on target multilibs better

PATCH New Richard Purdie 1 participant 1 message Jul 31, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc: Add patch to handle on target multilibs better

On target multilibs did not work properly since gcc-cross-canadian was only searching a limited number of sysroot directories to find multilib target binaries.

This adds an extra search path to ensure those binaries are found and our gcc-cross-canadian works everywhere we need it to, e.g. with mips trilib configurations.

meta/recipes-devtools/gcc/gcc-4.9.inc +1 -0
index 7a3e4eb..691ba5f 100644
@@ -79,6 +79,7 @@ SRC_URI = "\
     file://0061-target-gcc-includedir.patch \
     file://0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
     file://0063-nativesdk-gcc-support.patch \
+    file://0064-handle-target-sysroot-multilib.patch \
 "
 SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327"
 SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e"
meta/recipes-devtools/gcc/gcc-4.9/0064-handle-target-sysroot-multilib.patch new file +88 -0

88 lines not on this page · raw message

meta/recipes-devtools/gcc/gcc-5.2.inc +1 -0
index 1a1ed4c..f691f58 100644
@@ -72,6 +72,7 @@ SRC_URI = "\
            file://0038-fix-g++-sysroot.patch \
            file://0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch \
            file://0040-nativesdk-gcc-support.patch \
+           file://0041-handle-target-sysroot-multilib.patch \
           "
 
 BACKPORTS = ""
meta/recipes-devtools/gcc/gcc-5.2/0041-handle-target-sysroot-multilib.patch new file +88 -0

88 lines not on this page · raw message