Re: g++ 8.1, AIX, std::thread::_State linking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 May 2018 at 15:20, Brian Groose wrote:
> Bob,
>
> I definitely have -pthread in there, std::thread isn't defined with out it.
>
> Jonathan,
> I was pulling together the linker command line to post and realized
> that I had a -L directive that points to a directory containing
> libstdc++, but it was the gcc 5.3.0 libstdc++.  I did this because
> it's the only way to get an rpath-type thing in the resulting binary.
> Of course, once I removed this everything linked properly.

Yes that will definitely cause it. The older std::thread uses a
different implementation detail, so _State is not present in the older
libstdc++.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux