Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] Add support for ppc64le

From: Timo Teras <timo.teras_at_iki.fi>
Date: Fri, 20 Jan 2017 14:35:32 +0200

On Fri, 20 Jan 2017 14:25:10 +0200
Timo Teras <timo.teras_at_iki.fi> wrote:

> On Tue, 17 Jan 2017 14:30:31 -0200
> Breno Leitao <brenohl_at_br.ibm.com> wrote:
>
> > This is a patch that adds support for ppc64le platform. Currently,
> > musl fails to build with long double as 128-bits, because POWER does
> > not implement IEEE long double but IBM long double which causes the
> > following error:
> >
> > unsupported long double type musl
> >
> > This patch just turns "long double" into "double" for ppc64le.
>
> Should this be in gcc default flags instead? I suspect almost nothing
> will work with 128-bit double if c-library does not support it. And
> assume this affects ABI too?

http://wiki.musl-libc.org/wiki/Supported_Platforms

powerpc (needs gcc built with --enable-secureplt --with-long-double-64,
and -Wl,--secure-plt to link dynamic binaries.)

Please add these as default options for gcc. Otherwise the toolchain is
more or less broken. This makes also the musl CFLAGS hack unnecessary.
Please submit the patch for recognizing the CARCH separately.

Thanks,
Timo


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Jan 20 2017 - 14:35:32 GMT