Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93357 - libungif needs to be built with -fPIC to produce a static library I can link against
Summary: libungif needs to be built with -fPIC to produce a static library I can link ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-20 12:02 UTC by Andrew Fischer
Modified: 2005-07-23 01:21 UTC (History)
0 users

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 Andrew Fischer 2005-05-20 12:02:39 UTC
To be able to link against the static libungif from a dynamic library I was
building, I had to re-emerge libungif with -fPIC temporarily added to CFLAGS.
Otherwise the linker returns an error indicating libungif needs to be recompiled
with -fPIC.

Reproducible: Always
Steps to Reproduce:
1. emerge libungif
2. link against libungif.a with a dynamic library you are compiling
3. 

Actual Results:  
bin/ld: /usr/lib/libungif.a(dgif_lib.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC

Expected Results:  
Link without errors
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 12:24:26 UTC
libungif will go to /dev/null soon (see Bug 85720) so I
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 12:24:26 UTC
libungif will go to /dev/null soon (see Bug 85720) so I´d suggest that you use
giflib. 
Comment 3 Andrew Fischer 2005-05-20 15:14:51 UTC
Thanks for the info. I'll switch.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 17:06:36 UTC
(In reply to comment #2)
> Thanks for the info. I'll switch.

To prevent superfluous bugreports - don
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-05-20 17:06:36 UTC
(In reply to comment #2)
> Thanks for the info. I'll switch.

To prevent superfluous bugreports - don´t forget to run revdep-rebuild after
unmerging libungif and switching to giflib. ;-) 
Comment 6 Andrew Fischer 2005-05-24 09:16:10 UTC
will do. :)
Comment 7 SpanKY gentoo-dev 2005-07-23 01:21:25 UTC
libungif is being killed