From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19895 invoked from network); 5 Jul 2022 14:01:11 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2022 14:01:11 -0000 Received: (qmail 27837 invoked by uid 550); 5 Jul 2022 14:01:08 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 24130 invoked from network); 5 Jul 2022 13:55:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : date : message-id : references : in-reply-to : content-type : mime-version : subject; s=pp1; bh=uR8dPcbWwS4msLqkATvdp+MWbuV9YoiiOLSkDtt5hQo=; b=RnaleHIKiT/Fh2FdsQPcligc3AP9hF1tNY1IYZTueABBsqYMOS1984x3IrWqMDER/eCC 0imZEqTTzW5+gqSrc2GY0wC9StH+VcTw/HcylDPxpb+1bE18bZnXxETA4zpdu5yu+rWS zlzg0tQjoBBEiyDKblrxLaQuY5sTGLc5qM0M2499H7sUd//J0uZqD6McGufhLnFkglx9 6zQlMM4JA0rMc1nU7ieQPe8m6UkPtusTrnfdpI5tLpyi3OK7sPpYvJ2kQKzEtilNh3wq HcYRprQPMzqFHc4stEbLnn9tTCmloPsWXHsCzkPq7v+d8Uu5RmnPELPIUxQCF3C2P525 OQ== ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K8AuP4Ekg3EUddlgmsJQWl0rOumiMa7nq0dTD2/eYJygnYtPJZxhRy21ywx4Oci/pqCfFm4IHBLXiWdWr18qULFMbadhBJe5fn9vSq0kqheNkiHP8GHn02oLCPr0+2ijKxEvYJ+DEuvIkEVtb8MAv7qrvhprLZigQyleTcQYa2cyqp+Q6UTtufjIQJKhnlMGJcf7qAy2rOOSe5Y/jp+KZ1V+bek7eEF2muIWDKQusz9do29gcJrv/XgWTLu/2pTo5amS5tCQpKoNlBkpcvSFV4YqUNquc1oeBb7eNfSlwVP+X7KsKbZ+lbtwXd+lOiUcgiK6ok6Y/XWHB0MVKKsaWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xmpQsra3MNHAou3T2zku+/KO3tKdzr5Hd0W8fx3oOnU=; b=U3RqZeBbWwr6jAZhUZO8vZAPwGZyHRw2g+O/XuMqf/PmUpN2ZznHYRw9DQ6FNO/MP1QPDGJU5cVVAG1M/F3hsdGPSe8SmoQfcsvBdeVBlmo+TT4WVCxsBb+8ZIVWt/NIHypEhQ1ZGuYJtJzHWaVoS9gzD4xbvBXrV5v9SAH0Tq0OiBqYHHrGNfOqGCoYGY2ahwfrpH7rsJ5sKIFwIsVZFCV9KofWL7DeCB1t9AOGfjS0Z3m8sUGfGwjkCxGfhtH8OYnM2V8qMbq+tjFPHC+sSZtkmFrXbOxGJIItoX6muffLNwVu7DV+zPHBh/boyKQXoEMlSle186PGy2GF3pb6jA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ibm.com; dmarc=pass action=none header.from=ibm.com; dkim=pass header.d=ibm.com; arc=none From: Ankit Paraskar To: Rich Felker CC: " musl@lists.openwall.com" , "Gerrit Huizenga [Notes]" , Prashant Khoje Thread-Topic: [EXTERNAL] Re: [musl] Configuration gives error on ppc64le arch for musl repo Thread-Index: AQHYi7KdwnXi5qCFDUaA8rDo85oYsK1v1fcG Date: Tue, 5 Jul 2022 13:54:32 +0000 Message-ID: References: <20220610124454.GF7074@brightrain.aerifal.cx> In-Reply-To: Accept-Language: en-US Content-Language: en-IN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4a25671e-8515-4445-6ad3-08da5e8de384 x-ms-traffictypediagnostic: MN2PR15MB2925:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: u6Or9MrG+xmirvCzvmnUVyKd6CoS13rVNQl9Jm0+1uESUr34D12rpVp5mp66HLmf4hyZkJEY6Kwts85lR7IabwaUOKdEhOu8y5SvV62fD+J6Cd1mODrZGb3UCXNmwLrBppweTY3fyGokG6ITcRr0Ds7Q9sqpMHwc2yXLrUBCSi4yhQlFHeAs4RTcIcbL79UNnzlAeXPLoshpnCyWJAMFFMKafRDgY89wBKabxbEppeGpF0x6nSUsBfOLdnSXgHyiLCjg9tWTsmDSJ9dFAK231W+w2x2tcCVK0GcegueK9SC6cjG2tOkEQHr3Sl8TgFhOxaDcTqCwOJWcXI1dzRm+r7ReWEqUzVS+eSFhWcloFd+oMkXwYbLeYigi1ZvjW8I4A6gy4Hni3JkV20Gp31bdCzlMKtmpPvZDQOauTBI78umQELWrp9U0y30aH1ccjFSU4La52AQKP1HjrnSL5yCDZMDfrjEzxDhg7fokICABoRvlBQKHq0BQkdZZSq46SmpQvpbt2TUUWq4kn+g+ql/5OZRaKdbIC6DCi9nzVSNFsNRbgFIdpnv+LcNk2brupM9ZJMK/jESAQZd81QZCvHUQRBiOvOK0hyyR5cQ3k34wwqNiQ3SQruKCkyHPc28rDyCRtyWGw6c6mZH6jQQukMBSWWCWieV9y6YeIRl9ugVD1u2UFpjJLQRIyRZJ5hDb0lS6Xx9UXFDlh0VqZBUvoaesFjYi8tdRFwtGKHf4HxeSoFMxUd09r0AGkiVnm4KxppDqhBydHagpuQa+LgH42q2u7rGAhtu8ge38Nq1/dUsSXnLObpOXW5NYFLe4eezxXn9pwyJPMqO7qzvQLhlvNw1vddWOIlTypOkeTf2/bKerY4GXdmE6oCCbZGJaRm68WAZm x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR15MB1238.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(136003)(346002)(366004)(396003)(376002)(39860400002)(33656002)(4326008)(66476007)(5660300002)(166002)(64756008)(76116006)(8676002)(91956017)(66556008)(66946007)(122000001)(71200400001)(86362001)(66446008)(26005)(966005)(478600001)(9686003)(2906002)(52536014)(54906003)(41300700001)(53546011)(55016003)(8936002)(6916009)(38100700002)(186003)(83380400001)(7696005)(316002)(55236004)(38070700005)(6506007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gWs4w32sNNaxJ5LPNiDvjoC/Ouo3LkWtlTB61XvVkQ0gcx+PoWo3N+q6cAXv?= =?us-ascii?Q?heWtd3M1FMsgn273g/cIAK7WlmPJFplXDnzFUAlcU6oQDEAtUtK47Q/2FGqR?= =?us-ascii?Q?bE6SnPNpZUBQUcS9lhj5Pb++xe9XDlyc5Ha0y5w7kcF8cNJFEOAkxMpfxN50?= =?us-ascii?Q?a+0mp4hJsmKaHwZbND7e+Jpxr8kErSr+cpnESaFSrs1OAI/M1DL0ZhFm+sSQ?= =?us-ascii?Q?5rsJv/ljT7hCH88OOufohJU71emKzlatY7gPtKaZ/jEdv8hc+qwaj+7NJ1E+?= =?us-ascii?Q?cl+BwwkxCOOEWbyGB4K+qYFbP9dcxzNrwXvAmfPI/FvRvLiKZwL3CWxWVkrG?= =?us-ascii?Q?Ygf99y+YpuBlEXN1amJwakPFI0igFmNMRLkJYagAxedVJKFgjdtdZABZcSH3?= =?us-ascii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qlF75m9hc?= =?us-ascii?Q?ZiFMRZcv8E6K04Vs3lY5GejW7zAnUPGWmMDkENkUCGpVCpUfdMqxwgRhVUqI?= =?us-ascii?Q?eHYVXUwFe2FpHgeHXvVYFBm408W4RyKJr8sFMFP7DLBJ7Bt11TXfj5D1fB6G?= =?us-ascii?Q?qohxOi4aPX1NKNl+Vm/+34tpTJh3z/nf+o5Cc2hhTJFDYCnwqz/eQXqD1jQK?= =?us-ascii?Q?4PiEbHJQNx04J+3gK5wqSpH+BB9A/9/1fzPv2aUkzvxg99dR14H2qbNYTbWz?= =?us-ascii?Q?O09FfgSOFZqWzjK07kSG7VCiISEMH7wbnFwIZG/BxbDR1ru7mCDqw2E4s+X9?= =?us-ascii?Q?Cw=3D=3D?= Content-Type: multipart/alternative; boundary="_000_CY4PR15MB1238CED96F13B059407EF3F38D819CY4PR15MB1238namp_" X-OriginatorOrg: ibm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR15MB1238.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a25671e-8515-4445-6ad3-08da5e8de384 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2022 13:54:32.6696 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fcf67057-50c9-4ad4-98f3-ffca64add9e9 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 18781Z+FNb6M4ZHu8chVWtMNakDBPiXKgAz1SnYf2li/xf1omohfx0MVFZyAK+9WJmVMwaXgx4q7bIAR+h8gtg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR15MB2925 X-Proofpoint-ORIG-GUID: U1xSffg4dU0euy92ydn8XrqE6qpqoxuA X-Proofpoint-GUID: U1xSffg4dU0euy92ydn8XrqE6qpqoxuA X-Proofpoint-UnRewURL: 6 URL's were un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-05_10,2022-06-28_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=999 bulkscore=0 lowpriorityscore=0 adultscore=0 mlxscore=0 malwarescore=0 spamscore=0 phishscore=0 impostorscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2207050058 Subject: RE: [musl] Configuration gives error on ppc64le arch for musl repo --_000_CY4PR15MB1238CED96F13B059407EF3F38D819CY4PR15MB1238namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ++ Sent from Mail for Windows From: Ankit Paraskar Sent: 29 June 2022 17:50 To: Rich Felker Cc: musl@lists.openwall.com Subject: RE: [EXTERNAL] Re: [musl] Configuration gives error on ppc64le arc= h for musl repo Thank you for the suggestion , this really clarified the error. Would also appreciate to share information on code contribution for musl re= po, aspect of CLA Contributor License Agreement - Wikipedia requirements. Thanks, Ankit P Sent from Mail for Windows From: Rich Felker Sent: 10 June 2022 18:15 To: Ankit Paraskar Cc: musl@lists.openwall.com Subject: [EXTERNAL] Re: [musl] Configuration gives error on ppc64le arch fo= r must repo On Fri, Jun 10, 2022 at 11:14:03AM +0000, Ankit Paraskar wrote: > Dear Team, > > While trying to configure musl package on power arch(ppc64le) we are gett= ing the below configure issue > > Reflink:- > musl - musl - an implementation of the standard library for Linux-based s= ystems (musl-libc.org) > > Musl version 1.2.1:- > Download link:- https://git.musl-libc.org/cgit/musl/snapshot/musl-1.2.1.t= ar..gz > > > Detailed issue. > > Architure used:- > uname -a > Linux f1a836851f19 4.18.0-348.12.2.el8_5.ppc64le #1 SMP Mon Jan 17 06:49:= 39 EST 2022 ppc64le ppc64le ppc64le GNU/Linux > > > Issue faced:- > ../configure > ............ > checking preprocessor condition _CALL_ELF =3D=3D 2... true > checking preprocessor condition __LITTLE_ENDIAN__... true > checking preprocessor condition _SOFT_FLOAT... false > configured for powerpc64 variant: powerpc64le > checking whether compiler's long double definition matches float.h... no > ../configure: error: unsupported long double type You need a toolchain built for powerpc64le-linux-musl target where long double has the same size/range/representation as double. The musl ABI for ppc64 uses this because the legacy IBM double-double type for long double does not match our policy of only using IEEE-conforming types for long double (which various code in musl depends on), and support for IEEE quad on ppc64 is limited (even moreso at the time the port was added) and would have tied us/users to particular compilers that support it. If you're trying to use the musl-gcc wrapper on a glibc host, you ~may~ be able to make it work by setting the CC variable to something to override, like CC=3D"gcc -mno-long-double-128" or CC=3D"gcc -mlong-double-64" (not sure which if either of those works; the GCC docs seem to be omitting it but referring to it elsewhere). Rich --_000_CY4PR15MB1238CED96F13B059407EF3F38D819CY4PR15MB1238namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

