[RTEMS Project] #4167: Coverity Scan Does Not Run on rtems6

RTEMS trac trac at rtems.org
Thu Oct 29 15:19:10 UTC 2020

#4167: Coverity Scan Does Not Run on rtems6
 Reporter:  Joel Sherrill  |       Owner:  Joel Sherrill
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  6.1
Component:  tool           |     Version:  6
 Severity:  normal         |  Resolution:
 Keywords:                 |  Blocked By:
 Blocking:                 |

Comment (by Joel Sherrill):

 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:

 * Is there a way to make Coverity aware of a bug like this? Support for
 the open source projects using Coverity Scan is minimal.

 * Do we want to switch to the master for Coverity runs? This would require
 me using a special gcc9 build. The code on rtems5 is stable and any
 fixes/changes are much more likely to be on the master so I tend to lean
 to switching.

 This is going to be an issue until Coverity updates the binary for Scan to
 support GCC 10.

Ticket URL: <http://devel.rtems.org/ticket/4167#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list