Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34454 - emerging gplflash on amd64 complains about -fPIC
Summary: emerging gplflash on amd64 complains about -fPIC
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-26 11:52 UTC by Darryl Bleau
Modified: 2004-07-08 16:04 UTC (History)
0 users

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


Attachments
New ebuild with fPIC fix (gplflash-0.4.10-r3.ebuild,1.32 KB, text/plain)
2003-12-01 13:08 UTC, Jeff Davey
Details
fPIC makefile patch (gplflash-0.4.10-fpic.diff,1.40 KB, patch)
2003-12-01 13:08 UTC, Jeff Davey
Details | Diff
New AMD64 Patch (gplflash-0.4.10-amd64.diff,2.24 KB, patch)
2004-01-07 08:06 UTC, Kris Kersey (RETIRED)
Details | Diff
Patch against current ebuild to apply AMD64 Patch (gplflash-0.4.10-r3.ebuild.diff,620 bytes, patch)
2004-01-07 08:07 UTC, Kris Kersey (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darryl Bleau 2003-11-26 11:52:51 UTC
output of emerge:

make[1]: Leaving directory `/var/tmp/portage/gplflash-0.4.10-r3/work/flash-0.4.10/Player'
make[1]: Entering directory `/var/tmp/portage/gplflash-0.4.10-r3/work/flash-0.4.10/Plugin'
gcc  -DXP_UNIX -I../Lib -I/usr/X11R6/include   -c -o plugin.o plugin.c
gcc  -DXP_UNIX -I../Lib -I/usr/X11R6/include   -c -o npunix.o npunix.c
ld -shared -o npflash.so plugin.o npunix.o ../Lib/libflash.a  ../Jpeg/libjpeg.a ../Zlib/libz.a
ld: plugin.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
plugin.o: could not read symbols: Bad value
make[1]: *** [npflash.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/gplflash-0.4.10-r3/work/flash-0.4.10/Plugin'
make: *** [all] Error 2
 
!!! ERROR: net-www/gplflash-0.4.10-r3 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
Comment 1 Jeff Davey 2003-12-01 13:08:03 UTC
Created attachment 21553 [details]
New ebuild with fPIC fix
Comment 2 Jeff Davey 2003-12-01 13:08:24 UTC
Created attachment 21554 [details, diff]
fPIC makefile patch
Comment 3 Jeff Davey 2003-12-01 13:09:28 UTC
patch goes to files/, new ebuild, emerges fine (compiles/install) however, having problems getting firebird to recognize it.
Comment 4 Jeff Davey 2003-12-03 11:40:56 UTC
Error from firebird while trying to load module:

LoadPlugin: failed to initialize shared library /opt/netscape/plugins/npflash.so [/opt/netscape/plugins/npflash.so: undefined symbol: __dso_handle]
Comment 5 Kris Kersey (RETIRED) gentoo-dev 2004-01-07 08:06:49 UTC
Created attachment 23309 [details, diff]
New AMD64 Patch

This patch includes the -fPIC fix and a linking fiix to fix the loading error. 
Renamed patch to -amd64 to go with existing naming convention.
Comment 6 Kris Kersey (RETIRED) gentoo-dev 2004-01-07 08:07:35 UTC
Created attachment 23310 [details, diff]
Patch against current ebuild to apply AMD64 Patch
Comment 7 Kris Kersey (RETIRED) gentoo-dev 2004-01-07 08:10:29 UTC
The new patch above gets rid of the loading error.  Browser seems to crash when I go to any site using flash now.  I have never used this plugin under x86 so let me know if it works as good as the x86 compiled version.
Comment 8 Travis Tilley (RETIRED) gentoo-dev 2004-07-08 16:04:09 UTC
they just did their first release in 4 years and it still wont compile+work. i'm marking this wontfix. you might want to poke at upstream...