From owner-freebsd-amd64@FreeBSD.ORG Sat Nov 27 14:30:55 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADD7216A4CE for ; Sat, 27 Nov 2004 14:30:55 +0000 (GMT) Received: from mail.hydrix.com (ns1.hydrix.com [218.214.210.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 852BA43D1F for ; Sat, 27 Nov 2004 14:30:54 +0000 (GMT) (envelope-from jean-yves.avenard@hydrix.com) Received: from [192.168.2.11] (CPE-144-133-92-247.vic.bigpond.net.au [144.133.92.247]) (authenticated bits=0) by mail.hydrix.com (8.13.1/8.13.1) with ESMTP id iAREUkno000843 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Sun, 28 Nov 2004 01:30:47 +1100 (EST) (envelope-from jean-yves.avenard@hydrix.com) In-Reply-To: <200411261238.19311.peter@wemm.org> References: <20041116052630.GD49800@manor.msen.com> <20041126184559.GJ49800@manor.msen.com> <200411261117.02622.peter@wemm.org> <200411261238.19311.peter@wemm.org> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jean-Yves Avenard Date: Sun, 28 Nov 2004 01:30:40 +1100 To: Peter Wemm X-Mailer: Apple Mail (2.619) X-Spam-Status: No, score=-2.8 required=6.5 tests=ALL_TRUSTED autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on server2.private.hydrix.com X-Virus-Scanned: ClamAV 0.80/533/Sun Oct 17 11:09:44 2004 clamav-milter version 0.80j on server2.private.hydrix.com X-Virus-Status: Clean cc: freebsd-amd64@freebsd.org Subject: Re: How to use older libs in 32bit mode? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 14:30:55 -0000 Hello On 27/11/2004, at 7:38 AM, Peter Wemm wrote: > I've merged some of the changes (rtld-elf/reloc.c and > libc/i386/gen/_set_tp.c), and removed build32.sh from RELENG_5. If you > were to build a new set of libraries, I expect it will work now. > libc_r threaded binaries might work, but libthr and libpthread > binaries will not. If you need to run something threaded, you can set > libmap32.conf to remap all libthr or libpthread references into libc_r. > did a make update this morning and I saw your changes; now buildworld doesn't compile anymore ! cc -m32 -march=athlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT -I/usr/obj/usr/src/lib32/usr/include -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -O -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/lib32/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/lib/libc/i386/gen/_set_tp.c /usr/src/lib/libc/i386/gen/_set_tp.c: In function `_set_tp': /usr/src/lib/libc/i386/gen/_set_tp.c:54: warning: implicit declaration of function `_amd64_set_gsbase' *** Error code 1 Stop in /usr/src/lib/libc. --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 9572 2686 | phone +61 3 9572 0686 ext 100 VoIP: direct: 100@voip.hydrix.com, general: info@voip.hydrix.com