Wind River Support Network

HomeDefectsLIN7-2769
Fixed

LIN7-2769 : getaddrinfo()/make_request() may spin forever

Created: Jan 26, 2015    Updated: Sep 8, 2018
Resolved Date: Mar 9, 2015
Found In Version: 7.0
Fix Version: 7.0.0.4
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Toolchain

Description

Customer has hit the glibc problem described here:

  https://sourceware.org/bugzilla/show_bug.cgi?id=12926#c5

The fix can be found here:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=patch;h=fda389c8f0311dd5786be91a7b54b9f935fcafa1

Workaround

For Intel BSP, replace glibc with the hot fix binary.

cd ${wrlinux4}/layers/wrll-toolchain-4.4a-450/i586/toolchain/x86-linux2/i586-wrs-linux-gnu/
mv ../libc.cpio.bz2{,orig}
mdkir temp
cd temp
bzcat ../libc.cpio.bz2.orig | cpio -idmv
bzcat /path/to/libc-fix.cpio.bz2 | cpio -idmv
find . -depth | cpio -ov -H newc | bzip2 -c > ../libc.cpio.bz2

Steps to Reproduce

n/a

Other Downloads


Live chat
Online