Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56033 - media-lib/libirman needs -fPIC
Summary: media-lib/libirman needs -fPIC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 All
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-04 03:19 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-07-05 00:16 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-04 03:19:46 UTC
>>> md5 src_uri ;-) irman-python-0.1.tar.gz
>>> Unpacking source...
>>> Unpacking irman-python-0.1.tar.gz to /mnt/raid0/tmp/portage/irman-python-0.1/work
>>> Source unpacked.
running build
running build_ext
building 'irmanmodule' extension
creating build
creating build/temp.linux-x86_64-2.3
gcc -fno-strict-aliasing -DNDEBUG -O2 -pipe -fomit-frame-pointer -fPIC -I/usr/include/python2.3 -c irmanmodule.c -o build/temp.linux-x86_64-2.3/irmanmodule.o
creating build/lib.linux-x86_64-2.3
gcc -pthread -shared -O2 -pipe -fomit-frame-pointer build/temp.linux-x86_64-2.3/irmanmodule.o -lirman -o build/lib.linux-x86_64-2.3/irmanmodule.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/libirman.a(irfunc.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/libirman.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/irman-python-0.1 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-04 03:23:17 UTC
ok... it's too late for me to be reporting bugs right now... reassigning this as appropriate =)

Maybe we should update libirman to do shared only based on USE=static while we're at it...
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-05 00:16:04 UTC
fixed in portage.