[Bug 222925] clang --coverage doesn't work with arm:armv6 and arm:armv7; lib/libclang_rt is installing to the wrong spot
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 11 05:22:00 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222925
Bug ID: 222925
Summary: clang --coverage doesn't work with arm:armv6 and
arm:armv7; lib/libclang_rt is installing to the wrong
spot
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: freebsd-arm at FreeBSD.org
Reporter: ngie at FreeBSD.org
Saw this error with both arm:armv6 and arm:armv7:
9224 /scratch/tmp/ngie/obj/arm.armv6/scratch/tmp/ngie/svn/tmp/usr/bin/ld:
/scratch/tmp/ngie/obj/arm.armv6/scratch/tmp/ngie/svn/tmp/usr/lib/clang/5.0.0/lib/freebsd/libclang_rt.profile-armhf.a:
No such file: No such file or directory
9225 cc: error: linker command failed with exit code 1 (use -v to see
invocation)
9226 --- libc.so.7.full ---
9227 *** [libc.so.7.full] Error code 1
Both architectures are being treated like hard float architectures, based on a
quick peek at contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp :
303 if (TC.getArch() == llvm::Triple::arm || TC.getArch() ==
llvm::Triple::armeb)
304 return (arm::getARMFloatABI(TC, Args) == arm::FloatABI::Hard &&
!IsWindows)
305 ? "armhf"
306 : "arm";
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list