[opensuse-factory] openSUSE Factory on ARM is alive!
Hi, This week, a group of Hack week participants have sat together and bootstrapped openSUSE Factory for ARM, namely for armv5tel (soft floating point with thumbs) and for armv7hl (hard floating point with aapcs-linux ABI). This seems to be the common cross-distro standard, the recent Fedora15 porting activities also targetted armv7hl. The status is at the moment: - We have at the moment over 1700 packages succeeded. A test on real hardware shows that the packages are running fine. Many more packages should come over the next few hours, as low-level dependencies are finally building and now will enable the build of the rest of the distro. - We have one hard issue: gcc 4.6 seems to miscompile on armv5tel something that causes the rpm database to corrupt very quickly, which means that no packages can build in a regular chroot, which sets up the rpm database but corrupts it, so the rpmbuild then fails. As a workaround, we're building armv5tel with gcc 4.4, which works fine. Thiis is not a permanent solution yet, we need to find the actual problem. - We have a few failures in packages. Looking at them, most of them are caused by threading issues (e.g. failing testsuites), because building under usermode qemu does not have a good thread emulation, and it often fails or simply crashes. This seems to be a hard issue, we can only solve that by building either in system qemu (which seems to be too slow to use) or by building with real hardware. We currently plan to use real hardware. At the moment, problematic parts can be disabled with a %if !%qemu_user_space_build ... %endif section. Everyone is invited to take a look at the failures and help fixing them. building packages locally is easy, if you have "qemu" installed. we recommend to use the qemu from openSUSE:Tools:Unstable, as it has a couple of fixes we noticed that we need for proper building. These fixes are hopefully soon in the factory version. We document status + common problems + how to particpate here: http://en.opensuse.org/How_To_Work_On_openSUSE_ARM_Distribution Please join! Thanks, Adrian, Alexander, Dirk and Reinhard. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 30/09/11 11:40, Dirk Müller wrote:
Everyone is invited to take a look at the failures and help fixing them. building packages locally is easy, if you have "qemu" installed. we recommend to use the qemu from openSUSE:Tools:Unstable, as it has a couple of fixes we noticed that we need for proper building. These fixes are hopefully soon in the factory version.
Ok, got it working, I am correcting build fails now, though the compiler is working slow as hell ;) Cheers. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Friday 30 September 2011, Cristian Rodríguez wrote:
Ok, got it working, I am correcting build fails now, though the compiler is working slow as hell ;)
Hi Cristian, thanks a lot for jumping right on it. one thing I forgot to mention: we know that some testsuites fail due to $0 (argv[0]) being garbled when run under qemu. Alex wants to fix this properly in qemu, so we prefer to have those particular tests fail for now, until we fixed it in qemu. JFYI. Thanks, Dirk -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 30/09/11 11:40, Dirk Müller wrote:
At the moment, problematic parts can be disabled with a
%if !%qemu_user_space_build ... %endif
That causes build error in other archs try %if ! 0%{?qemu_user_space_build} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 30/09/11 11:40, Dirk Müller wrote:
Everyone is invited to take a look at the failures and help fixing them. building packages locally is easy,
Is it expected that ccache does not work inside this qemu vm ? it is installed but never setup correctly inside the build environment -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
2011/9/30 Dirk Müller <dmueller@suse.de>:
Hi,
This week, a group of Hack week participants have sat together and bootstrapped openSUSE Factory for ARM, namely for armv5tel (soft floating point with thumbs) and for armv7hl (hard floating point with aapcs-linux ABI). This seems to be the common cross-distro standard, the recent Fedora15 porting activities also targetted armv7hl.
The status is at the moment:
- We have at the moment over 1700 packages succeeded. A test on real hardware shows that the packages are running fine. Many more packages should come over the next few hours, as low-level dependencies are finally building and now will enable the build of the rest of the distro.
- We have one hard issue: gcc 4.6 seems to miscompile on armv5tel something that causes the rpm database to corrupt very quickly, which means that no packages can build in a regular chroot, which sets up the rpm database but corrupts it, so the rpmbuild then fails.
As a workaround, we're building armv5tel with gcc 4.4, which works fine. Thiis is not a permanent solution yet, we need to find the actual problem.
- We have a few failures in packages. Looking at them, most of them are caused by threading issues (e.g. failing testsuites), because building under usermode qemu does not have a good thread emulation, and it often fails or simply crashes. This seems to be a hard issue, we can only solve that by building either in system qemu (which seems to be too slow to use) or by building with real hardware. We currently plan to use real hardware.
At the moment, problematic parts can be disabled with a
%if !%qemu_user_space_build ... %endif
section.
Everyone is invited to take a look at the failures and help fixing them. building packages locally is easy, if you have "qemu" installed. we recommend to use the qemu from openSUSE:Tools:Unstable, as it has a couple of fixes we noticed that we need for proper building. These fixes are hopefully soon in the factory version.
We document status + common problems + how to particpate here:
http://en.opensuse.org/How_To_Work_On_openSUSE_ARM_Distribution
Please join!
Thanks, Adrian, Alexander, Dirk and Reinhard. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hey guys, this seems good material for an article on news, what do you think about it? I am saying that so even more people can come and join the ARM project. Unfortunately I am not so much into technical stuff so if you like the idea can someone help me on that? Kostas -- http://opensuse.gr http://amb.opensuse.gr http://own.opensuse.gr http://warlordfff.tk me I am not me ------- Time travel is possible, you just need to know the right aliens -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Cristian Rodríguez
-
Dirk Müller
-
Kostas Koudaras