FS#71193 - [clang] Random crashes with clang-12

Attached to Project: Arch Linux
Opened by Daniel Schopf (dschopf) - Wednesday, 09 June 2021, 04:28 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 14 June 2021, 17:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

There are random crashes in clang-12 when compiling a simple C file.
According to the upstream bug this seems to be caused by compiling
clang/llvm using an old GCC version.

https://bugs.llvm.org/show_bug.cgi?id=50611

I would assume that llvm 12.0.0-1 and companions are compiled using at least
GCC 10 or later. Could you confirm this?
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 14 June 2021, 17:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  Worked around in llvm-libs 12.0.0-2.
Comment by Evangelos Foutras (foutrelis) - Wednesday, 09 June 2021, 05:17 GMT
Yes, they are compiled with GCC 11.1. I can also reproduce the crash you reported upstream. Perhaps it's related to  FS#70697  -- will have to check. (EDIT: Still reproducible without those changes, so it's unrelated to  FS#70697 .)

Loading...