Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532096 - =sys-devel/llvm-3.5.0 fails tests 'Clang :: Driver/gcc-toolchain.cpp' 'Clang :: Driver/montavista-gcc-toolchain.c'
Summary: =sys-devel/llvm-3.5.0 fails tests 'Clang :: Driver/gcc-toolchain.cpp' 'Clang ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 23:31 UTC by eroen
Modified: 2015-10-13 13:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-devel:llvm-3.5.0:20141209-213118.log.xz (sys-devel:llvm-3.5.0:20141209-213118.log.xz,321.98 KB, application/x-xz)
2014-12-09 23:31 UTC, eroen
Details
llvm-3.5.0.src-abi_x86_32.x86/tools/clang/test/Driver/Output/gcc-toolchain.cpp.script (gcc-toolchain.cpp.script,1.54 KB, text/plain)
2014-12-09 23:42 UTC, eroen
Details
llvm-3.5.0.src-abi_x86_32.x86/tools/clang/test/llvm-3.5.0.src-abi_x86_32.x86/tools/clang/test/Driver/Output/montavista-gcc-toolchain.c.scriptDriver/Output/montavista-gcc-toolchain.c.script (montavista-gcc-toolchain.c.script,542 bytes, text/plain)
2014-12-09 23:42 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2014-12-09 23:31:13 UTC
Created attachment 391312 [details]
sys-devel:llvm-3.5.0:20141209-213118.log.xz

$ grep ^FAIL /var/log/portage/sys-devel:llvm-3.5.0:20141209-213118.log
FAIL: Clang :: Driver/gcc-toolchain.cpp (3002 of 7516)
FAIL: Clang :: Driver/montavista-gcc-toolchain.c (3043 of 7516)

...
Testing Time: 131.40s
********************
Failing Tests (2):
    Clang :: Driver/gcc-toolchain.cpp
    Clang :: Driver/montavista-gcc-toolchain.c

  Expected Passes    : 7388
  Expected Failures  : 13
  Unsupported Tests  : 113
  Unexpected Failures: 2
Makefile:33: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/var/tmp-ext4/portage/sys-devel/llvm-3.5.0/work/llvm-3.5.0.src-abi_x86_32.x86/tools/clang/test'
Makefile:99: recipe for target 'test' failed
make: *** [test] Error 2
make: Leaving directory '/var/tmp-ext4/portage/sys-devel/llvm-3.5.0/work/llvm-3.5.0.src-abi_x86_32.x86/tools/clang'
 * ERROR: sys-devel/llvm-3.5.0::gentoo failed (test phase):
 *   emake failed
Comment 1 eroen 2014-12-09 23:42:32 UTC
Created attachment 391314 [details]
llvm-3.5.0.src-abi_x86_32.x86/tools/clang/test/Driver/Output/gcc-toolchain.cpp.script
Comment 2 eroen 2014-12-09 23:42:57 UTC
Created attachment 391316 [details]
llvm-3.5.0.src-abi_x86_32.x86/tools/clang/test/llvm-3.5.0.src-abi_x86_32.x86/tools/clang/test/Driver/Output/montavista-gcc-toolchain.c.scriptDriver/Output/montavista-gcc-toolchain.c.script
Comment 3 eroen 2014-12-09 23:43:48 UTC
eroen@falcon ~ $ emerge --info '=sys-devel/llvm-3.5.0::gentoo'                                                                             
Portage 2.2.15 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.9.1, glibc-2.20, 3.16.3.e0-falcon1+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.3.e0-falcon1+-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4043320 total,   1070876 free
KiB Swap:    8388604 total,   6413764 free
Timestamp of tree: Mon, 08 Dec 2014 20:45:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1
dev-lang/python:          2.7.8, 3.2.5-r6, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r4, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.4, 4.8.3, 4.9.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo crossdev gamerlay eroen
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --nospinner --quiet-build --verbose-conflicts --with-bdeps=y --binpkg-respect-use y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=""
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4 -l6"
PKGDIR="/var/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/gamerlay /var/lib/layman/eroen"
USE="X a52 aac acl alsa amd64 ao berkdb bluray bs2b bzip2 cairo calendar caps cdda cdio cli cracklib crypt cups curl cxx dbus djvu dri dts dvd exif fam ffmpeg fftw fits flac fontconfig fortran fuse gcrypt gd gdbm gif gimp git gmp gnutls gstreamer highlight iconv icu id3tag idn imagemagick ipv6 jpeg jpeg2k kde ladspa lcms libass libcaca libnotify lzma lzo mad midi mikmod mms mmx mmxext mng modplug modules mp3 mp4 mpeg mplayer mtp multilib musepack ncurses netlink nls nptl offensive ogg openal opencl openexr opengl openmp opus pam pango pcre pdf png pnm portaudio postscript qalculate qt3support qt4 rar raw readline rtmp samba scanner session sndfile speex sse sse2 sse3 ssl ssse3 svg tcpd theora threads tiff truetype udev unicode usb v4l vdpau vnc vorbis wavpack webp wmf x264 xattr xcb xft xine xinerama xrandr xv xvid zlib" ABI_X86="32 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="en en_US en_GB nb no nb_NO" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="m68k ppc x86_64" RUBY_TARGETS="ruby20" SANE_BACKENDS="net plustek pnm" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa" XFCE_PLUGINS="clock trash" 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"
USE_PYTHON="2.7 3.2 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC

