ports/183802: lang/clang-devel : ccc-analyzer uses gcc/g++ by default

Philippe Michel philippe.michel7 at sfr.fr
Fri Nov 8 21:00:00 UTC 2013


>Number:         183802
>Category:       ports
>Synopsis:       lang/clang-devel : ccc-analyzer uses gcc/g++ by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 08 21:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Michel
>Release:        10.0-BETA2
>Organization:
>Environment:
FreeBSD metropolis 10.0-BETA2 FreeBSD 10.0-BETA2 #0 r257579: Sun Nov  3 22:36:45 CET 2013     pm at metropolis:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
ccc-analyzer uses gcc and g++ as default compilers by default. This fails on FreeBSD 10.0 where gcc is not installed in the base system.
>How-To-Repeat:
Compile something with CC=ccc-analyzer-devel

>Fix:
It seems sensible that ccc-analyzer-devel should use clang-devel and clang++-devel as default compilers, even in earlier releases where gcc is available.

The analyzers from sibling lang/clang* ports may well have the same issue, using gcc instead of the version of clang included in the port itself.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list