Created attachment 563622 [details] build.log.xz emerge --info '=www-client/firefox-65.0::gentoo' Portage 2.3.51 (python 2.7.15-final-0, !../../var/lib/layman/distros/profiles/CLD/amd64, gcc-8.2.0, glibc-2.27-r6, 4.19.14-calculate x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.19.14-calculate-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-18.12 KiB Mem: 20555372 total, 6284288 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 31 Jan 2019 05:30:01 +0000 Head commit of repository gentoo: 91433cf4f0269af7b3846b299b1a1c2add8419bf sh bash 4.4_p23-r1 ld GNU gold (Gentoo 2.30 p5 2.30.0) 1.15 ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p23-r1::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.3-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::gentoo, 8.2.0-r6::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git://github.com/calculatelinux/gentoo.git priority: -1000 localoverlay location: /usr/local/portage masters: gentoo priority: 0 crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 calculate location: /var/lib/layman/calculate sync-type: laymansync sync-uri: git://github.com/calculatelinux/calculate.git masters: gentoo priority: 50 deadbeef-overlay location: /var/lib/layman/deadbeef-overlay sync-type: laymansync sync-uri: https://github.com/damex/deadbeef-overlay.git masters: gentoo priority: 50 distros location: /var/lib/layman/distros sync-type: laymansync sync-uri: git://github.com/calculatelinux/distros.git masters: calculate gentoo priority: 50 ixit location: /var/lib/layman/ixit sync-type: laymansync sync-uri: https://github.com/okias/ixit.git masters: gentoo priority: 50 palemoon location: /var/lib/layman/palemoon sync-type: laymansync sync-uri: https://github.com/deu/palemoon-overlay.git masters: gentoo priority: 50 riru location: /var/lib/layman/riru sync-type: laymansync sync-uri: https://github.com/pkulev/riru.git masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: git://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 stuff location: /var/lib/layman/stuff sync-type: laymansync sync-uri: https://github.com/istitov/stuff.git masters: gentoo priority: 50 Installed sets: @autodeps, @custom.cld ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=amdfam10 " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=amdfam10 " DISTDIR="/tmp" EMERGE_DEFAULT_OPTS=" --binpkg-changed-deps=n --quiet-build=n --binpkg-respect-use=y --jobs=4 --quiet-build --jobs=1 --load-average 5 --keep-going" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org" INSTALL_MASK="/etc/systemd /lib*/systemd /usr/lib*/systemd /etc/shorewall/*[!.]???? /etc/shorewall/???? /etc/shorewall/??? /etc/shorewall6/*[!.]???? /etc/shorewall6/???? /etc/shorewall6/???" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="en ru ru_RU" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST="http://mirror.bks-tv.ru/calculate/grp/x86_64" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/calculate/tmp" USE="3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx bash-completion berkdb bittorrent box bzip2 cairo caps cddb cdparanoia cgroups chm cli consolekit cpudetection cracklib crypt css cue cups cxx dbus dftk djvu dri dv dvd dvdr dvdread ebook encode exif faac fexif ffmpeg flash fma3 fma4 foomaticdb fortran ftp gadu gallium gd gdbm gif gphoto2 gpm gstreamer gtk hunspell iconv id3tag idn imagemagick imap introspection irc jabber jpeg jpeg2k kde libnotify libtirpc libwww lm_sensors logrotate lz4 lzo mad matroska mikmod mimap mmx mmxext mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pam pch pcre pdf pgo png policykit popcnt pulseaudio qt5 quicktime raw rdesktop readline real sasl scanner sdl seccomp semantic-desktop smp smtp speex spell srt sse sse2 sse3 sse4_2 sse4a ssl ssse3 svg taglib tcpd tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vnc vorbis vpx wavpack webkit webp win32codecs wmf wxwindows x264 x265 xanim xattr xcomposite xmp xop xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" THEMES="CLD" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= www-client/firefox-65.0::gentoo was built with the following: USE="clang dbus gmp-autoupdate pulseaudio screenshot startup-notification system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp -bindist -custom-cflags -custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel -jack -lto (-neon) -pgo (-selinux) -test -wayland -wifi" ABI_X86="(64)" L10N="ru -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" CFLAGS="-march=amdfam10" CXXFLAGS="-march=amdfam10" LDFLAGS="-Wl,--as-needed -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags"
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.