Re: pgsql: Add missing pthread_barrier_t.

From: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
To: Thomas Munro <tmunro(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add missing pthread_barrier_t.
Date: 2022-01-26 20:43:28
Message-ID: CAFBsxsGZX_nSo=f7ZzdeCWwBk-c2Rz-JO0v6VvfvUZZJ6oqTig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Tue, Mar 9, 2021 at 11:52 PM Thomas Munro <tmunro(at)postgresql(dot)org> wrote:
>
> Add missing pthread_barrier_t.
>
> Supply a simple implementation of the missing pthread_barrier_t type and
> functions, for macOS.
>
> Discussion: https://postgr.es/m/20200227180100.zyvjwzcpiokfsqm2%40alap3.anarazel.de
>
> Branch
> ------
> master

Hi,

I've identified this commit in a git bisect that is related to
something strange: Before this commit, an Arch linux-based machine I
have gives this error when building:

/usr/bin/ld: port/pg_sema.o: undefined reference to symbol
'sem_post@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/libpthread.so.0: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status

I figured there must be something broken on my end, but wanted to
mention it here in case something bigger is going on.

--
John Naylor
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2022-01-27 02:07:55 pgsql: On sparc64+ext4, suppress test failures from known WAL read fail
Previous Message Magnus Hagander 2022-01-26 09:04:02 pgsql: Fix pg_hba_file_rules for authentication method cert