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

Bug 3574

Summary: netscape-flash and blackdown-java plugins don't work with gcc-3.1 compiled mozilla
Product: Gentoo Linux Reporter: José Fonseca <j_r_fonseca>
Component: [OLD] GCC PortingAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major CC: lostlogic
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My quick hack

Description José Fonseca 2002-06-10 04:10:56 UTC
On startup java plugin fails to load:

LoadPlugin: failed to initialize shared library
/opt/blackdown-jre-1.3.1/plugin/i386/mozilla/javaplugin_oji.so
[/opt/blackdown-jre-1.3.1/plugin/i386/mozilla/javaplugin_oji.so: undefined
symbol: __vt_17nsGetServiceByCID]


Opening a flash-enabled webpage (such as: http://www.adobe.com) it crashes with
this message:

/usr/lib/mozilla/mozilla-bin: relocation error:
/opt/netscape/plugins/libflashplayer.so: undefined symbol: __builtin_vec_new
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-06-10 11:09:23 UTC
This is not a bug in Gentoo Linux this is because the plugins you mentioned are
only available to us as binaries so we cannot recompile them to work with the
new gcc-3.1 symbol mangling system.  As soon as the vendors release gcc-3.1
compatible versions we will incorporate them for our users web-surfing pleasure.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2002-06-18 22:43:14 UTC
Created attachment 1606 [details]
My quick hack

Extract the following into /usr/lib/mozilla and it will create libc++mem.so and
run-mozilla.sh (replacing your old one) and you're all set as far as Flash. As
far as Java there is no fix available because of the new C++ ABI used by gcc3.1
and no Java vendor has a JRE compiled with gcc3.1.