| Summary: | media-libs/mesa-17.1.10 - /work/mesa-17.1.10/src/amd/common/ac_llvm_helper.cpp:49:79: error: no matching function for call to ‘llvm::Argument::addAttr(llvm::AttributeList)’ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter Ulrich <ad_grobi> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
# emerge --info '=media-libs/mesa-17.1.10::gentoo'
# emerge -pqv '=media-libs/mesa-17.1.10::gentoo' build.tar.bz2 |
||
Created attachment 511362 [details]
# emerge -pqv '=media-libs/mesa-17.1.10::gentoo'
Created attachment 511364 [details]
build.tar.bz2
I was following the news: 2017-11-30-new-17-profiles and followed the steps there.
==================
If not already done,
* Use gcc-config to select gcc-6.4.0 or later as system compiler
* Re-source /etc/profile:
. /etc/profile
* Re-emerge libtool
emerge -1 sys-devel/libtool
Then,
* Select the new profile with eselect
* Re-emerge, in this sequence, gcc, binutils, and glibc
emerge -1 sys-devel/gcc:6.4.0
emerge -1 sys-devel/binutils
emerge -1 sys-libs/glibc
* Rebuild your entire system
emerge -e @world
==================
The compilation of mesa failed during "emerge -e @world".
I have the same problem.
# emerge --info '=media-libs/mesa-17.1.10::gentoo'
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_FX-tm-6300_Six-Core_Processor-with-gentoo-2.4.1
KiB Mem: 8067940 total, 3416384 free
KiB Swap: 8388604 total, 8388604 free
Timestamp of repository gentoo: Thu, 21 Dec 2017 20:00:01 +0000
Head commit of repository gentoo: 10a95c535058fe4c58ae05a923b07fe39eb93348
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
app-shells/bash: 4.3_p48-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.3::gentoo
dev-lang/python: 2.7.14-r1::gentoo, 3.4.5::gentoo, 3.5.4-r1::gentoo
dev-util/cmake: 3.8.2::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.4.1-r2::gentoo
sys-apps/openrc: 0.34.11::gentoo
sys-apps/sandbox: 2.10-r4::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils: 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.25-r9::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
dotnet
location: /var/lib/layman/dotnet
masters: gentoo
priority: 50
jorgicio
location: /var/lib/layman/jorgicio
masters: gentoo
priority: 50
matrix
location: /var/lib/layman/matrix
masters: gentoo
priority: 50
raiagent
location: /var/lib/layman/raiagent
masters: gentoo
priority: 50
sattvik
location: /var/lib/layman/sattvik
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=bdver1 -mprefer-avx128 -mvzeroupper -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=bdver1 -mprefer-avx128 -mvzeroupper -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch 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="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cryptsetup cups cxx dbus device-mapper dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt5 readline sdl seccomp session spell ssl startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="de en en_US en_GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_US en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment on attachment 511364 [details]
build.tar.bz2
Hint: You can compress singular files *without* tar.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53123145d790b74aad2a4a8bb3cbfb7c64c1040f commit 53123145d790b74aad2a4a8bb3cbfb7c64c1040f Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-12-27 19:34:29 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-12-27 19:37:25 +0000 media-libs/mesa: Bind LLVM deps to <4 (= slot 0) in 17.1.10 Closes: https://bugs.gentoo.org/640650 Closes: https://bugs.gentoo.org/641908 media-libs/mesa/mesa-17.1.10.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) |
Created attachment 511360 [details] # emerge --info '=media-libs/mesa-17.1.10::gentoo' The package does not build. Error: libtool: link: ( cd "addrlib/.libs" && rm -f "libamdgpu_addrlib.la" && ln -s "../libamdgpu_addrlib.la" "libamdgpu_addrlib.la" ) /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/amd/common/ac_llvm_helper.cpp: In function ‘void ac_add_attr_dereferenceable(LLVMValueRef, uint64_t)’: /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/amd/common/ac_llvm_helper.cpp:49:79: error: no matching function for call to ‘llvm::Argument::addAttr(llvm::AttributeList)’ A->addAttr(llvm::AttributeList::get(A->getContext(), A->getArgNo() + 1, B)); ^ In file included from /usr/lib64/llvm/5/include/llvm/IR/Function.h:26:0, from /usr/lib64/llvm/5/include/llvm/IR/Module.h:26, from /usr/lib64/llvm/5/include/llvm/ExecutionEngine/ExecutionEngine.h:26, from /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/amd/common/ac_llvm_helper.cpp:35: /usr/lib64/llvm/5/include/llvm/IR/Argument.h:112:8: note: candidate: void llvm::Argument::addAttr(llvm::Attribute::AttrKind) void addAttr(Attribute::AttrKind Kind); ^~~~~~~ /usr/lib64/llvm/5/include/llvm/IR/Argument.h:112:8: note: no known conversion for argument 1 from ‘llvm::AttributeList’ to ‘llvm::Attribute::AttrKind’ /usr/lib64/llvm/5/include/llvm/IR/Argument.h:114:8: note: candidate: void llvm::Argument::addAttr(llvm::Attribute) void addAttr(Attribute Attr); ^~~~~~~ /usr/lib64/llvm/5/include/llvm/IR/Argument.h:114:8: note: no known conversion for argument 1 from ‘llvm::AttributeList’ to ‘llvm::Attribute’