Re: HEADS UP: macppc gcc8 fallout in -current

Valery Ushakov <[email protected]>
Newsgroups gmane.os.netbsd.ports.macppc
Message-ID <[email protected]>
On Thu, Jan 02, 2020 at 10:37:43 +0100, Martin Husemann wrote:

> Program terminated with signal SIGABRT, Aborted.
> #0  0xfdba20c4 in std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) () from /usr/lib/libstdc++.so.9

Thanks!

So it's probably this _M_start_thread:

  external/gpl3/gcc/dist/libstdc++-v3/src/c++11/thread.cc:145

probably in __gthread_active_p:

  external/gpl3/gcc/dist/libgcc/gthr-posix.h:183

cc1 is not linked against -lpthread so something goes bad with libc
stubs?

Cc'ing Christos for gthr-posix.h revision 1.2
date: 2019-02-09 04:27:43 +0300;  author: christos;  state: Exp;  lines: +8 -5;  commitid: qYX3wjiW4k3bX1bB;
Follow suit with FreeBSD and solaris for the __gthread_active_p()
implementation. Fixes the atf call_once unit tests.

-uwe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.