Skip to contentSkip to conversation

glibc: install libanl.so to target

PATCH Superseded Jesper Bækdahl 2 participants 6 messages Feb 23, 2017 – Feb 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc: install libanl.so to target

---
 package/glibc/glibc.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/glibc/glibc.mk +3 -3
index c11f7cd..ee52539 100644
@@ -101,9 +101,9 @@ endef
 #
 
 GLIBC_LIBS_LIB = \
-	ld*.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* libm.so.*        \
-	libnsl.so.* libpthread.so.* libresolv.so.* librt.so.* libutil.so.*   \
-	libnss_files.so.* libnss_dns.so.* libmvec.so.*
+	ld*.so.* libanl.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* \
+	libm.so.* libnsl.so.* libpthread.so.* libresolv.so.* librt.so.* \
+	libutil.so.* libnss_files.so.* libnss_dns.so.* libmvec.so.*
 
 ifeq ($(BR2_PACKAGE_GDB),y)
 GLIBC_LIBS_LIB += libthread_db.so.*
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 glibc: install libanl.so to target

Hello,

Quoted 1 line · Jesper B?kdahl

Thanks for your contribution. However, could you extend the commit log to explain briefly in which situations is this library used?

In addition, you should also adjust the TOOLCHAIN_EXTERNAL_LIBS variable in toolchain/toolchain-external/pkg-toolchain-external.mk to be consistent.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH v2 1/2 glibc: install libanl.so to target

In reply to Jesper Bækdahl

libanl.so is needed for asynchronous network address and service translation, declared in netdb.h

---
Changes v1 -> v2:
- Added info on libanl.so usage

---
 package/glibc/glibc.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/glibc/glibc.mk +3 -3
index c11f7cd..ee52539 100644
@@ -101,9 +101,9 @@ endef
 #
 
 GLIBC_LIBS_LIB = \
-	ld*.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* libm.so.*        \
-	libnsl.so.* libpthread.so.* libresolv.so.* librt.so.* libutil.so.*   \
-	libnss_files.so.* libnss_dns.so.* libmvec.so.*
+	ld*.so.* libanl.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* \
+	libm.so.* libnsl.so.* libpthread.so.* libresolv.so.* librt.so.* \
+	libutil.so.* libnss_files.so.* libnss_dns.so.* libmvec.so.*
 
 ifeq ($(BR2_PACKAGE_GDB),y)
 GLIBC_LIBS_LIB += libthread_db.so.*
Signature · 1 line
2.7.4
#3 lore raw

PATCH v2 2/2 toolchain-external: install libanl.so for glibc

libanl.so is needed for asynchronous network address and service translation, declared in netdb.h

---
 toolchain/toolchain-external/pkg-toolchain-external.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/toolchain-external/pkg-toolchain-external.mk +1 -1
index 6658875..11a1bf5 100644
@@ -124,7 +124,7 @@ endif # ! no threads
 endif
 
 ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC),y)
-TOOLCHAIN_EXTERNAL_LIBS += libnss_files.so.* libnss_dns.so.* libmvec.so.*
+TOOLCHAIN_EXTERNAL_LIBS += libnss_files.so.* libnss_dns.so.* libmvec.so.* libanl.so.*
 endif
 
 ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MUSL),y)
Signature · 1 line
2.7.4
#4 lore raw

PATCH v2 2/2 toolchain-external: install libanl.so for glibc

Hello,

Quoted 7 lines · Jesper B?kdahl

libanl.so is needed for asynchronous network address and service translation, declared in netdb.h

---
 toolchain/toolchain-external/pkg-toolchain-external.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw

PATCH v2 1/2 glibc: install libanl.so to target

In reply to Jesper Bækdahl

Hello,

Quoted 8 lines · Jesper B?kdahl

libanl.so is needed for asynchronous network address and service translation, declared in netdb.h

---
Changes v1 -> v2:
- Added info on libanl.so usage

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com