Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624006 - app-emulation/vice-2.4.31 : /.../ld: ../.../libresid.a(sid.o): relocation R_X86_64_32S against `.rodata.cst16' can not be used when making a shared object; recompile with -fPIC
Summary: app-emulation/vice-2.4.31 : /.../ld: ../.../libresid.a(sid.o): relocation R_X...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 648890
Blocks:
  Show dependency tree
 
Reported: 2017-07-06 16:15 UTC by Toralf Förster
Modified: 2018-07-03 16:39 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.78 KB, text/plain)
2017-07-06 16:15 UTC, Toralf Förster
Details
app-emulation:vice-2.4.31:20170706-074154.log (app-emulation:vice-2.4.31:20170706-074154.log,51.72 KB, text/plain)
2017-07-06 16:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,363.54 KB, text/plain)
2017-07-06 16:16 UTC, Toralf Förster
Details
environment (environment,116.94 KB, text/plain)
2017-07-06 16:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,27.97 KB, application/x-bzip)
2017-07-06 16:16 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,36.62 KB, application/x-bzip)
2017-07-06 16:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.96 KB, application/x-bzip)
2017-07-06 16:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-06 16:15:55 UTC
Making all in p64
Making all in platform
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/resid/libresid.a(sid.o): relocation R_X86_64_32S against `.rodata.cst16' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/resid/libresid.a(wave.o): relocation R_X86_64_32 against symbol `_ZN5reSID17WaveformGenerator10model_waveE' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/resid/libresid.a(envelope.o): relocation R_X86_64_32 against symbol `_ZN5reSID17EnvelopeGenerator9model_dacE' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/resid/libresid.a(filter.o): relocation R_X86_64_32 against symbol `_ZN5reSID6Filter12model_filterE' can not be used when making a shared object; recompile with -fPIC

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20170627-203711

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 *
Comment 1 Toralf Förster gentoo-dev 2017-07-06 16:15:59 UTC
Created attachment 481262 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-06 16:16:01 UTC
Created attachment 481264 [details]
app-emulation:vice-2.4.31:20170706-074154.log
Comment 3 Toralf Förster gentoo-dev 2017-07-06 16:16:05 UTC
Created attachment 481266 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-06 16:16:08 UTC
Created attachment 481268 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-06 16:16:11 UTC
Created attachment 481270 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-06 16:16:14 UTC
Created attachment 481272 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-07-06 16:16:17 UTC
Created attachment 481274 [details]
temp.tbz2
Comment 8 Torsten Kurbad 2018-01-01 16:48:37 UTC
FYI: vice-3.1 (cf. #618698) builds just fine with the 17.0 profile.

I just renamed the existing ebuild and it compiled cleanly against gtk2.
Comment 9 Ulf Dambacher 2018-01-07 14:56:05 UTC
I installed this by manually setting -fPIC within the c-flags:

export CFLAGS=-fPIC
export CXXFLAGS=-fPIC
export LDFLAGS=-fPIC

and then I manually ran the ebuild using

ebuid /usr/portag/app-emulation/vice/vice-2.4.31.ebuild configure compile install qmerge clean
Comment 10 Pacho Ramos gentoo-dev 2018-06-27 15:00:03 UTC
please retest with 3.1, it compiles ok for me
Comment 11 Torsten Kurbad 2018-07-03 16:39:25 UTC
(In reply to Pacho Ramos from comment #10)
> please retest with 3.1, it compiles ok for me

Works, thank you!