Skip to contentSkip to conversation

qemuppc kernel doesn't build with GCC 4.9 on korgoth

DISCUSSION Pascal Bach 2 participants 3 messages Jun 15, 2016 – Jun 16, 2016

lore
Share & tools
lore
#0 lore raw

Hi

I tried to build qemuppc on the latest korgoth branch using the GCC 4.9.3 from OE-core.

The problem is that i get an error when trying to build the kernel. I was able to trace the issue back to this commit:
https://github.com/openembedded/openembedded-core/commit/7a51776a830167e43cbd185505f62f328704e271

And i can confirm that removing TARGET_CC_KERNEL_ARCH = "-mno-spe" from qemuppc.conf makes it work again.

The question is how to best solve this?
Do the changes for GCC 5.3.0 that done in the commit mentioned above also need to be applied to 4.9? Or is it just not supported to build qemuppc with GCC 4.9?

Thanks for your help

Pascal

#1 lore raw
Quoted 11 lines · Pascal Bach

Hi

I tried to build qemuppc on the latest korgoth branch using the GCC 4.9.3 from OE-core.

The problem is that i get an error when trying to build the kernel. I was able to trace the issue back to this commit:
https://github.com/openembedded/openembedded-core/commit/7a51776a830167e43cbd185505f62f328704e271

Quoted 6 lines

And i can confirm that removing TARGET_CC_KERNEL_ARCH = "-mno-spe" from qemuppc.conf makes it work again.

The question is how to best solve this?
Do the changes for GCC 5.3.0 that done in the commit mentioned above also need to be applied to 4.9? Or is it just not supported to build qemuppc with GCC 4.9?

back port the gcc patch to 4.9

Quoted 9 lines

Thanks for your help

Pascal

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 11 lines
Quoted 11 lines · Pascal Bach

Hi

I tried to build qemuppc on the latest korgoth branch using the GCC 4.9.3 from OE-core.

The problem is that i get an error when trying to build the kernel. I was able to trace the issue back to this commit:
https://github.com/openembedded/openembedded-core/commit/7a51776a830167e43cbd185505f62f328704e271

Quoted 7 lines
Quoted 6 lines

And i can confirm that removing TARGET_CC_KERNEL_ARCH = "-mno-spe" from qemuppc.conf makes it work again.

The question is how to best solve this?
Do the changes for GCC 5.3.0 that done in the commit mentioned above also need to be applied to 4.9? Or is it just not supported to build qemuppc with GCC 4.9?

back port the gcc patch to 4.9

I just noticed it is already backported to 4.9 as 0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch Is anybody else using a powerpc machine with Yocto2.1 and GCC4.9?

Regards
Pascal