| From: | "Greg Burd" <greg(at)burd(dot)me> |
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Michael Paquier" <michael(at)paquier(dot)xyz>, "Alexander Lakhin" <exclusion(at)gmail(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "Thomas Munro" <thomas(dot)munro(at)gmail(dot)com> |
| Subject: | Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly |
| Date: | 2026-03-16 12:13:55 |
| Message-ID: | db01b708-90da-4f52-ae5a-7e9da44ffa7c@app.fastmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sun, Mar 15, 2026, at 9:40 PM, Tom Lane wrote:
> Michael Paquier <michael(at)paquier(dot)xyz> writes:
>> On Sun, Mar 15, 2026 at 02:00:00PM +0200, Alexander Lakhin wrote:
>>> adding -march=rv64gcv to CFLAGS makes clang generate different (wrong?)
>>> code for crypt-des.c. Namely, having reproduced the diff locally, with
>>> this debugging addition:
>>> when the code compiled with CC=clang-20 CPPFLAGS="-march=rv64gcv".
>
>> Thanks for the detailed investigation. I was puzzled by it myself for
>> a couple of hours, and did not see something else than a broken
>> compiler here..
>
> Seems like this might be worth a bug report to the clang people.
Thanks Alexander for digging and a solid report of the issue, and Michael for spending some time on this, and Tom for chiming in as well. I agree this looks like a compiler issue. I know that Thomas (added/CC'ed) you've posted bugs against clang before, any thoughts on this one?
>
> regards, tom lane
best.
-greg
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2026-03-16 12:21:08 | Re: Adding REPACK [concurrently] |
| Previous Message | Alena Rybakina | 2026-03-16 12:11:06 | Re: Vacuum statistics |