Opened on 10/28/20 at 16:14:14
Closed on 02/09/22 at 14:52:58
#4167 closed enhancement (fixed)
Coverity Scan Does Not Run on rtems6
Reported by: | Joel Sherrill | Owned by: | Joel Sherrill |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | tool | Version: | 6 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
This is a ticket to note that Coverity does not appear to like the gcc version going from one to two digits. Since the Coverity Scan support for free users is minimal, I asked on the GCC mailing list if anyone had insight (https://gcc.gnu.org/pipermail/gcc/2020-October/234073.html).
This is completely outside our control and this is just a tracking ticket to note that Coverity Scan reports will be run against the 5 branch until this is fixed. This will likely be of limited use since rtems 5 is stable and changes are minimal compared to the rtems master.
If it really is a two digit major issue (unconfirmed if this works for gcc 9), I could do Coverity builds using a special toolchain based on gcc 9.
Change History (3)
comment:1 Changed on 10/29/20 at 15:19:10 by Joel Sherrill
comment:2 Changed on 12/16/21 at 20:02:55 by Joel Sherrill
Type: | defect → enhancement |
---|
Coverity Scan has been running on RTEMS for a while now. Closing.
comment:3 Changed on 02/09/22 at 14:52:58 by Joel Sherrill
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Didn't get closed last time.
I have done some more analysis which I reported in the GCC mailing list thread. I build sparc-rtems6 tools using gcc 7, 8, 9, and 10. Coverity worked using GCC 7, 8, and 9 but not 10 using the autoconf build since that made it more similar to gcc 7 on rtems5. It required uninstalling Coverity and reinstalling each time I switched GCC versions. There must be some residual configuration left between runs which this addresses.
I did try the waf build with gcc 7, 9, and 10. Same behavior as with the autoconf build.
The questions going forward are:
This is going to be an issue until Coverity updates the binary for Scan to support GCC 10.