public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9
@ 2016-07-15 13:22 Pascal Bach
  2016-07-15 14:20 ` akuster808
  2016-08-15 20:58 ` akuster808
  0 siblings, 2 replies; 5+ messages in thread
From: Pascal Bach @ 2016-07-15 13:22 UTC (permalink / raw)
  To: openembedded-core

This ports the missing changes from commit: 7a51776a830167e43cbd185505f62f328704e271
from 5.3 to 4.9 so that qemuppc can be compiled.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
---
 ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
index b98f8ff..77fa18a 100644
--- a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
+++ b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
@@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
  	extra_options="${extra_options} rs6000/sysv4.opt"
  	tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
  	case ${target} in
+Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
+===================================================================
+--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
++++ gcc-4.9.3/gcc/config/rs6000/linuxspe.h
+@@ -27,6 +27,3 @@
+ #undef	TARGET_DEFAULT
+ #define TARGET_DEFAULT MASK_STRICT_ALIGN
+ #endif
+-
+-#undef  ASM_DEFAULT_SPEC
+-#define	ASM_DEFAULT_SPEC "-mppc -mspe -me500"
 -- 
 1.7.9.5
 
-- 
2.1.4



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

* Re: [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9
  2016-07-15 13:22 [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9 Pascal Bach
@ 2016-07-15 14:20 ` akuster808
  2016-07-15 14:43   ` Pascal Bach
  2016-08-15 20:58 ` akuster808
  1 sibling, 1 reply; 5+ messages in thread
From: akuster808 @ 2016-07-15 14:20 UTC (permalink / raw)
  To: Pascal Bach, openembedded-core

Pascal,

The "0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch" is
missing the OE patch standard header information.

please see http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

Also, there is no .bb update so this patch will be applied.

regards,
Armin

On 07/15/2016 06:22 AM, Pascal Bach wrote:
> This ports the missing changes from commit: 7a51776a830167e43cbd185505f62f328704e271
> from 5.3 to 4.9 so that qemuppc can be compiled.
> 
> Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
> ---
>  ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> index b98f8ff..77fa18a 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> +++ b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> @@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
>   	extra_options="${extra_options} rs6000/sysv4.opt"
>   	tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
>   	case ${target} in
> +Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
> +===================================================================
> +--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
> ++++ gcc-4.9.3/gcc/config/rs6000/linuxspe.h
> +@@ -27,6 +27,3 @@
> + #undef	TARGET_DEFAULT
> + #define TARGET_DEFAULT MASK_STRICT_ALIGN
> + #endif
> +-
> +-#undef  ASM_DEFAULT_SPEC
> +-#define	ASM_DEFAULT_SPEC "-mppc -mspe -me500"
>  -- 
>  1.7.9.5
>  
> 


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

* Re: [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9
  2016-07-15 14:20 ` akuster808
@ 2016-07-15 14:43   ` Pascal Bach
  2016-08-04  7:48     ` Pascal Bach
  0 siblings, 1 reply; 5+ messages in thread
From: Pascal Bach @ 2016-07-15 14:43 UTC (permalink / raw)
  To: akuster808, openembedded-core

Hi Armin

The patch only modifies an existing patch which already has a header.
I really just did the minimum change by copying and adapting the missing section from the corresponding patch for 5.3. to make qemuppc work again.

Pascal

On 15.07.2016 16:20, akuster808 wrote:
> Pascal,
>
> The "0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch" is
> missing the OE patch standard header information.
>
> please see http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
>
> Also, there is no .bb update so this patch will be applied.
>
> regards,
> Armin
>
> On 07/15/2016 06:22 AM, Pascal Bach wrote:
>> This ports the missing changes from commit: 7a51776a830167e43cbd185505f62f328704e271
>> from 5.3 to 4.9 so that qemuppc can be compiled.
>>
>> Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
>> ---
>>  ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>>
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>> index b98f8ff..77fa18a 100644
>> --- a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>> +++ b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>> @@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
>>   	extra_options="${extra_options} rs6000/sysv4.opt"
>>   	tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
>>   	case ${target} in
>> +Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
>> +===================================================================
>> +--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
>> ++++ gcc-4.9.3/gcc/config/rs6000/linuxspe.h
>> +@@ -27,6 +27,3 @@
>> + #undef	TARGET_DEFAULT
>> + #define TARGET_DEFAULT MASK_STRICT_ALIGN
>> + #endif
>> +-
>> +-#undef  ASM_DEFAULT_SPEC
>> +-#define	ASM_DEFAULT_SPEC "-mppc -mspe -me500"
>>  -- 
>>  1.7.9.5
>>  
>>



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

* Re: [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9
  2016-07-15 14:43   ` Pascal Bach
@ 2016-08-04  7:48     ` Pascal Bach
  0 siblings, 0 replies; 5+ messages in thread
From: Pascal Bach @ 2016-08-04  7:48 UTC (permalink / raw)
  To: openembedded-core

Any chance this will be merged to krogoth?


On 15.07.2016 16:43, Pascal Bach wrote:
> Hi Armin
>
> The patch only modifies an existing patch which already has a header.
> I really just did the minimum change by copying and adapting the missing section from the corresponding patch for 5.3. to make qemuppc work again.
>
> Pascal
>
> On 15.07.2016 16:20, akuster808 wrote:
>> Pascal,
>>
>> The "0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch" is
>> missing the OE patch standard header information.
>>
>> please see http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
>>
>> Also, there is no .bb update so this patch will be applied.
>>
>> regards,
>> Armin
>>
>> On 07/15/2016 06:22 AM, Pascal Bach wrote:
>>> This ports the missing changes from commit: 7a51776a830167e43cbd185505f62f328704e271
>>> from 5.3 to 4.9 so that qemuppc can be compiled.
>>>
>>> Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
>>> ---
>>>  ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 +++++++++++
>>>  1 file changed, 11 insertions(+)
>>>
>>> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>>> index b98f8ff..77fa18a 100644
>>> --- a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>>> +++ b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
>>> @@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
>>>   	extra_options="${extra_options} rs6000/sysv4.opt"
>>>   	tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
>>>   	case ${target} in
>>> +Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
>>> +===================================================================
>>> +--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
>>> ++++ gcc-4.9.3/gcc/config/rs6000/linuxspe.h
>>> +@@ -27,6 +27,3 @@
>>> + #undef	TARGET_DEFAULT
>>> + #define TARGET_DEFAULT MASK_STRICT_ALIGN
>>> + #endif
>>> +-
>>> +-#undef  ASM_DEFAULT_SPEC
>>> +-#define	ASM_DEFAULT_SPEC "-mppc -mspe -me500"
>>>  -- 
>>>  1.7.9.5
>>>  
>>>



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

* Re: [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9
  2016-07-15 13:22 [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9 Pascal Bach
  2016-07-15 14:20 ` akuster808
@ 2016-08-15 20:58 ` akuster808
  1 sibling, 0 replies; 5+ messages in thread
From: akuster808 @ 2016-08-15 20:58 UTC (permalink / raw)
  To: openembedded-core



On 07/15/2016 06:22 AM, Pascal Bach wrote:
> This ports the missing changes from commit: 7a51776a830167e43cbd185505f62f328704e271
> from 5.3 to 4.9 so that qemuppc can be compiled.
> 
> Signed-off-by: Pascal Bach <pascal.bach@siemens.com>

merged to staging

thanks,
Armin
> ---
>  ...Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> index b98f8ff..77fa18a 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> +++ b/meta/recipes-devtools/gcc/gcc-4.9/0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
> @@ -37,6 +37,17 @@ index cb7a94e..d392c2b 100644
>   	extra_options="${extra_options} rs6000/sysv4.opt"
>   	tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
>   	case ${target} in
> +Index: gcc-4.9.3/gcc/config/rs6000/linuxspe.h
> +===================================================================
> +--- gcc-4.9.3.orig/gcc/config/rs6000/linuxspe.h
> ++++ gcc-4.9.3/gcc/config/rs6000/linuxspe.h
> +@@ -27,6 +27,3 @@
> + #undef	TARGET_DEFAULT
> + #define TARGET_DEFAULT MASK_STRICT_ALIGN
> + #endif
> +-
> +-#undef  ASM_DEFAULT_SPEC
> +-#define	ASM_DEFAULT_SPEC "-mppc -mspe -me500"
>  -- 
>  1.7.9.5
>  
> 


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

end of thread, other threads:[~2016-08-15 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-15 13:22 [krogoth][PATCH] gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9 Pascal Bach
2016-07-15 14:20 ` akuster808
2016-07-15 14:43   ` Pascal Bach
2016-08-04  7:48     ` Pascal Bach
2016-08-15 20:58 ` akuster808

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox