Re: AIX support - Mailing list pgsql-hackers

From Sriram RK
Subject Re: AIX support
Date
Msg-id CY5PR11MB6392F178646E31D9BF417118FDEB2@CY5PR11MB6392.namprd11.prod.outlook.com
Whole thread Raw
In response to Re: AIX support  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: AIX support
List pgsql-hackers

Thanks Alvaro, for the info…

 

Hi Team,

We referred to the below links to build this patch …

https://wiki.postgresql.org/wiki/Submitting_a_Patch

https://peter.eisentraut.org/blog/2023/05/09/how-to-submit-a-patch-by-email-2023-edition

 

Please find the attached patch.

 

Apart from the AIX specific changes, there is a minor change in this file wrt to XLC, below is the error for which we removed inline.

Later, the build and tests passed for both XLC(16.1.0.18) and gcc(12) as well.

 

  src/backend/storage/buffer/bufmgr.c

 

  "bufmgr.c", line 811.39: 1506-780 (S) Reference to "RelationGetSmgr" with internal linkage is not allowed within inline definition of "ReadBufferExtended".

  "bufmgr.c", line 811.15: 1506-780 (S) Reference to "ReadBuffer_common" with internal linkage is not allowed within inline definition of "ReadBufferExtended".

  gmake[4]: *** [<builtin>: bufmgr.o] Error 1

 

 

Please let us know your feedback.

 

Thanks,

Sriram.

Attachment

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Avoid possible dereference null pointer (src/backend/catalog/pg_depend.c)
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: zlib detection in Meson on Windows broken?