From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5040 invoked by alias); 17 Sep 2009 12:47:43 -0000 Received: (qmail 5007 invoked by uid 48); 17 Sep 2009 12:47:28 -0000 Date: Thu, 17 Sep 2009 12:47:00 -0000 Message-ID: <20090917124728.5006.qmail@sourceware.org> From: "jakub at redhat dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20090917113439.10652.heuler@infosim.net> References: <20090917113439.10652.heuler@infosim.net> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/10652] getaddrinfo causes segfault if multithreaded and linked statically X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00042.txt.bz2 ------- Additional Comments From jakub at redhat dot com 2009-09-17 12:47 ------- You shouldn't link statically, there are many reasons why it is a bad idea. If you for whatever strange reason still need it, you need to make sure you link all of libpthread.a into your application (e.g. using -Wl,--whole-archive around -lpthread), otherwise many things won't work as expected. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10652 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.