Skip to contentSkip to conversation

ping: Sparc Leon patches

Buildroot Konrad Eisele 3 participants 6 messages Nov 8, 2010 – Nov 25, 2010

lore
Share & tools
lore
#1 lore raw
Quoted 1 line · Konrad Eisele

patches follow

Tested and added to my repo so it probably will be in for 2010.11 as discussed with Thomas on IRC.
One problem i've found is that when i build for a v7 target (doesn't matter if it's leon or generic) libgomp in gcc seems to fail badly, is it known?
And do you have patches for other versions of gcc like 4.3.x or 4.5.x to include in the future?
Thanks.

#2 lore raw
Quoted 9 lines · Gustavo Zacarias
Quoted 1 line · Konrad Eisele

patches follow

Tested and added to my repo so it probably will be in for 2010.11 as discussed with Thomas on IRC.
One problem i've found is that when i build for a v7 target (doesn't matter if it's leon or generic) libgomp in gcc seems to fail badly, is it known?

Hi, Uclibc disables shared libraries for V7 by default . Its on my todo list to remove this constrains. It shouldnt matter weather V7 or V8 when creating shared librares.
For v7 targets I in the meantme use:
BR2_EXTRA_GCC_CONFIG_OPTIONS="--disable-libgomp"

Quoted 2 lines

And do you have patches for other versions of gcc like 4.3.x or 4.5.x to include in the future?

Yes. I'll send the gcc patches to the gcc-patch list also. I just got permssion by the fsf.
I'll also put it on my todo list to add 4.3.x and further patches.

-- Thanks Konrad

ps. I appended the 4 patches again. The [4/4] patch that adds
long double gcc intrinscs support (from glibc) to uclibc didnt
come through. Maybe because it is too big?...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-config-Add-sparc-leon-processors.-Readd-V7-8-part-of.patch
Type: text/x-patch
Size: 2708 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101110/6a66c6e8/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-toolchain-Add-support-for-with-cpu.patch
Type: text/x-patch
Size: 2638 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101110/6a66c6e8/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-gcc-patch-Add-patch-for-4.4.5-to-support-Sparc-leon-.patch
Type: text/x-patch
Size: 9367 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101110/6a66c6e8/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-uclibc-patch-add-sparc-long-double-gcc-intrinsics-to.patch
Type: text/x-patch
Size: 267209 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101110/6a66c6e8/attachment-0007.bin>

#3 lore raw
Quoted 11 lines · Konrad Eisele
Quoted 9 lines · Gustavo Zacarias
Quoted 1 line · Konrad Eisele

patches follow

Tested and added to my repo so it probably will be in for 2010.11 as discussed with Thomas on IRC.
One problem i've found is that when i build for a v7 target (doesn't matter if it's leon or generic) libgomp in gcc seems to fail badly, is it known?

Quoted 5 lines

Hi, Uclibc disables shared libraries for V7 by default . Its on my todo list to remove this constrains. It shouldnt matter weather V7 or V8 when creating shared librares.
For v7 targets I in the meantme use:
BR2_EXTRA_GCC_CONFIG_OPTIONS="--disable-libgomp"

We can probably disable libgomp for v7 automatically in buildroot, i'll give it a shot tomorrow time allowing.

Quoted 8 lines
Quoted 2 lines

And do you have patches for other versions of gcc like 4.3.x or 4.5.x to include in the future?

Yes. I'll send the gcc patches to the gcc-patch list also. I just got permssion by the fsf.
I'll also put it on my todo list to add 4.3.x and further patches.

-- Thanks Konrad

Ok, will be nice to have them when they're available.
In the mean time i've restricted the gcc selection in BR to 4.4.x for LEON.

Quoted 3 lines

ps. I appended the 4 patches again. The [4/4] patch that adds long double gcc intrinscs support (from glibc) to uclibc didnt come through. Maybe because it is too big?...

Yes, the uclibc patch is huge so it's probably pending approval for the list.
Has this patch been sent to the uclibc people to include? All of this is in my repo for the time being so it's still pending Peter's approval to include in the final release.
Thanks.

#4 lore raw
Quoted 4 lines

Yes, the uclibc patch is huge so it's probably pending approval for the list.
Has this patch been sent to the uclibc people to include?

I need to send the patch to the uclibc list. didnt have time to do so till now. On my todo list now..
-- Greetings Konrad

Quoted 5 lines

All of this is in my repo for the time being so it's still pending Peter's approval to include in the final release. Thanks.

#5 lore raw
In reply to Gustavo Zacarias
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Quoted 1 line · Konrad Eisele
Quoted 1 line

patches follow

Gustavo> Tested and added to my repo so it probably will be in for Gustavo> 2010.11 as discussed with Thomas on IRC.

They are now in, thanks everyone.

Signature · 1 line
Bye, Peter Korsgaard