Summary: | =www-client/firefox-65.0 LD="lld" USE="clang lto pgo" with sys-devel/clang-7.0.1 - clang: Intrinsic has incorrect argument type! // void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander <abbat.2008> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | abbat.2008, Christopher.Lundgren |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=675484 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.xz |
Description
Alexander
2019-02-03 11:42:09 UTC
878:08.13 /usr/lib/llvm/7/bin/x86_64-pc-linux-gnu-clang -std=gnu99 -Qunused-arguments -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=amdfam10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -O3 -fomit-frame-pointer -funwind-tables -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -fprofile-instr-use=/var/calculate/tmp/portage/www-client/firefox-65.0/work/firefox-65.0/ff/merged.profdata -Wno-error=profile-instr-out-of-date -Wno-error=profile-instr-unprofiled -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libmozavutil.so -o libmozavutil.so /var/calculate/tmp/portage/www-client/firefox-65.0/work/firefox-65.0/ff/media/ffvpx/libavutil/libmozavutil_so.list -flto=thin -lpthread -Wl,--as-needed -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -fuse-ld=lld -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,-rpath-link,/var/calculate/tmp/portage/www-client/firefox-65.0/work/firefox-65.0/ff/dist/bin -Wl,-rpath-link,/usr/lib -fcolor-diagnostics -Wl,--version-script,libmozavutil.so.symbols -ldl -lm 878:08.13 Intrinsic has incorrect argument type! 878:08.13 void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64 878:08.14 LLVM ERROR: Broken function found, compilation aborted! 878:08.14 clang-7: error: linker command failed with exit code 1 (use -v to see invocation) 878:08.14 gmake[5]: *** [/var/calculate/tmp/portage/www-client/firefox-65.0/work/firefox-65.0/config/rules.mk:712: libmozavutil.so] Error 1 878:08.14 gmake[5]: Leaving directory '/var/calculate/tmp/portage/www-client/firefox-65.0/work/firefox-65.0/ff/media/ffvpx/libavutil' 878:08.14 gmake[4]: *** [/var/calculate/tmp/portage/www-client/firefox-65.0/work/firefox-65.0/config/recurse.mk:74: media/ffvpx/libavutil/target] Error 2 878:08.14 gmake[4]: *** Waiting for unfinished jobs.... That is expected, ldd is not a linker. If you wanted to use the clang linker that one is called lld. (In reply to Andrei Slavoiu from comment #2) > That is expected, ldd is not a linker. If you wanted to use the clang linker > that one is called lld. Sorry, I was wrong when typing. In the console it was exactly LD="lld". You shouldn't need to set LD=lld if you have both "clang" and "lto" enabled. From my "clang"+"lto"-build: --enable-linker=lld forcing ld=lld due to USE=clang and USE=lto (In reply to Chris from comment #4) > You shouldn't need to set LD=lld if you have both "clang" and "lto" enabled. > From my "clang"+"lto"-build: > > --enable-linker=lld forcing ld=lld due to USE=clang and USE=lto Thank you, take note. Bug is outdated, these versions are no longer in portage, with new versions of Firefox and Clang compilation is successful. |