Date: Wed, 11 Oct 2017 05:22:00 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 222925] clang --coverage doesn't work with arm:armv6 and arm:armv7; lib/libclang_rt is installing to the wrong spot Message-ID: <bug-222925-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222925 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@FreeBSD.org Reporter: ngie@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 o= n a quick peek at contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp : 303 if (TC.getArch() =3D=3D llvm::Triple::arm || TC.getArch() =3D=3D llvm::Triple::armeb) 304 return (arm::getARMFloatABI(TC, Args) =3D=3D arm::FloatABI::Hard && !IsWindows) 305 ? "armhf" 306 : "arm"; --=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-222925-7>