From 3b34fcaf94d001084da166028669de3e1cfd793f Mon Sep 17 00:00:00 2001 From: Luiz Angelo Daros de Luca Date: Fri, 16 Aug 2019 01:33:58 -0300 Subject: musl: ldso/dlsym: fix mips returning undef dlsym This happens only the second time a library is loaded by dlopen(). After lib1 is loaded, dlsym(lib1,"undef1") correctly resolves the undef symbol from lib1 dependencies. After the second library is loaded, dlsym(lib2,"undef1") was returning the address of "undef1" in lib2 instead of searching lib2 dependencies. Using upstream fix which now uses the same logic for relocation time and dlsym. Fixes openwrt/packages#9297 Signed-off-by: Luiz Angelo Daros de Luca (cherry picked from commit 0d0617ff14b8b020896680de1f1a49c7ba8a5e0d) --- package/libs/toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/libs') diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index d76b0a875c..a63746c448 100644 --- a/package/libs/toolchain/Makefile +++ b/package/libs/toolchain/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=toolchain -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-3.0-with-GCC-exception -- cgit v1.2.3