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)
Created attachment 21553 [details] New ebuild with fPIC fix
Created attachment 21554 [details, diff] fPIC makefile patch
patch goes to files/, new ebuild, emerges fine (compiles/install) however, having problems getting firebird to recognize it.
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]
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.
Created attachment 23310 [details, diff] Patch against current ebuild to apply AMD64 Patch
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.
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...