Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 641442

Summary: media-tv/kodi-17.6-r1 fails to compile: final link failed
Product: Gentoo Linux Reporter: Sven Müller <musv>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Sven Müller 2017-12-17 08:27:35 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib64/libcrossguid.a(guid.o): relocation R_X86_64_32 against symbol `_ZSt3hexRSt8ios_base' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/kodi.dir/build.make:412: kodi.bin] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-tv/kodi-17.6-r1/work/kodi-17.6_build'
make[1]: *** [CMakeFiles/Makefile2:268: CMakeFiles/kodi.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-tv/kodi-17.6-r1/work/kodi-17.6_build'
make: *** [Makefile:141: all] Error 2
 * ERROR: media-tv/kodi-17.6-r1::gentoo failed (compile phase):


Compiler is gcc-7.2.0
Comment 1 Sven Müller 2017-12-17 08:28:01 UTC
Created attachment 510420 [details]
emerge --info
Comment 2 Sven Müller 2017-12-17 08:29:56 UTC
Created attachment 510422 [details]
build.log
Comment 3 Craig Andrews gentoo-dev 2017-12-18 01:09:17 UTC
Did you switch to the 17.0 profile? Did you follow the migration instructions? https://www.gentoo.org/support/news-items/2017-11-30-new-17-profiles.html
Comment 4 Sven Müller 2017-12-18 17:06:44 UTC
Thanks, I've rebuild all related packages. Kodi compiles and links fine.