delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Subject: | Re: help with dynamic linkage? |
From: | skaller <skaller AT users DOT sourceforge DOT net> |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <43ED76B1.A42C47CF@dessent.net> |
References: | <1139634710 DOT 8498 DOT 16 DOT camel AT rosella> <1139635375 DOT 8498 DOT 19 DOT camel AT rosella> <43ED76B1 DOT A42C47CF AT dessent DOT net> |
Date: | Sat, 11 Feb 2006 16:54:51 +1100 |
Message-Id: | <1139637291.8498.27.camel@rosella> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Fri, 2006-02-10 at 21:31 -0800, Brian Dessent wrote: > skaller wrote: > > > Program received signal SIGSEGV, Segmentation fault. > > 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll > > (gdb) bt > > *sigh* Not an actual fault. Ah, ok. Thanks. But now it is worse! I type continue and the program aborts with a core dump. The statically linked version doesn't. The code IS different: the cygwin dynamic link version is the same as the linux code (which works). There is one difference though: on Linux I'm using gcc 4.0, Cygwin is using gcc 3.4.4. Curious -- seems like the dll isn't loaded until it is referenced, is that right? (Thats bad .. is there any way to force all the symbols to resolve at startup?) -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |