Message ID | 20200809155628.23451-1-hauke@hauke-m.de |
---|---|
State | Superseded |
Delegated to: | Hauke Mehrtens |
Headers | show |
Series | toolchain: binutils: Fix typo in patch for MIPS64 | expand |
On Mon, 10 Aug 2020 at 00:01, Hauke Mehrtens <hauke@hauke-m.de> wrote: > > There was a typo in the patch which breaks compiling binutils on > MIPS63EL. > make[7]: *** No rule to make target 'elf64ltsmip.o', needed by 'ld-new'. Stop. > > Fixes: FS#3276 > Fixes: 53470bdf3212 ("toolchain/binutils: Add binutils 2.34") > Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Yousong Zhou <yszhou4tech@gmail.com> Regards, yousong > --- > .../2.34/500-Change-default-emulation-for-mips64-linux.patch | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch b/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch > index 24c2afb8be51..455ac0001dd4 100644 > --- a/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch > +++ b/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch > @@ -25,7 +25,7 @@ > ;; > -mips64*el-*-linux-*) targ_emul=elf32ltsmipn32 > - targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" > -+mips64*el-*-linux-*) targ_emul=lf64ltsmip > ++mips64*el-*-linux-*) targ_emul=elf64ltsmip > + targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32ltsmip elf32btsmip elf64btsmip" > targ_extra_libpath=$targ_extra_emuls > ;; > -- > 2.20.1 > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff --git a/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch b/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch index 24c2afb8be51..455ac0001dd4 100644 --- a/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch +++ b/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch @@ -25,7 +25,7 @@ ;; -mips64*el-*-linux-*) targ_emul=elf32ltsmipn32 - targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" -+mips64*el-*-linux-*) targ_emul=lf64ltsmip ++mips64*el-*-linux-*) targ_emul=elf64ltsmip + targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32ltsmip elf32btsmip elf64btsmip" targ_extra_libpath=$targ_extra_emuls ;;
There was a typo in the patch which breaks compiling binutils on MIPS63EL. make[7]: *** No rule to make target 'elf64ltsmip.o', needed by 'ld-new'. Stop. Fixes: FS#3276 Fixes: 53470bdf3212 ("toolchain/binutils: Add binutils 2.34") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- .../2.34/500-Change-default-emulation-for-mips64-linux.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)