Bug 223174

Summary: devel/riscv64-gcc: doesn't have libgcov.a; doesn't work with --coverage
Product: Ports & Packages Reporter: Enji Cooper <ngie>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: New ---    
Severity: Affects Some People CC: br, kan
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Enji Cooper freebsd_committer 2017-10-22 21:38:03 UTC
In order for external toolchains to work with --coverage, libgcov.a needs to be present. This isn't the case for amd64 and riscv64.
Comment 1 commit-hook freebsd_committer 2017-10-22 21:40:48 UTC
A commit references this bug:

Author: ngie
Date: Sun Oct 22 21:39:58 UTC 2017
New revision: 324874
URL: https://svnweb.freebsd.org/changeset/base/324874

Log:
  Remove BROKEN_OPTIONS/MK_COVERAGE=no for gcc cross-toolchain reliant archs

  The cross-toolchain gcc toolchains aren't installing libgcov.a, but the host
  toolchain variants are. Don't hack around broken packages in the base system.

  PR:		223174

Changes:
  projects/runtime-coverage/share/mk/src.opts.mk
Comment 2 commit-hook freebsd_committer 2017-10-22 22:06:09 UTC
A commit references this bug:

Author: ngie
Date: Sun Oct 22 22:05:37 UTC 2017
New revision: 324875
URL: https://svnweb.freebsd.org/changeset/base/324875

Log:
  Disable MK_COVERAGE in Makefile.inc1 when working with broken gcc packages

  It makes more sense to do this in the top-level Makefile, instead of down in
  src.opts.mk .

  PR:	223174

Changes:
  projects/runtime-coverage/Makefile.inc1
Comment 3 Enji Cooper freebsd_committer 2017-11-05 20:10:10 UTC
lwhsu@ maintains devel/riscv64-gcc -- giving bug to him.