Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBYkv-00000003GVd-3Kbn for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Sep 2026 14:24:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xBYku-0000000FGEO-1eK9 for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Sep 2026 14:24:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBYPI-0000000F7C1-0TI0 for pgsql-bugs@lists.postgresql.org; Tue, 29 Sep 2026 14:02:08 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBYPF-00000001wGB-2eSA for pgsql-bugs@lists.postgresql.org; Tue, 29 Sep 2026 14:02:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:Date:Reply-To:Cc:From:To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Content-ID: Content-Description:In-Reply-To:References; bh=avmoN6rS+6chlFE3C8KSutU6espE2JFUefk8xftt53c=; b=SO8VPu7Q/bhN1N0TV/18BaQQUz 9Z/fRtGKMD5hgQhp1Bjpw+hGHLMdkaJx1O3W/EUuE3S7+CnMJ5tPKtlVPV3XW4VGHp/XMKY4usamP ZqF72uoZhDmsicBHEn3daJakVA6LkJAoyzgCxJf+SedvHxFnk51KbQOnbnK81hEUhO1wD87KRGqMM UeVTU01ayb4xjLsvwUOv8Mbb5yAO4ykdlJqjePMZQjCP+FdoMtQvRiBcOHgbNDvYwjLhsZU7clX8y rA2s+SKSbZsNO/VEyOAy/pTnvZgUuOh8cTQUKvguR32zoswx/QWQEjmyUGqzIcF3tOpysqm31cBoz Rdlq8idw==; Received: from wrigleys.postgresql.org ([2a02:16a8:dc51::60]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xBYPE-000T1a-1H for pgsql-bugs@lists.postgresql.org; Tue, 29 Sep 2026 14:02:04 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xBYPD-0000000G3rX-0DrV for pgsql-bugs@lists.postgresql.org; Tue, 29 Sep 2026 14:02:03 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #19727: pg-combinebackup fails to link To: pgsql-bugs@lists.postgresql.org From: PG Bug reporting form Cc: ross@burtonini.com Reply-To: ross@burtonini.com, pgsql-bugs@lists.postgresql.org Date: Tue, 29 Sep 2026 14:01:33 +0000 Message-ID: <19727-32d67d9dea410f38@postgresql.org> X-Auto-Response-Suppress: All Auto-Submitted: auto-generated List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk The following bug has been logged on the website: Bug reference: 19727 Logged by: Ross Burton Email address: ross@burtonini.com PostgreSQL version: 18.6 Operating system: Linux Description: =20 When I build pg-combineback from postgress 18.6 (in Yocto, cross-compiled on aarch64 to aarch64), it fails to link: aarch64-poky-linux-ld: src/common/libpgcommon.a(jsonapi.o): in function `json_lex_number': src/common/jsonapi.c:2379:(.text+0x168): undefined reference to `appendBinaryPQExpBuffer' aarch64-poky-linux-ld: src/common/libpgcommon.a(jsonapi.o): in function `makeJsonLexContextCstringLen': src/common/jsonapi.c:418:(.text+0x44c): undefined reference to `createPQExpBuffer' aarch64-poky-linux-ld: src/common/libpgcommon.a(jsonapi.o): in function `allocate_incremental_state': src/common/jsonapi.c:465:(.text+0x578): undefined reference to `initPQExpBuffer' aarch64-poky-linux-ld: src/common/libpgcommon.a(jsonapi.o): in function `makeJsonLexContextIncremental': src/common/jsonapi.c:535:(.text+0x67c): undefined reference to `createPQExpBuffer' aarch64-poky-linux-ld: src/common/libpgcommon.a(jsonapi.o): in function `freeJsonLexContext': src/common/jsonapi.c:699:(.text+0x728): undefined reference to `destroyPQExpBuffer' aarch64-poky-linux-ld: src/common/jsonapi.c:696:(.text+0x768): undefined reference to `destroyPQExpBuffer' aarch64-poky-linux-ld: src/common/jsonapi.c:703:(.text+0x794): undefined reference to `termPQExpBuffer' aarch64-poky-linux-ld: src/common/libpgcommon.a(jsonapi.o): in function `json_lex': src/common/jsonapi.c:1606:(.text+0xaa8): undefined reference to `resetPQExpBuffer'