Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly

Поиск
Список
Период
Сортировка
От Greg Burd
Тема Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly
Дата
Msg-id db01b708-90da-4f52-ae5a-7e9da44ffa7c@app.fastmail.com
обсуждение исходный текст
Ответ на Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly
Список pgsql-hackers
On Sun, Mar 15, 2026, at 9:40 PM, Tom Lane wrote:
> Michael Paquier <michael@paquier.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
chimingin as well.  I agree this looks like a compiler issue.  I know that Thomas (added/CC'ed) you've posted bugs
againstclang before, any thoughts on this one?
 

>
>             regards, tom lane

best.

-greg



В списке pgsql-hackers по дате отправления: