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

Bug 398677

Summary: dev-games/openscenegraph-3.0.1 - /usr/lib64/libdcmimgle.a(dcmimage.o): relocation R_X86_64_32S against `vtable for DicomImage' can not be used when making a shared object; recompile with -fPIC
Product: Gentoo Linux Reporter: Alessandro Surace <zioalex>
Component: [OLD] GamesAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED NEEDINFO    
Severity: normal CC: games
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Build log

Description Alessandro Surace 2012-01-12 15:05:57 UTC
Build fails with:
[ 83%] Built target osgdb_tiff
Linking CXX shared module ../../../lib/osgPlugins-3.0.1/osgdb_dicom.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libdcmimgle.a(dcmimage.o): relocation R_X86_64_32S against `vtable for DicomImage' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libdcmimgle.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/osgPlugins-3.0.1/osgdb_dicom.so] Error 1
make[1]: *** [src/osgPlugins/dicom/CMakeFiles/osgdb_dicom.dir/all] Error 2
make: *** [all] Error 2


Reproducible: Always
Comment 1 Alessandro Surace 2012-01-12 15:08:20 UTC
Created attachment 298755 [details]
emerge --info
Comment 2 Alessandro Surace 2012-01-12 15:08:47 UTC
Created attachment 298757 [details]
Build log
Comment 3 Maciej Mrozowski gentoo-dev 2012-01-28 02:24:54 UTC
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"?

"Good lord! Fisher!"
Comment 4 Alessandro Surace 2012-02-13 09:09:38 UTC
Do you think that is the problem?
Comment 5 Maciej Mrozowski gentoo-dev 2012-02-18 16:53:34 UTC
No idea, but looks fishy. For that matter I do have openscenegraph-3.0.1 installed and no relocation related compilation issues.
Comment 6 Maciej Mrozowski gentoo-dev 2012-11-18 23:58:42 UTC
Is this still reproducible?
Comment 7 Maciej Mrozowski gentoo-dev 2015-07-14 17:39:28 UTC
Please try more recent openscenegraph version and reopen the bug if the problem (re)apppears.