Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 12:01:53 -0500
From:      Alexander Kabaev <ak03@gte.com>
To:        "Alex Kotov" <al_kotov@yahoo.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: threads and libstdc++ on FreeBSD 5.2.1-RELEASE
Message-ID:  <20040315120153.25a4dd00@kanpc.gte.com>
In-Reply-To: <025801c40aa8$d7b76380$1900a8c0@nautilus>
References:  <025801c40aa8$d7b76380$1900a8c0@nautilus>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Mar 2004 18:16:16 +0200
"Alex Kotov" <al_kotov@yahoo.com> wrote:

> Let me guess: you're using 5.2.1-CURRENT or link the application
> against kse and not the lc_r?
> 
> I will try kse today but problem is easy to reproduce: just copy &
> paste the source into the test.cc and build it as specified on top of
> it. When you will try to start the binary you will get "Segmentation
> fault (core dumped)".
> 
> SY,
> Alex Kotov
> 

I can reproduce this. Appears to be a bug in ld, which fails to pull in
uthread_create.o from libc_c.a archive when linking the program.

-- 
Alexander Kabaev



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315120153.25a4dd00>