Red Hat Bugzilla – Bug 922770
tog-pegasus 2.12.0 is FTBFS on ARM
Last modified: 2013-05-24 16:26:35 EDT
2.12.x is FTBFS on ARM. Previous versions built OK
./bin/TestScope +++++ passed all tests
./bin/TestStack +++++ passed all tests
./bin/TestStopwatch +++++ passed all tests
./bin/TestStrToInstName +++++ passed all tests
./bin/TestString +++++ passed all tests
./bin/TestTimeValue +++++ passed all tests
./bin/TestToMof +++++ passed all tests
make: *** [prestarttests_internal] Segmentation fault
make: *** [prestarttests] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.fLnGL9 (%check)
RPM build errors:
bogus date in %changelog: Wed Aug 25 2009 Tomas Mraz <firstname.lastname@example.org> - 2:2.9.0-5
bogus date in %changelog: Mon Jun 16 2009 Vitezslav Crhonek <email@example.com> - 2:2.9.0-1
Bad exit status from /var/tmp/rpm-tmp.fLnGL9 (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
Fixed up bad dates in rawhide, but still fails on my rpi. Investigating.
Build is finished fine, the error occurs in %check section. One of the test binary segfaults on ARM.
Created attachment 738673 [details]
Patch to replace ARM (XScale) atomic operations
This patch replaces the XScale and x86 GNU platform specific assembly code for atomic operations with platform-neutral code from GCC builtins (libatomic).
I believe the issue is in the atomic operations on ARM:
The code there was old (XScale), and did not work on modern ARM SOCs. I replaced that code with platform neutral code using GCC built-ins (libatomic), and was able to successfully complete a build.
Since the new code is platform neutral, I also tried replacing the x86 GNU atomic operations with the same (shared) code, and a scratch build completed successfully on both ARM and x86:
I have uploaded a patch for 2.12.1 that makes the above changes.
A newer patch has been submitted upstream. Please see:
If accepted, it will be applied to the trunk and 2.12-branch.
This has now been commited upstream.
Please pull in these changes for the Fedora 18 and 19 builds.
tog-pegasus-2.12.1-3.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tog-pegasus-2.12.1-3.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
tog-pegasus-2.12.1-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.