* [gentoo-dev] Re: Mozilla "patch" for flash/linux/GCC3.1
[not found] <20020627135803.42BF4AC79F@chiba.3jane.net>
@ 2002-06-27 16:32 ` Ian Phillips
2002-06-27 16:03 ` Bart Verwilst
0 siblings, 1 reply; 6+ messages in thread
From: Ian Phillips @ 2002-06-27 16:32 UTC (permalink / raw
To: gentoo-dev
After looking into it some more it seems that I have other problems with java.
But the patch is good for Flash.
Yes, the patch should work for all browsers. All it does is provide a small
wrapper around each of 4 functions that are deprecated/mangled differently by
libstdc++ in GCC3.x, it should work with _any_ program that uses thesefunctions,
not just browsers.
Which probably means that libmozhack.so is a stupid name for the patch. Maybe
libgcc3hack or libcpphack ??
Ian.
--
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | TIBCO Software Inc.
#endif | www.tibco.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: Mozilla "patch" for flash/linux/GCC3.1
2002-06-27 16:32 ` [gentoo-dev] Re: Mozilla "patch" for flash/linux/GCC3.1 Ian Phillips
@ 2002-06-27 16:03 ` Bart Verwilst
2002-06-27 16:34 ` José Fonseca
0 siblings, 1 reply; 6+ messages in thread
From: Bart Verwilst @ 2002-06-27 16:03 UTC (permalink / raw
To: gentoo-dev
So how should we take this problem on?
Edit the flash ebuild?
Anybody has got a working altered ebuild?
On Thursday 27 June 2002 18:32, Ian Phillips wrote:
|| After looking into it some more it seems that I have other problems with
|| java. But the patch is good for Flash.
||
|| Yes, the patch should work for all browsers. All it does is provide a
|| small wrapper around each of 4 functions that are deprecated/mangled
|| differently by libstdc++ in GCC3.x, it should work with _any_ program that
|| uses thesefunctions, not just browsers.
||
|| Which probably means that libmozhack.so is a stupid name for the patch.
|| Maybe libgcc3hack or libcpphack ??
||
|| Ian.
--
Bart Verwilst
Gentoo Linux Developer, Release Coordinator
Gent, Belgium
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: Mozilla "patch" for flash/linux/GCC3.1
2002-06-27 16:03 ` Bart Verwilst
@ 2002-06-27 16:34 ` José Fonseca
0 siblings, 0 replies; 6+ messages in thread
From: José Fonseca @ 2002-06-27 16:34 UTC (permalink / raw
To: gentoo-dev
On Thu, Jun 27, 2002 at 06:03:23PM +0200, Bart Verwilst wrote:
>So how should we take this problem on?
>
[...]
I just would like to point out that, at least for flash, there is an
alternative to the Macromedia binary plugin - gplflash. I've already submited a bug
with the necessary changes for gcc-3.1 (http://bugs.gentoo.org/show_bug.cgi?id=4134).
Althought the FLASH version supported by this plugin is not the most
recent one I haven't found any problems in my daily browsing.
For curiosity, there is a Kaffe plugin for Mozilla (check the bottom of
http://www.kaffe.org/ports.shtml) but unfortunately it seems to be unmaintained. I'm not sure how is Kaffe suited for this too. Nevertheless if Sun and/or BlackDown doesn't come up with an usable Java plugin this is surely something worth to check out. Especially attending the (mentioned elsewhere) plans of having Kaffe as the default Gentoo virtual machine in the future.
José Fonseca
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20020627170109.84990AC7EF@chiba.3jane.net>]
* [gentoo-dev] Re: Mozilla "patch" for flash/linux/GCC3.1
[not found] <20020627170109.84990AC7EF@chiba.3jane.net>
@ 2002-06-28 10:43 ` Ian Phillips
0 siblings, 0 replies; 6+ messages in thread
From: Ian Phillips @ 2002-06-28 10:43 UTC (permalink / raw
To: gentoo-dev
Hmmm, maybe the correct ebuild for this would be GCC3.1, then it's available to
any other app that needs it.
This leaves us the problem of how to alter other apps to preload this patch.
Could we make it a system wide environment setting? Would this break anything if
all programs preloaded this lib?
That's a bad solution though. But the other option would be to patch every
broken ebuild (admittedly, at present the only one I know of is Flash).
Here's my proposal then:
1. Patch GCC3.1 to build the shared library. This makes it available for any app
that needs it. At the moment we only know about Flash, but it could in theory
be anything that we install as a binary from a commercial vendor.
2. Patch Flash to check for a GCC3.1 based system. If found patch the mozilla
start script to "export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/libgcchack.so"
3. Patch any other app the same way if and when they are found.
Then we can remove individual patches from apps when the vendors make GCC3.1
friendly releases.
Yours,
Ian.
--
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | TIBCO Software Inc.
#endif | www.tibco.com
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20020628133202.12222AC7EF@chiba.3jane.net>]
end of thread, other threads:[~2002-06-28 16:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20020627135803.42BF4AC79F@chiba.3jane.net>
2002-06-27 16:32 ` [gentoo-dev] Re: Mozilla "patch" for flash/linux/GCC3.1 Ian Phillips
2002-06-27 16:03 ` Bart Verwilst
2002-06-27 16:34 ` José Fonseca
[not found] <20020627170109.84990AC7EF@chiba.3jane.net>
2002-06-28 10:43 ` Ian Phillips
[not found] <20020628133202.12222AC7EF@chiba.3jane.net>
2002-06-28 15:35 ` Ian Phillips
2002-06-28 16:50 ` Prashanth Aditya Susarla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox