Date: Mon, 26 Dec 2016 03:49:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215566] devel/llvm37: scan-build37 expects to find gcc and fails on 11.0 Message-ID: <bug-215566-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215566 Bug ID: 215566 Summary: devel/llvm37: scan-build37 expects to find gcc and fails on 11.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: bruce.cran@gmail.com Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org Trying to run scan-build37 from the devel/llvm37 port results in an error: Can't exec "gcc": No such file or directory at /usr/local/llvm37/bin/../libexec/ccc-analyzer line 459. Strangely the description at the top of ccc-analyzer says: > # A script designed to interpose between the build system and gcc. It i= nvokes > # both gcc and the static analyzer. I don't know why it doesn't mention clang. But, later on there's: ` if (`uname -a` =3D~ m/Darwin/) { $DefaultCCompiler =3D 'clang'; $DefaultCXXCompiler =3D 'clang++'; # Older versions of OSX do not have xcrun to # query the SDK location. if (-x "/usr/bin/xcrun") { $UseXCRUN =3D 1; } } else { $DefaultCCompiler =3D 'gcc'; $DefaultCXXCompiler =3D 'g++'; } ` Since FreeBSD now uses clang by default too, should the 'if' clause be upda= ted? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215566-13>