All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
@ 2012-07-11  3:39 Matthew McClintock
  2012-07-11  3:59 ` McClintock Matthew-B29882
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew McClintock @ 2012-07-11  3:39 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/recipes-devtools/gcc/gcc-4.7.inc              |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-common.inc |    4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
index 3b6e313..ece32c1 100644
--- a/meta/recipes-devtools/gcc/gcc-4.7.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r5"
+PR = "r6"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.7.1
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index 3dd9de7..908ad3e 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -61,6 +61,10 @@ EXTRA_OECONF_append_mips64el    = " --with-abi=64 --with-arch-64=mips64 --with-t
 EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}"
 CPPFLAGS = ""
 
+# powerpc needs this to comply with the ABI
+EXTRA_OECONF_append_powerpc = " --with-long-double-128"
+EXTRA_OECONF_append_powerpc64 = " --with-long-double-128"
+
 # Used by configure to define additional values for FLAGS_FOR_TARGET -
 # passed to all the compilers.
 ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}"
-- 
1.7.10





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
  2012-07-11  3:39 [PATCH] gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI Matthew McClintock
@ 2012-07-11  3:59 ` McClintock Matthew-B29882
  2012-07-11 17:45   ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: McClintock Matthew-B29882 @ 2012-07-11  3:59 UTC (permalink / raw)
  To: openembedded-core

On Tue, Jul 10, 2012 at 10:39 PM, Matthew McClintock <msm@freescale.com> wrote:
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  meta/recipes-devtools/gcc/gcc-4.7.inc              |    2 +-
>  meta/recipes-devtools/gcc/gcc-configure-common.inc |    4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
> index 3b6e313..ece32c1 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.7.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
> @@ -1,6 +1,6 @@
>  require gcc-common.inc
>
> -PR = "r5"
> +PR = "r6"

This patch has the wrong PR bump here, but the version in my tree is fixed up:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=mattsm/master

-M

>
>  # Third digit in PV should be incremented after a minor release
>  # happens from this branch on gcc e.g. currently its 4.7.1
> diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
> index 3dd9de7..908ad3e 100644
> --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
> +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
> @@ -61,6 +61,10 @@ EXTRA_OECONF_append_mips64el    = " --with-abi=64 --with-arch-64=mips64 --with-t
>  EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}"
>  CPPFLAGS = ""
>
> +# powerpc needs this to comply with the ABI
> +EXTRA_OECONF_append_powerpc = " --with-long-double-128"
> +EXTRA_OECONF_append_powerpc64 = " --with-long-double-128"
> +
>  # Used by configure to define additional values for FLAGS_FOR_TARGET -
>  # passed to all the compilers.
>  ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}"
> --
> 1.7.10
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
  2012-07-11  3:59 ` McClintock Matthew-B29882
@ 2012-07-11 17:45   ` Saul Wold
  0 siblings, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-07-11 17:45 UTC (permalink / raw)
  To: McClintock Matthew-B29882,
	Patches and discussions about the oe-core layer

On 07/10/2012 08:59 PM, McClintock Matthew-B29882 wrote:
> On Tue, Jul 10, 2012 at 10:39 PM, Matthew McClintock <msm@freescale.com> wrote:
>> Signed-off-by: Matthew McClintock <msm@freescale.com>
>> ---
>>   meta/recipes-devtools/gcc/gcc-4.7.inc              |    2 +-
>>   meta/recipes-devtools/gcc/gcc-configure-common.inc |    4 ++++
>>   2 files changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
>> index 3b6e313..ece32c1 100644
>> --- a/meta/recipes-devtools/gcc/gcc-4.7.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
>> @@ -1,6 +1,6 @@
>>   require gcc-common.inc
>>
>> -PR = "r5"
>> +PR = "r6"
>
> This patch has the wrong PR bump here, but the version in my tree is fixed up:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=mattsm/master
>
Merged into OE-Core

Thanks
	Sau!
> -M
>
>>
>>   # Third digit in PV should be incremented after a minor release
>>   # happens from this branch on gcc e.g. currently its 4.7.1
>> diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
>> index 3dd9de7..908ad3e 100644
>> --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
>> @@ -61,6 +61,10 @@ EXTRA_OECONF_append_mips64el    = " --with-abi=64 --with-arch-64=mips64 --with-t
>>   EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}"
>>   CPPFLAGS = ""
>>
>> +# powerpc needs this to comply with the ABI
>> +EXTRA_OECONF_append_powerpc = " --with-long-double-128"
>> +EXTRA_OECONF_append_powerpc64 = " --with-long-double-128"
>> +
>>   # Used by configure to define additional values for FLAGS_FOR_TARGET -
>>   # passed to all the compilers.
>>   ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}"
>> --
>> 1.7.10
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-11 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-11  3:39 [PATCH] gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI Matthew McClintock
2012-07-11  3:59 ` McClintock Matthew-B29882
2012-07-11 17:45   ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.