Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 578400 Details for
Bug 687198
flag-o-matic.eclass - strip-unsupported-flags should not strip '-B' flag with clang
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-libs/compiler-rt-8.0.0::gentoo build failure with clang's '-B' flag
build-compiler-rt.log (text/plain), 13.38 KB, created by
Julian Cléaud
on 2019-06-02 13:30:39 UTC
(
hide
)
Description:
sys-libs/compiler-rt-8.0.0::gentoo build failure with clang's '-B' flag
Filename:
MIME Type:
Creator:
Julian Cléaud
Created:
2019-06-02 13:30:39 UTC
Size:
13.38 KB
patch
obsolete
>############################################################################### ># ># emerge --info '=sys-libs/compiler-rt-8.0.0::gentoo' ># >############################################################################### > >Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.29-r2, 5.0.13-gentoo x86_64) >================================================================= > System Settings >================================================================= >System uname: Linux-5.0.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.6 >KiB Mem: 16396772 total, 5648636 free >KiB Swap: 5242840 total, 5239768 free >Timestamp of repository gentoo: Sat, 01 Jun 2019 11:30:01 +0000 >Head commit of repository gentoo: 4b60029dc47d04e36f9f01b706cec227ea168e31 >Head commit of repository flatpak-overlay: fd4c72b2d0653ea1ae6a4e0562604f00ba3e1eef > >sh bash 4.4_p23-r1 >ld GNU ld (Gentoo 2.31.1 p7) 2.31.1 >app-shells/bash: 4.4_p23-r1::gentoo >dev-java/java-config: 2.2.0-r4::gentoo >dev-lang/perl: 5.28.2-r1::gentoo >dev-lang/python: 2.7.15::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo >dev-util/cmake: 3.14.3::gentoo >dev-util/pkgconfig: 0.29.2::gentoo >sys-apps/baselayout: 2.6-r1::gentoo >sys-apps/sandbox: 2.13::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo >sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo >sys-devel/binutils: 2.30-r4::gentoo, 2.31.1-r6::gentoo >sys-devel/gcc: 7.3.0-r3::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: 5.0-r1::gentoo (virtual/os-headers) >sys-libs/glibc: 2.29-r2::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > >gentoo-clang > location: /usr/local/portage/gentoo-clang > masters: gentoo > >nvidia-prime > location: /usr/local/portage/nvidia-prime > masters: gentoo > >flatpak-overlay > location: /usr/local/portage/flatpak-overlay > sync-type: git > sync-uri: https://github.com/fosero/flatpak-overlay.git > masters: gentoo > priority: 50 > >gamerlay > location: /var/lib/layman/gamerlay > sync-type: laymansync > sync-uri: https://anongit.gentoo.org/git/proj/gamerlay.git > masters: gentoo > priority: 50 > >elementary > location: /usr/local/portage/elementary > masters: gentoo > priority: 90 > >openstack > location: /usr/local/portage/openstack > masters: gentoo > priority: 90 > >localrepo > location: /usr/local/portage/localrepo > masters: gentoo > priority: 100 > >ACCEPT_KEYWORDS="amd64" >ACCEPT_LICENSE="@FREE" >CBUILD="x86_64-pc-linux-gnu" >CC="/usr/lib/llvm/8/bin/clang" >CFLAGS="-B /usr/lib/llvm/8/binutils-bin -O2 -pipe -march=native" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind" >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/terminfo" >CXX="/usr/lib/llvm/8/bin/clang++" >CXXFLAGS="-B /usr/lib/llvm/8/binutils-bin -O2 -pipe -march=native" >DISTDIR="/usr/portage/distfiles" >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 candy 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 userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="en_US.utf8" >LC_ALL="en_US.UTF-8" >LDFLAGS="-fuse-ld=lld -Wl,-O2 -Wl,--as-needed" >LINGUAS="fr fr_FR en en_US" >MAKEOPTS="-j9" >PKGDIR="/usr/portage/packages" >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/tmp" >USE="X a52 aac aalib acl acpi aes alsa amd64 avx avx2 berkdb bluetooth branding bzip2 cairo caps cdda cdr cjk cli colord crypt cups curl cxx dbus djvu dri dts dvd dvdr eds emboss encode evo exif f16c fam ffmpeg fftw flac fma3 fontconfig fortran gdbm gif gimp glamor gmp gnome gnome-keyring gnome-online-accounts gnutls gpm graphviz gsm gstreamer gtk gtk3 iconv idn inotify introspection ipv6 jack java javascript jbig jpeg jpeg2k json kerberos ladspa lcms ldap libass libcaca libnotify libsamplerate libsecret libtirpc lua lzma lzo mad mmx mmxext mng modplug mp3 mp4 mpeg multilib mysql nautilus ncurses networkmanager nfs nls nptl nsplugin ogg openal openexr opengl openmp orc pam pango pcre pdf perl png policykit popcnt postgres postscript ppds pulseaudio python qt5 raw readline ruby samba sasl sdl sdl2 seccomp smartcard snmp speex spell spice sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcl tcpd theora threads tiff tracker truetype udev udisks unicode upower usb v4l vaapi vala vdpau vnc vorbis wavpack wayland wmf wxwidgets x264 xattr xcb xinerama xml xpm xv xvid zeroconf 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="fr fr_FR en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LLVM_TARGETS="NVPTX AMDGPU BPF" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_5" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppcemb sparc sparc64 x86_64" QEMU_USER_TARGETS="aarch64 arm armeb i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppc64abi32 ppc64le sparc sparc32plus sparc64 x86_64" RUBY_TARGETS="ruby24" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > >================================================================= > Package Settings >================================================================= > >sys-libs/compiler-rt-8.0.0::gentoo was built with the following: >USE="clang -test" ABI_X86="(64)" > > > >############################################################################### ># ># emerge -pqv '=sys-libs/compiler-rt-8.0.0::gentoo' ># >############################################################################### > >[ebuild R ] sys-libs/compiler-rt-8.0.0 USE="clang -test" > > * IMPORTANT: 2 news items need reading for repository 'gentoo'. > * Use eselect news read to view new items. > > > >############################################################################### ># ># /var/tmp/portage/sys-libs/compiler-rt-8.0.0/temp/build.log ># >############################################################################### > > >[32;01m * [39;49;00mPackage: sys-libs/compiler-rt-8.0.0 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: llvm@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 clang elibc_glibc kernel_linux userland_GNU >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking compiler-rt-8.0.0.src.tar.xz to /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work >>>> Source unpacked in /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work >>>> Preparing source in /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0.src ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0.src ... >>>> Working in BUILD_DIR: "/var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build" >cmake -C /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILER_RT_INSTALL_PATH=/usr/lib/clang/8.0.0 -DCOMPILER_RT_INCLUDE_TESTS=no -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build/gentoo_toolchain.cmake /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0.src >loading initial cache file /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build/gentoo_common_config.cmake >-- The C compiler identification is Clang 8.0.0 >-- The CXX compiler identification is Clang 8.0.0 >-- The ASM compiler identification is Clang >-- Found assembler: /usr/lib/llvm/8/bin/x86_64-pc-linux-gnu-clang >-- Check for working C compiler: /usr/lib/llvm/8/bin/x86_64-pc-linux-gnu-clang >-- Check for working C compiler: /usr/lib/llvm/8/bin/x86_64-pc-linux-gnu-clang -- broken >CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:60 (message): > The C compiler > > "/usr/lib/llvm/8/bin/x86_64-pc-linux-gnu-clang" > > is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: /var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build/CMakeFiles/CMakeTmp > > Run Build Command(s):/usr/bin/ninja cmTC_be0f2 > [1/2] Building C object CMakeFiles/cmTC_be0f2.dir/testCCompiler.c.o > clang-8: warning: /usr/lib/llvm/8/binutils-bin: 'linker' input unused [-Wunused-command-line-argument] > [2/2] Linking C executable cmTC_be0f2 > FAILED: cmTC_be0f2 > : && /usr/lib/llvm/8/bin/x86_64-pc-linux-gnu-clang /usr/lib/llvm/8/binutils-bin -O2 -pipe -march=native -fuse-ld=lld -Wl,-O2 -Wl,--as-needed -nodefaultlibs -lc CMakeFiles/cmTC_be0f2.dir/testCCompiler.c.o -o cmTC_be0f2 && : > ld.lld: error: cannot open /usr/lib/llvm/8/binutils-bin: Is a directory > clang-8: error: linker command failed with exit code 1 (use -v to see invocation) > ninja: build stopped: subcommand failed. > > > > > CMake will not be able to correctly generate this project. >Call Stack (most recent call first): > CMakeLists.txt:10 (project) > > >-- Configuring incomplete, errors occurred! >See also "/var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build/CMakeFiles/CMakeOutput.log". >See also "/var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build/CMakeFiles/CMakeError.log". > [31;01m*[0m ERROR: sys-libs/compiler-rt-8.0.0::gentoo failed (configure phase): > [31;01m*[0m cmake failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 124: Called src_configure > [31;01m*[0m environment, line 3928: Called cmake-utils_src_configure > [31;01m*[0m environment, line 1103: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-libs/compiler-rt-8.0.0::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-libs/compiler-rt-8.0.0::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-libs/compiler-rt-8.0.0/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-libs/compiler-rt-8.0.0/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0_build' > [31;01m*[0m S: '/var/tmp/portage/sys-libs/compiler-rt-8.0.0/work/compiler-rt-8.0.0.src'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 687198
: 578400