Bug 55599 - LTO build breakage
Summary: LTO build breakage
Status: RESOLVED DUPLICATE of bug 55080
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-04 00:37 UTC by Rafael Castillo
Modified: 2012-11-09 17:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Rafael Castillo 2012-10-04 00:37:13 UTC
error detail:
CCLD     libglapi.la
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-libs/mesa-9999/temp/cc5rdqpY.ltrans0.ltrans.o: warning: relocation against `x86_64_entry_start.2365.2566' in readonly section `.text'.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-libs/mesa-9999/temp/cc5rdqpY.ltrans0.ltrans.o: relocation R_X86_64_PC32 against undefined symbol `x86_64_entry_start.2365.2566' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

reproducible always LTO is enabled 

gcc-4.7.1
Comment 1 Fabio Pedretti 2012-10-04 06:21:10 UTC
This should be the same as bug #55080, but the error message is slighty different since this is a 64 bit system rather than 32. This also suggest to use -fPIC.
Comment 2 Fabio Pedretti 2012-11-09 17:10:42 UTC

*** This bug has been marked as a duplicate of bug 55080 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.