From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=DMARC_REJECT, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from outhub6.tibco.com (outhub6.tibco.com [63.100.100.162]) by chiba.3jane.net (Postfix) with SMTP id 11EFEABD5A for ; Fri, 28 Jun 2002 03:54:35 -0500 (CDT) Received: from na-h-inhub2.tibco.com(10.106.128.34) by outhub6.tibco.com via csmap id 13424; Fri, 28 Jun 2002 01:54:01 -0700 (PDT) Received: from venus.tibco.com (venus.tibco.com [10.106.128.32]) by na-h-inhub2.tibco.com (8.12.2/8.12.2) with ESMTP id g5S8sYFl004505 for ; Fri, 28 Jun 2002 01:54:34 -0700 (PDT) Received: from tibco.com ([10.100.1.152]) by venus.tibco.com (Netscape Messaging Server 3.6) with ESMTP id AAA2D31 for ; Fri, 28 Jun 2002 01:54:32 -0700 Message-ID: <3D1C3DDC.4000503@tibco.com> Date: Fri, 28 Jun 2002 11:43:40 +0100 From: "Ian Phillips" Organization: TIBCO Software Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020625 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org References: <20020627170109.84990AC7EF@chiba.3jane.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] Re: Mozilla "patch" for flash/linux/GCC3.1 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 9540fe6e-2667-42b2-92ec-b8d033db29a1 X-Archives-Hash: 1633f2e735a8238dcce83c5fd2c0a3c4 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 | TIBCO Software Inc. #endif | www.tibco.com