Make existing linux flashplayer.xpt (for scriptability) work with gcc 3.2 builds




16 years ago
15 years ago


(Reporter: wolruf, Assigned: peterlubczynski-bugs)


({regression, relnote})

regression, relnote

Firefox Tracking Flags

(Not tracked)


(Whiteboard: qawanted, URL)



16 years ago
build ID: 2003071508 on Linux + Flash 6.0r79 and flashplayer.xpt.

Scriptability doesn't work anymore since switched to GCC 3.2.3, as
mentioned in the release notes:

about:buildconfig reports:
--disable-tests --enable-extensions=default,irc --without-system-nspr
--without-system-jpeg --without-system-zlib --without-system-png
--without-system-mng --disable-debug --enable-optimize --disable-elf-dynstr-gc
--enable-optimize=-O2 --enable-crypto

I launched a debug build to see any error output but there's no debug info on
why scriptability doesn't work anymore:
 - hack not working well, regression from bug 154206 ?
 - flashplayer.xpt needs to be updated ?

I deleted xpti.dat and a debug build didn't say whether or not flashplayer.xpt
was valid.

I couldn't find any bug report matching the release notes, so I'm opening one,
hoping this can be looked at.
This started generated some bug reports: bug , bug .
The basic issue, as I understand it, is that he flash xpt expects GCC 2.9x name
mangling, while GCC 3.x does different name mangling.  The only way to fix this
is to regenerate the xpt; the only people who can do that are Macromedia.

Comment 2

16 years ago
is it ok to CC emillard (?) or kiwi at ? I sent an e-mail to

Comment 3

16 years ago
CC'ing some Macromedia people after talking to dmose.
Apologies if you're not the most appropriate people to CC on this as it's
Linux-specific, I also saw two other people in bugzilla:
I suspect that this is going to require not just regeneration of the XPTs, but
also a recompile of the flash plugin with gcc 3.2 or later.

Comment 5

16 years ago
Yeah, the plugin needs to be recompiled with the same compiler as the browser
and be sure to use an updated npapi.h. This is a similar issue as on OSX, see:

Comment 6

16 years ago
*** Bug 221294 has been marked as a duplicate of this bug. ***

Comment 7

16 years ago
I met similar problems with flash player after upgrading gcc packages recently.
I can fix this problem after installation of compat-libstdc++ package again.

I suspect up2date removed installed compat-libstdc++ package while upgrading new
gcc packages because of I didn't install full of these packages(compat-*;
actually I don't need other packages except compat-libstdc++).

If you are using Redhat Linux and your Mozilla browsers(I tested with Mozilla
and Firebird also) fail to display flash movies even you installed proper
plug-in, I recommand you to check that your system has compat-stdc++ package(s)

Honestly I can not sure this bug is related exactly with my case but it much
help to fix my problem and i hope this message can help somebody who have
similar cases with me.


Comment 8

15 years ago
Fixed with recent Flash 6.0r81.

This is worth being mentioned in upcoming Mozilla 1.7 release notes:
If you're using the Linux GCC 3.2 binaries compiled by then
JavaScript access to Flash will not work.
Last Resolved: 15 years ago
Resolution: --- → FIXED

Comment 9

15 years ago
somebody please comment on Olivier's last comment
Keywords: relnote
Whiteboard: qawanted

Comment 10

15 years ago
Daniel, I opened bug 238325 about this.
You need to log in before you can comment on or make changes to this bug.