Re: [HACKERS] thread_test's sched_yield requires -lrt on solaris

2015-06-30 Thread Alvaro Herrera
Oskari Saarenmaa wrote: > I configured the dingo and binturong Solaris 10 animals to build 9.3 > some time ago but apparently they always failed the configure phase. > Turns out this is caused by thread_test's usage of sched_yield which is > in librt on Solaris but which is not pulled in by anythin

Re: [HACKERS] thread_test's sched_yield requires -lrt on solaris

2015-06-26 Thread Robert Haas
On Fri, Jun 26, 2015 at 3:52 AM, Oskari Saarenmaa wrote: > I configured the dingo and binturong Solaris 10 animals to build 9.3 > some time ago but apparently they always failed the configure phase. > Turns out this is caused by thread_test's usage of sched_yield which is > in librt on Solaris but

[HACKERS] thread_test's sched_yield requires -lrt on solaris

2015-06-26 Thread Oskari Saarenmaa
I configured the dingo and binturong Solaris 10 animals to build 9.3 some time ago but apparently they always failed the configure phase. Turns out this is caused by thread_test's usage of sched_yield which is in librt on Solaris but which is not pulled in by anything on 9.3 and earlier on my box.