eroen@falcon ~ $ emerge -pqv '=sys-devel/llvm-3.5.0::gentoo'
[ebuild     U ] sys-devel/llvm-3.5.0 [3.4.1-r1] USE="clang gold libffi ncurses static-analyzer {test} -debug -doc -libedit% -multitarget -ocaml -python -xml (-cmake%) (-udis86%)" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 -pypy" VIDEO_CARDS="-radeon" 
[ebuild     U ] sys-devel/clang-3.5.0-r100 [3.4.1-r100] USE="static-analyzer -debug -multitarget -python" ABI_X86="32 (64) (-x32)" 
[blocks B     ] <=sys-devel/clang-3.5.0-r99 ("<=sys-devel/clang-3.5.0-r99" is blocking sys-devel/llvm-3.5.0)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-devel/clang:0

  (sys-devel/clang-3.5.0-r100:0/3.5::gentoo, ebuild scheduled for merge) pulled in by
    =sys-devel/clang-3.5.0-r100 required by (sys-devel/llvm-3.5.0:0/3.5::gentoo, ebuild scheduled for merge)
    ^                ^^^^^^^^^^                                                                                                                                    

  (sys-devel/clang-3.4.1-r100:0/3.4::gentoo, installed) pulled in by
    =sys-devel/clang-3.4.1-r100 required by (sys-devel/llvm-3.4.1-r1:0/3.4::gentoo, installed)
    ^                ^^^^^^^^^^                                                                                                                      
    =sys-devel/clang-3.4* required by (dev-util/include-what-you-use-3.4:0/0::gentoo, installed)
    ^                ^^^^                                                                                                                              

sys-devel/llvm:0

  (sys-devel/llvm-3.5.0:0/3.5::gentoo, ebuild scheduled for merge) pulled in by
    =sys-devel/llvm-3.5.0::gentoo (Argument)
    ~sys-devel/llvm-3.5.0[clang(-),debug=,multitarget?,python?,static-analyzer,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-devel/clang-3.5.0-r100:0/3.5::gentoo, ebuild scheduled for merge)
    ^               ^^^^^                                                                                                                                                                                                                                                                                                                                                               

  (sys-devel/llvm-3.4.1-r1:0/3.4::gentoo, installed) pulled in by
    ~sys-devel/llvm-3.4.1[clang(-),-debug,static-analyzer,abi_x86_32(-),abi_x86_64(-)] required by (sys-devel/clang-3.4.1-r100:0/3.4::gentoo, installed)
    ^               ^^^^^                                                                                                                                                                                      
    =sys-devel/llvm-3.4* required by (dev-util/include-what-you-use-3.4:0/0::gentoo, installed)
    ^               ^^^^                                                                                                                              



 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

!!! The following installed packages are masked:
- dev-db/mysql-5.5.37-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Sergey Popov <pinkbyte@gentoo.org> (04 Sep 2014)
# Security mask, wrt bugs #488212, #498164, #500260,
# #507802 and #518718

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 4 eroen 2014-12-10 02:35:31 UTC
The same tests also fail for x86_64 abi.
Comment 5 Bernard Cafarelli gentoo-dev 2015-10-13 13:47:41 UTC
gcc-toolchain* tests should now be OK, can you confirm with current ~arch version, 3.7.0-r2?