[Bug 265756] clang crashes on devel/py-awscrt on amd64 on 14

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 31 Aug 2023 18:49:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265756

--- Comment #12 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Mark Linimon from comment #11)
I think the confusion is that the same Amazon code that calculates checksums,
and that was causing a clang assertion, has been copy/pasted between several
pieces of software that try to do something with AWS.

Specifically, in bug 234232 the issue was first reported for
devel/aws-checksums, after which I reported it upstream at
https://bugs.llvm.org/show_bug.cgi?id=40985 (which is now
https://github.com/llvm/llvm-project/issues/40330), which is _still_ open as of
today, 2023-08-31.

Meanwhile somebody else also reported it directly to the aws-checksums
developers in https://github.com/awslabs/aws-checksums/issues/49, and
eventually it was fixed there in
https://github.com/awslabs/aws-checksums/commit/ad53be196a25bbefa3700a01187fdce573a7d2d0,
by adjusting the inline assembly to have less-impossible constraints.

However, at the time *this* bug was created, the devel/py-awscrt port still had
an old copy of the awscrt files, including the crash-prone crc32c_sse42_asm.c
file with inline assembly. And in the mean time, the py-awscrt people seem to
have updated their vendor copy of awscrt to a newer version, which no longer
provokes any assertion or "impossible constraint" errors.

Therefore, I think this bug can be closed now?

-- 
You are receiving this mail because:
You are the assignee for the bug.