Message ID | eb2b3e9047e5696c2a603be940e2830c9f450773.camel@free.fr |
---|---|
State | Accepted |
Headers | show |
Series | [bug#38459] gnu: (cross-gcc-arguments|gcc-boot0): Enable 128 bit long double for POWER9. | expand |
Context | Check | Description |
---|---|---|
cbaines/submitting builds | success | |
cbaines/submitting builds | success | |
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
Hi, dftxbs3e <dftxbs3e@free.fr> skribis: >>From 66bcaaebe1761499a60518dc83975006aa30b58f Mon Sep 17 00:00:00 2001 > From: dftxbs3e <dftxbs3e@free.fr> > Date: Sat, 7 Dec 2019 20:26:51 +0100 > Subject: [PATCH 1/2] gnu: gcc-boot0: Enable 128 bit long double for POWER9. > > --- > gnu/packages/commencement.scm | 5 +++++ [...] >>From 0628808608a0b0851de913a88d626234358100c5 Mon Sep 17 00:00:00 2001 > From: dftxbs3e <dftxbs3e@free.fr> > Date: Sat, 7 Dec 2019 20:27:12 +0100 > Subject: [PATCH 2/2] gnu: cross-gcc-arguments: Enable 128 bit long double for > POWER9. > > --- > gnu/packages/cross-base.scm | 5 +++++ I’ve applied both as a single commit with a commit message that follows our conventions. At last. :-) Thanks! Ludo’.
From 0628808608a0b0851de913a88d626234358100c5 Mon Sep 17 00:00:00 2001 From: dftxbs3e <dftxbs3e@free.fr> Date: Sat, 7 Dec 2019 20:27:12 +0100 Subject: [PATCH 2/2] gnu: cross-gcc-arguments: Enable 128 bit long double for POWER9. --- gnu/packages/cross-base.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 13237fb8a8..18dc1f592b 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -150,6 +150,11 @@ base compiler and using LIBC (which may be either a libc package or #f.)" "--disable-decimal-float" ;would need libc "--disable-libcilkrts" + ,@(if (equal? "powerpc64le-linux-gnu" target) + ;; On POWER9 (little endian) glibc needs the 128 bit long double type. + '("--with-long-double-128") + '()) + ;; When target is any OS other than 'none' these ;; libraries will fail if there is no libc ;; present. See -- 2.21.0