Bug 198233 - lang/clang-devel : Fix scan-build
Summary: lang/clang-devel : Fix scan-build
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 17:34 UTC by Pedro F. Giffuni
Modified: 2016-02-09 16:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments
Replace 'gcc' and 'g++' (592 bytes, patch)
2015-03-03 17:34 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer freebsd_triage 2015-03-03 17:34:20 UTC
Created attachment 153718 [details]
Replace 'gcc' and 'g++'

clang is hardcoding 'gcc' and 'g++' in the ccc-analyzer script.
This causes scan-build not to work in FreeBSD 10+ whenre there is not such thing as gcc.

Workaround it by replacing it with cc and c++.
Comment 1 Pedro F. Giffuni freebsd_committer freebsd_triage 2016-02-09 16:41:12 UTC
Ping? scan-build doesn't work correctly without this patch :(.
Comment 2 Pedro F. Giffuni freebsd_committer freebsd_triage 2016-02-09 16:46:42 UTC
Ugh ... just noticed this needs to be fixed in llvm-devel now.