X-Spam-Check-By: sourceware.org Subject: Re: help with dynamic linkage? From: skaller To: cygwin AT cygwin DOT com In-Reply-To: <1139634710.8498.16.camel@rosella> References: <1139634710 DOT 8498 DOT 16 DOT camel AT rosella> Content-Type: text/plain Date: Sat, 11 Feb 2006 16:22:54 +1100 Message-Id: <1139635375.8498.19.camel@rosella> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Sat, 2006-02-11 at 16:11 +1100, skaller wrote: > hi, I'm having some problem getting dynamic linkage to work. Oops .. hmm .. just got gdb backtrace on another experiment. Now we're crashing initialising standard I/O in the rtl. BTW the rtl dll name is libflx_dynamic.dll. Program received signal SIGSEGV, Segmentation fault. 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll (gdb) bt #0 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll #1 0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll #2 0x59432d52 in ?? () #3 0x100b2008 in ?? () #4 0x00000001 in ?? () #5 0x100b2008 in ?? () #6 0x0022eda8 in ?? () #7 0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll #8 0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll #9 0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll #10 0x0022edd8 in ?? () #11 0x100448e5 in _Unwind_SjLj_Register () from /cygdrive/c/felix/flx/bin/libflx_dynamic.dll #12 0x100448e5 in _Unwind_SjLj_Register () from /cygdrive/c/felix/flx/bin/libflx_dynamic.dll #13 0x10038e73 in std::ios_base::Init::Init () from /cygdrive/c/felix/flx/bin/libflx_dynamic.dll #14 0x10035631 in __static_initialization_and_destruction_0 () from /cygdrive/c/felix/flx/bin/libflx_dynamic.dll #15 0x100879d0 in std::__ioinit () #16 0x0000001a in ?? () #17 0x1007cc80 in virtual thunk to flx::gc::collector::malloc_free::~malloc_free() () from /cygdrive/c/felix/flx/bin/libflx_dynamic.dll #18 0x61010253 in per_module::run_ctors () from /usr/bin/cygwin1.dll #19 0x00000001 in ?? () #20 0x610102a0 in dll::init () from /usr/bin/cygwin1.dll #21 0x280b0008 in ?? () #22 0x0000002f in ?? () #23 0x0022ee98 in ?? () #24 0x610d8ef7 in strrchr () from /usr/bin/cygwin1.dll #25 0x61005eb3 in _dll_crt0 AT 0 () from /usr/bin/cygwin1.dll #26 0x00000000 in ?? () from (gdb) [1]+ Stopped gdb bin/flx_run.exe -- John Skaller 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/