From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9283 Path: news.gmane.org!not-for-mail From: David Edelsohn Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: musl libc for PPC64 Date: Mon, 8 Feb 2016 12:48:48 -0500 Message-ID: References: <20160208161758.GG9915@port70.net> <20160208165143.GA9349@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1454953745 16689 80.91.229.3 (8 Feb 2016 17:49:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 17:49:05 +0000 (UTC) Cc: musl@lists.openwall.com To: Rich Felker Original-X-From: musl-return-9296-gllmg-musl=m.gmane.org@lists.openwall.com Mon Feb 08 18:49:05 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aSpvr-0004AH-NZ for gllmg-musl@m.gmane.org; Mon, 08 Feb 2016 18:49:03 +0100 Original-Received: (qmail 10228 invoked by uid 550); 8 Feb 2016 17:49:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 10207 invoked from network); 8 Feb 2016 17:49:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z5tTds0zGbVXmyNBWG4vHhu0tkcKVm6HucGYox4gfJ4=; b=Nl7/WqKupdNsmpcPAoIo3NdhQ/UogP+/d5dHcOS4Ed3H14d1/KiEC8AylNjNnAEJFW Hog+oDKa57u4Ss56IL1SV906ADcApPprj4ru1xlC0BoKomICK4orVZ/3q96ZsHhuabUG PPisleUKoOz9UWKMaJVwBBFw/zojIthXYd+1oQQYhY2CmkzNOPvwnuqAhf3QdoKAjw69 UootDlySxe47IUEdK80EcCzxYMawuj3YC+nVOHpvZsOXS8x4YkqHoWyfOwr7IKD7t8JZ 91nHMUufrt4z9Z0hKf33Af0RDPzozxPuL3EEFLGOSAKyHV8AuXZdWPSR6pZ0Zto65neo qshQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Z5tTds0zGbVXmyNBWG4vHhu0tkcKVm6HucGYox4gfJ4=; b=cNGKd2+ZiDNzguGYd/sEC2HceISIv3Ca7NfXGu8npKi9euLQv2BWJ96mEimI706Z2W iZSVvxG4rQ2Zrbhzr58WJdG1vQ4IWz7og6epWFQwXZ0uu/NM7NuiWXUwQ9P9o2m7RlWc NQ5DNK3dQWQXR9LsvqNeXYA9Ct1BKDv93xRfwCCJJ2PuhtZhBGyWK9ZqmQ4U9UyIgly6 cGmvMie7HBN4thMX+EBMNgncaReI0ipvy+DZyba4fehF9hDBYD4m3j81QbRugx4XCjON EsIZEUdNk65r7nrtOCw/fv3VPxNuK/w04TAWBFWC2IfwJWUNteqwf9K6VB5/+rzln5we JsaA== X-Gm-Message-State: AG10YOQ2BB4WtdwwclgfMziIQO9y0I+2aZ1Fz89UWmWBxXRPOBpbIDnZlrf59kIzOkrS0YL6JdWm9X3t99+8Jw== X-Received: by 10.25.7.201 with SMTP id 192mr9829652lfh.107.1454953728831; Mon, 08 Feb 2016 09:48:48 -0800 (PST) In-Reply-To: <20160208165143.GA9349@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:9283 Archived-At: On Mon, Feb 8, 2016 at 11:51 AM, Rich Felker wrote: > On Mon, Feb 08, 2016 at 05:17:58PM +0100, Szabolcs Nagy wrote: >> * David Edelsohn [2016-02-08 09:43:08 -0500]: >> > What work is necessary to enable basic musl libc support for PPC64 >> > Linux Little Endian? >> >> once the abi is clear (is long double ieee128?) the arch specific >> parts of musl need to be ported for ARCH=powerpc64. > > IIRC one of the powerpc64 ABIs uses function descriptors rather than > normal function pointers. If so that may affect a few details in the > dynamic linker and may require some changes to non-arch-specific code, > but since we have SH/FDPIC all the basic framework for function > descriptors should be there already. PPC64LE Linux is little endian and does not use function descriptors. > Also to clarify what you asked about long double ABI, if ieee128 > (quad) is not used, the compiler needs to be built to use plain double > (ieee64 double) for long double instead of using ibm double-double. GCC can use IEEE64 or IEEE128 for long double. Is there any internal interest from the musl libc community for PPC64 support that IBM could sponsor with a financial bounty on bountysource.com? Thanks, David