From owner-freebsd-stable@FreeBSD.ORG Fri Jan 26 01:36:40 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF11716A400 for ; Fri, 26 Jan 2007 01:36:39 +0000 (UTC) (envelope-from fkraiem@enib.fr) Received: from smtp23.orange.fr (smtp23.orange.fr [193.252.23.111]) by mx1.freebsd.org (Postfix) with ESMTP id 7EE7613C441 for ; Fri, 26 Jan 2007 01:36:39 +0000 (UTC) (envelope-from fkraiem@enib.fr) Received: from smtp23.orange.fr (mwinf2316 [10.232.4.116]) by mwinf2310.orange.fr (SMTP Server) with ESMTP id D5C251C1CEA3 for ; Wed, 24 Jan 2007 20:43:49 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2316.orange.fr (SMTP Server) with ESMTP id E0EBE7000096 for ; Wed, 24 Jan 2007 20:43:47 +0100 (CET) Received: from ana.fkraiem.org (ABordeaux-256-1-6-52.w86-201.abo.wanadoo.fr [86.201.217.52]) by mwinf2316.orange.fr (SMTP Server) with ESMTP id B6BDB700008C for ; Wed, 24 Jan 2007 20:43:47 +0100 (CET) X-ME-UUID: 20070124194347748.B6BDB700008C@mwinf2316.orange.fr From: Firas Kraiem To: freebsd-stable@freebsd.org Date: Wed, 24 Jan 2007 20:43:44 +0100 User-Agent: KMail/1.9.5 References: <45B7A0FA.1050901@terceirizado.mda.gov.br> In-Reply-To: <45B7A0FA.1050901@terceirizado.mda.gov.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701242043.44307.fkraiem@enib.fr> Subject: Re: FreeBSD 6.2-STABLE and Flash 7 patch X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 01:36:40 -0000 On Wednesday 24 January 2007 19:10, Alexandre Vasconcelos wrote: > Hello, > > Working setup: > - FreeBSD 6.2-PRERELEASE, firefox 2 and flash 7 patched with > rtld_dlsym_hack.diff, like suggested on Handbook. > > After 6.2-STABLE upgrade reaplying the rtld_dlsym_hack.diff fails: > > root@alex src]# patch < rtld_dlsym_hack.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > > |--- libexec/rtld-elf/rtld.c.orig Fri Sep 24 08:04:52 2004 > |+++ libexec/rtld-elf/rtld.c Sun Oct 17 03:37:44 2004 > > -------------------------- > Patching file libexec/rtld-elf/rtld.c using Plan A... > Hunk #1 failed at 129. > Hunk #2 succeeded at 187 (offset 9 lines). > Hunk #3 succeeded at 1820 (offset 82 lines). > 1 out of 3 hunks failed--saving rejects to libexec/rtld-elf/rtld.c.rej > done > > And make fails: > > [root@alex rtld-elf]# make > cc -O2 -fno-strict-aliasing -pipe -Wall -DFREEBSD_ELF -DIN_RTLD > -I/usr/src/libexec/rtld-elf/i386 -I/usr/src/libexec/rtld-elf -elf -fpic > -DPIC -std=gnu99 -Wformat=2 -Wno-format-extra-args -Werror -c > /usr/src/libexec/rtld-elf/i386/rtld_start.S > cc -O2 -fno-strict-aliasing -pipe -Wall -DFREEBSD_ELF -DIN_RTLD > -I/usr/src/libexec/rtld-elf/i386 -I/usr/src/libexec/rtld-elf -elf -fpic > -DPIC -std=gnu99 -Wformat=2 -Wno-format-extra-args -Werror -c > /usr/src/libexec/rtld-elf/i386/reloc.c > cc -O2 -fno-strict-aliasing -pipe -Wall -DFREEBSD_ELF -DIN_RTLD > -I/usr/src/libexec/rtld-elf/i386 -I/usr/src/libexec/rtld-elf -elf -fpic > -DPIC -std=gnu99 -Wformat=2 -Wno-format-extra-args -Werror -c > /usr/src/libexec/rtld-elf/rtld.c > /usr/src/libexec/rtld-elf/rtld.c:189: error: `_dlsym' undeclared here > (not in a function) > /usr/src/libexec/rtld-elf/rtld.c:189: error: initializer element is not > constant > /usr/src/libexec/rtld-elf/rtld.c:189: error: (near initialization for > `exports[4]') > *** Error code 1 > > Stop in /usr/src/libexec/rtld-elf. > > > How to fix this? > Thanks, > Alex > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Hello I had the same problem, I've patched the library myself but I don't know how to make a proper "patch file" so if you want, here's my patched one : http://fkraiem.free.fr/rtld.c Copy into /usr/src/libexec/rtld-elf and follow the instructions given in the handbook. -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments