Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 17:30:44 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
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:  <xzpad2idqdn.fsf@dwp.des.no>
In-Reply-To: <025801c40aa8$d7b76380$1900a8c0@nautilus> (Alex Kotov's message of "Mon, 15 Mar 2004 18:16:16 %2B0200")
References:  <025801c40aa8$d7b76380$1900a8c0@nautilus>

next in thread | previous in thread | raw e-mail | index | archive | help
"Alex Kotov" <al_kotov@yahoo.com> writes:
> Let me guess: you're using 5.2.1-CURRENT or link the application against
> kse and not the lc_r?

I assume this is addressed to me.  In the future, please quote the
message you're replying to, or at least include its message id in your
References: header.

I am running -CURRENT, not 5.2.1, and I used the exact command line
shown in the PR.

> 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)".

Like I said, I am unable to reproduce this.  The program runs fine.

If I change the gcc command line to use -lc_r instead of -pthread, it
does dump core, but initializing tt to NULL fixes that.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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