++

 

Sent from Mail for Windows

 

From: Ankit Paraskar
Sent: 29 June 2022 17:50
To: Rich Felker
Cc: musl@lists.openwall.c= om
Subject: RE: [EXTERNAL] Re: [musl] Configuration gives error on ppc6= 4le arch for musl repo

 

Thank you for the suggestion , this really clarified= the error.

Would also appreciate to share information on code c= ontribution for musl repo, aspect of CLA Con= tributor License Agreement - Wikipedia requirements.

 

Thanks,

Ankit P

 

 

Sent from Mail for Windows

 

From: Rich= Felker
Sent: 10 June 2022 18:15
To: Ankit Paraskar
Cc: musl@lists.openwall.c= om
Subject: [EXTERNAL] Re: [musl] Configuration gives error on ppc64le = arch for must repo

 

On Fri, Jun 10, 2022 at 11:14:03AM +0000, Ankit Para= skar wrote:
> Dear  Team,
>
> While trying to configure musl package on power arch(ppc64le) we are g= etting the below configure issue
>
> Reflink:-
> musl - musl - an implementation of the standard library for Linux-base= d systems (musl-libc.org)<https://git.musl-libc.org/cgit/musl/ >
>
> Musl version 1.2.1:-
> Download link:- https://git.musl-libc.org/cgit/musl/snapshot/musl-1.2= .1.tar..gz
>
>
> Detailed issue.
>
> Architure used:-
> uname -a
> Linux f1a836851f19 4.18.0-348.12.2.el8_5.ppc64le #1 SMP Mon Jan 17 06:= 49:39 EST 2022 ppc64le ppc64le ppc64le GNU/Linux
>
>
> Issue faced:-
> ../configure
> ............
> checking preprocessor condition _CALL_ELF =3D=3D 2... true
> checking preprocessor condition __LITTLE_ENDIAN__... true
> checking preprocessor condition _SOFT_FLOAT... false
> configured for powerpc64 variant: powerpc64le
> checking whether compiler's long double definition matches float.h... = no
> ../configure: error: unsupported long double type

You need a toolchain built for powerpc64le-linux-musl target where
long double has the same size/range/representation as double. The musl
ABI for ppc64 uses this because the legacy IBM double-double type for
long double does not match our policy of only using IEEE-conforming
types for long double (which various code in musl depends on), and
support for IEEE quad on ppc64 is limited (even moreso at the time the
port was added) and would have tied us/users to particular compilers
that support it.

If you're trying to use the musl-gcc wrapper on a glibc host, you
~may~ be able to make it work by setting the CC variable to something
to override, like CC=3D"gcc -mno-long-double-128" or CC=3D"g= cc
-mlong-double-64" (not sure which if either of those works; the GCC
docs seem to be omitting it but referring to it elsewhere).

Rich

 

 

--_000_CY4PR15MB1238CED96F13B059407EF3F38D819CY4PR15MB1238namp_--