Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641442 - media-tv/kodi-17.6-r1 fails to compile: final link failed
Summary: media-tv/kodi-17.6-r1 fails to compile: final link failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-17 08:27 UTC by Sven Müller
Modified: 2017-12-18 17:07 UTC (History)
0 users

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


Attachments
emerge --info (emerge_infoh.txt,6.63 KB, text/plain)
2017-12-17 08:28 UTC, Sven Müller
Details
build.log (build.log.xz,76.73 KB, application/x-xz)
2017-12-17 08:29 UTC, Sven Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
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.