From owner-freebsd-mips@FreeBSD.ORG Fri Feb 25 15:29:20 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB06F1065679 for ; Fri, 25 Feb 2011 15:29:20 +0000 (UTC) (envelope-from carlos@codesourcery.com) Received: from mail.codesourcery.com (mail.codesourcery.com [38.113.113.100]) by mx1.freebsd.org (Postfix) with ESMTP id 8584F8FC19 for ; Fri, 25 Feb 2011 15:29:20 +0000 (UTC) Received: (qmail 4161 invoked from network); 25 Feb 2011 15:29:19 -0000 Received: from unknown (HELO ?127.0.0.1?) (carlos@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Feb 2011 15:29:19 -0000 Message-ID: <4D67CAD0.5020604@codesourcery.com> Date: Fri, 25 Feb 2011 10:29:20 -0500 From: Carlos O'Donell Organization: Mentor Graphics / CodeSourcery User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Robert Millan References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 110225-0, 02/25/2011), Outbound message X-Antivirus-Status: Clean Cc: debian-mips@lists.debian.org, libc-ports@sourceware.org, freebsd-mips@freebsd.org, debian-bsd@lists.debian.org Subject: Re: glibc port to kfreebsd/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 15:29:20 -0000 On 2/25/2011 9:40 AM, Robert Millan wrote: > This is work in progress: http://wiki.debian.org/Debian_GNU/kFreeBSD_MIPS Cool! > The good: > > - Basic userland working. Tested: bash, coreutils, gdb, make, binutils, gcc > > The bad: > > - Static binaries only; Dynamic linker crashes (both ld.so and libdl, > although libdl works for small objects). > - NSS (hence getpwuid et al) crashes as it relies on libdl. > - TLS not implemented as it requires some kernel fixes first. > - Thread support not implemented either (but LinuxThreads is needed for build). Please don't use LinuxThreads for a new port. It is unmaintained. Is there any reason you aren't using NPTL? Lack of futex-compatible syscall? > The ugly: > > - Doesn't work on QEMU yet (gxemul works though). > Cheers, Carlos. -- Carlos O'Donell Mentor Graphics / CodeSourcery carlos@codesourcery.com +1 (650) 331-3385 x716