Perl warnings when building contrib on RHEL 9 beta

From: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Perl warnings when building contrib on RHEL 9 beta
Date: 2021-11-03 16:54:52
Message-ID: ZR0P278MB0920FF59B7570984BD86E0D2D28C9@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi list,

just compiled PostgreSQL head on RedHat 9 beta. Generally seems to be fine but when building contrib, a lot of these warnings pop up:

/usr/lib64/perl5/CORE/inline.h:2635:5: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
ENV_UNLOCK;
^~~~~~~~~~
/usr/lib64/perl5/CORE/perl.h:2925:31: note: expanded from macro 'ENV_UNLOCK'
# define ENV_UNLOCK MUTEX_UNLOCK(&PL_env_mutex)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/perl5/CORE/thread.h:227:5: note: expanded from macro 'MUTEX_UNLOCK'
} STMT_END
^
/usr/lib64/perl5/CORE/inline.h:2635:5: note: ')' token is here
ENV_UNLOCK;
^~~~~~~~~~

Full log attached.

Note: I had to install two different packages compared to RHEL 7 and 8:
perl-FindBin and perl-Opcode

Regards
Daniel

Attachment Content-Type Size
make_install_contrib.log text/x-log 503.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2021-11-03 16:59:04 Re: PITR: enhance getRecordTimestamp()
Previous Message Tom Lane 2021-11-03 16:52:16 Re: Parallelize correlated subqueries that execute within each worker