Hello Marton Greber, Zoltan Martonka, Attila Bukor, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24964

to look at the new patch set (#2).

Change subject: [thirdparty] fix Postgres memset_s() build issue on macOS
......................................................................

[thirdparty] fix Postgres memset_s() build issue on macOS

This changelist adds an extra patch from PostgreSQL's upstream git repo
to address compilation error on macOS after the recent update in Kudu's
3rd-party to enable building with GCC 15 [2]:

  thirdparty/src/postgresql-17.2/src/port/explicit_bzero.c:22:9: error:
        call to undeclared function 'memset_s'; ISO C99 and later do not
        support implicit function declarations
        [-Wimplicit-function-declaration]
     22 |         (void) memset_s(buf, len, 0, len);

Also, it updates the CFLAGS used to build PostgreSQL: keeping the flags
compatible with GCC 7, it switches the default C standard mode
from C17 to C11, replacing -std=c17 with -std=c11.

[1] https://github.com/postgres/postgres/commit/12eee85e5
[2] https://github.com/apache/kudu/commit/2acbccb8c

Change-Id: I88651ddd056c90c02f65148905c61eb0f4e54f94
---
M thirdparty/build-definitions.sh
A thirdparty/patches/postgres-memset_s.patch
M thirdparty/vars.sh
3 files changed, 183 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/64/24964/2
--
To view, visit http://gerrit.cloudera.org:8080/24964
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I88651ddd056c90c02f65148905c61eb0f4e54f94
Gerrit-Change-Number: 24964
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Martonka <[email protected]>

Reply via email to