From owner-freebsd-mips@FreeBSD.ORG Fri Feb 25 16:18:45 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 74458106566B for ; Fri, 25 Feb 2011 16:18:45 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 394448FC0C for ; Fri, 25 Feb 2011 16:18:44 +0000 (UTC) Received: by iwn33 with SMTP id 33so1360271iwn.13 for ; Fri, 25 Feb 2011 08:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=aMHP0dDp6r2VKwUkhl/iSO0FYCEV5YLeqLOaUsTEABw=; b=q3t9C9xytVFQ+Y5miVKzEPnqN3xrehE5Flu3p5+2vTsknstHw4X43QkFtmyFCGiH6v +i0rpcnXd97mXjrYI4cD5zryTd+vW5bGgavlbZo525xEj3kjZ+XmXypcy62xtY8TS3mJ wFd7AM495taekPY4mhKCHKHV9/KAuRhKNb2BA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=CCsWNP2WiSCDRGt7b0TkinS33m+WlIuI9/YN4bqUt26IoB6NXgAjAixnN3grTvnUFD a9ofcphuHb/a9foq7A7mA5k/GNApOJBA3109DZPQ2mXIzBxnZ3xnrVJ5CXey0PZNQ9Lj wS17JdGQZOw2iqTpBk6gG/CJrNPJWylsKSdxo= MIME-Version: 1.0 Received: by 10.231.31.4 with SMTP id w4mr2979647ibc.140.1298650724569; Fri, 25 Feb 2011 08:18:44 -0800 (PST) Sender: rmh.aybabtu@gmail.com Received: by 10.231.169.134 with HTTP; Fri, 25 Feb 2011 08:18:44 -0800 (PST) In-Reply-To: <4D67CAD0.5020604@codesourcery.com> References: <4D67CAD0.5020604@codesourcery.com> Date: Fri, 25 Feb 2011 17:18:44 +0100 X-Google-Sender-Auth: w2hgPKff5HzUt0A83a0lCIO4A7k Message-ID: From: Robert Millan To: "Carlos O'Donell" Content-Type: text/plain; charset=UTF-8 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 16:18:45 -0000 2011/2/25 Carlos O'Donell : >> - 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. I know, but other kfreebsd-gnu ports already use LinuxThreads, so getting it to build on mips*-kfreebsd-gnu was much easier this way. > Is there any reason you aren't using NPTL? Lack of futex-compatible > syscall? To be honest, I haven't really investigated if the syscalls used by FreeBSD userland (libkse and libthr) can be used to implement futex funcionality. I believe that porting NPTL to kernel of FreeBSD would require significant effort. Thanks -- Robert Millan