Hi all,
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Best, Kedar.
Kedar,
Kedar Sovani wrote:
Hi all,
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Good work!
I am interested in building for armv4t for Openmoko Neo - what would need to be done to your work to get a build for this architecture?
Regards,
Phil.
On Fri, 2008-11-28 at 18:22 +1100, Philip Rhoades wrote:
Kedar,
Kedar Sovani wrote:
Hi all,
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Good work!
Thank you.
I am interested in building for armv4t for Openmoko Neo - what would need to be done to your work to get a build for this architecture?
I suppose simply rebuilding the rpms (on the Fedora-ARM 10 buildroot) with the additional argument '--target armv4tl' should work.
Regards,
Phil.
Kedar.
Hiya Kedar,
Kedar Sovani wrote:
I am interested in building for armv4t for Openmoko Neo - what would need to be done to your work to get a build for this architecture?
I suppose simply rebuilding the rpms (on the Fedora-ARM 10 buildroot) with the additional argument '--target armv4tl' should work.
You'd think that :-)
I tried this with Fedora 8 and ARM5 instructions still found there way into the binaries. I believe the packages need to be built twice -- first in the ARM5 environment, then rebuilt from within the new ARM4/5ish environment. I tried this too but kept hitting circular dependencies, especially with Java. Haven't tried with Fedora 10 packages though.
-Phil
On Fri, Nov 28, 2008 at 09:54:18AM +0000, Philip Heron wrote:
Hiya Kedar,
Hey Philip,
I am interested in building for armv4t for Openmoko Neo - what would need to be done to your work to get a build for this architecture?
I suppose simply rebuilding the rpms (on the Fedora-ARM 10 buildroot) with the additional argument '--target armv4tl' should work.
You'd think that :-)
I tried this with Fedora 8 and ARM5 instructions still found there way into the binaries. I believe the packages need to be built twice -- first in the ARM5 environment, then rebuilt from within the new ARM4/5ish environment.
What's possible is that not all packages specify CFLAGS (although you'd expect that to be fixed by now), or not for all files that are built. If that happens, you'll end up with ARMv5 insns, since the Fedora/ARM gcc generates v5 code by default (I think this is the default in gcc 4.1 for EABI).
I tried this too but kept hitting circular dependencies, especially with Java.
This will always be the case, but you don't need to re-bootstrap to build an ARMv4 version of the distro, right? Just build all packages for v4 in a v5 chroot, then build a new chroot out of the v4 packages you've just built.
cheers, Lennert
On Fri, 2008-11-28 at 12:18 +0530, Kedar Sovani wrote:
Hi all,
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Ok, I now have the build closure with rpm-build available for F10. Thus far, I have upwards of 450 rpms built for F10 (on an F8 root).
I have now started re-buildling these rpms on F10. While building rpms on the F10 root, one problem that I see is some binaries keep crashing.
I could narrow down the problem to "-fstack-protector" option to gcc. If I do not pass that option, things work fine. Else, I see the binary seg-faulting. Is anyone aware of a known issues with gcc-4.3 on ARM, as far as stack protector is concerned?
Best, Kedar.
Kedar.
On Fri, 5 Dec 2008, Kedar Sovani wrote:
Ok, I now have the build closure with rpm-build available for F10. Thus far, I have upwards of 450 rpms built for F10 (on an F8 root).
I have now started re-buildling these rpms on F10. While building rpms on the F10 root, one problem that I see is some binaries keep crashing.
I could narrow down the problem to "-fstack-protector" option to gcc. If I do not pass that option, things work fine. Else, I see the binary seg-faulting. Is anyone aware of a known issues with gcc-4.3 on ARM, as far as stack protector is concerned?
Depending on the kernel version you use, you might be concerned by this:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=5340/1
Nicolas
On Fri, Dec 05, 2008 at 11:11:09AM +0530, Kedar Sovani wrote:
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Ok, I now have the build closure with rpm-build available for F10. Thus far, I have upwards of 450 rpms built for F10 (on an F8 root).
I have now started re-buildling these rpms on F10. While building rpms on the F10 root, one problem that I see is some binaries keep crashing.
I could narrow down the problem to "-fstack-protector" option to gcc. If I do not pass that option, things work fine. Else, I see the binary seg-faulting. Is anyone aware of a known issues with gcc-4.3 on ARM, as far as stack protector is concerned?
Kedar,
Can you try whether the fix for gcc PR35965 resolves this? E.g. http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01641.html .
thanks, Lennert
On Fri, 2008-12-05 at 18:39 +0100, Lennert Buytenhek wrote:
On Fri, Dec 05, 2008 at 11:11:09AM +0530, Kedar Sovani wrote:
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Ok, I now have the build closure with rpm-build available for F10. Thus far, I have upwards of 450 rpms built for F10 (on an F8 root).
I have now started re-buildling these rpms on F10. While building rpms on the F10 root, one problem that I see is some binaries keep crashing.
I could narrow down the problem to "-fstack-protector" option to gcc. If I do not pass that option, things work fine. Else, I see the binary seg-faulting. Is anyone aware of a known issues with gcc-4.3 on ARM, as far as stack protector is concerned?
Kedar,
Can you try whether the fix for gcc PR35965 resolves this? E.g. http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01641.html .
Great! This patch worked.
thanks, Lennert
/me fires package rebuilds with the patched gcc...
Thanks, Kedar.
On Tue, Dec 9, 2008 at 6:41 AM, Kedar Sovani kedars@marvell.com wrote:
On Fri, 2008-12-05 at 18:39 +0100, Lennert Buytenhek wrote:
On Fri, Dec 05, 2008 at 11:11:09AM +0530, Kedar Sovani wrote:
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Ok, I now have the build closure with rpm-build available for F10. Thus far, I have upwards of 450 rpms built for F10 (on an F8 root).
I have now started re-buildling these rpms on F10. While building rpms on the F10 root, one problem that I see is some binaries keep crashing.
I could narrow down the problem to "-fstack-protector" option to gcc. If I do not pass that option, things work fine. Else, I see the binary seg-faulting. Is anyone aware of a known issues with gcc-4.3 on ARM, as far as stack protector is concerned?
Kedar,
Can you try whether the fix for gcc PR35965 resolves this? E.g. http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01641.html .
Great! This patch worked.
Is anyone interested in getting F10 to work on the beagleboard?
People,
Kedar Sovani wrote:
On Fri, 2008-12-05 at 18:39 +0100, Lennert Buytenhek wrote:
On Fri, Dec 05, 2008 at 11:11:09AM +0530, Kedar Sovani wrote:
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Ok, I now have the build closure with rpm-build available for F10. Thus far, I have upwards of 450 rpms built for F10 (on an F8 root).
I have now started re-buildling these rpms on F10. While building rpms on the F10 root, one problem that I see is some binaries keep crashing.
I could narrow down the problem to "-fstack-protector" option to gcc. If I do not pass that option, things work fine. Else, I see the binary seg-faulting. Is anyone aware of a known issues with gcc-4.3 on ARM, as far as stack protector is concerned?
Kedar,
Can you try whether the fix for gcc PR35965 resolves this? E.g. http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01641.html .
Great! This patch worked.
thanks, Lennert
/me fires package rebuilds with the patched gcc...
With Kedar's work, does that mean it would be possible to get F10 going on the Openmoko devices now?
Thanks,
Phil.
On Mon, 2008-12-15 at 05:48 +1100, Philip Rhoades wrote:
People,
Kedar Sovani wrote:
On Fri, 2008-12-05 at 18:39 +0100, Lennert Buytenhek wrote:
On Fri, Dec 05, 2008 at 11:11:09AM +0530, Kedar Sovani wrote:
With the announcement of Fedora-10, I am sure people would want to know whether anyone is building F10 packages for ARM.
I have been doing just that. So far I have built a set of basic packages (including gcc) that boots F10 on ARM. These packages are, for now, built on an F8 build root. Once I have rpm-build built for F10, I could rebuild all the packages on an F10 build root. And then make the rpms available somewhere.
Ok, I now have the build closure with rpm-build available for F10. Thus far, I have upwards of 450 rpms built for F10 (on an F8 root).
I have now started re-buildling these rpms on F10. While building rpms on the F10 root, one problem that I see is some binaries keep crashing.
I could narrow down the problem to "-fstack-protector" option to gcc. If I do not pass that option, things work fine. Else, I see the binary seg-faulting. Is anyone aware of a known issues with gcc-4.3 on ARM, as far as stack protector is concerned?
Kedar,
Can you try whether the fix for gcc PR35965 resolves this? E.g. http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01641.html .
Great! This patch worked.
thanks, Lennert
/me fires package rebuilds with the patched gcc...
With Kedar's work, does that mean it would be possible to get F10 going on the Openmoko devices now?
I am currently building for the target armv5tel. I suppose Openmoko needs armv4t?
But once an F10 root for ARM is available, you should be able to rebuild for armv4t.
Thanks,
Phil.
Kedar.