Re: pgsql: oauth: Add unit tests for multiplexer handling

From: Christoph Berg <myon(at)debian(dot)org>
To: Jacob Champion <jchampion(at)postgresql(dot)org>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: oauth: Add unit tests for multiplexer handling
Date: 2025-08-26 19:47:50
Message-ID: aK4PZgC0wuwQ5xSK@msg.df7cb.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Re: Jacob Champion
> oauth: Add unit tests for multiplexer handling

This seems to require more linking on Debian bullseye:

20:19:29 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC test-oauth-curl.o oauth-utils.o -L../../../src/port -L../../../src/common -L../../../src/common -lpgcommon_shlib -L../../../src/port -lpgport_shlib -L../../../src/interfaces/libpq -lpq -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -lcurl -lm -o oauth_tests
20:19:29 /usr/bin/ld: oauth-utils.o: undefined reference to symbol 'pthread_sigmask@@GLIBC_2.17'
20:19:29 /usr/bin/ld: /lib/aarch64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
20:19:29 collect2: error: ld returned 1 exit status

Full log:
https://jengus.postgresql.org/job/postgresql-19-binaries-snapshot/architecture=arm64,distribution=bullseye/156/console

Distro releases newer than bullseye are fine.

Christoph

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-08-26 19:49:53 pgsql: Document privileges required for vacuumdb --missing-stats-only.
Previous Message Tom Lane 2025-08-26 16:09:12 pgsql: Do CHECK_FOR_INTERRUPTS inside, not before, scanGetItem.

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-08-26 19:52:28 Re: vacuumdb --missing-stats-only and permission issue
Previous Message Ranier Vilela 2025-08-26 18:01:24 Re: Aggregate Function corr does not always return the correct value