Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 979687 - gperftools is FTBFS on ARM
Summary: gperftools is FTBFS on ARM
Alias: None
Product: Fedora
Classification: Fedora
Component: gperftools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
: 990617 (view as bug list)
Depends On:
Blocks: ARMTracker 990602
TreeView+ depends on / blocked
Reported: 2013-06-29 12:04 UTC by Peter Robinson
Modified: 2013-08-11 18:28 UTC (History)
5 users (show)

Fixed In Version: gperftools-2.1-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-08-11 18:28:33 UTC
Type: Bug

Attachments (Terms of Use)

Description Peter Robinson 2013-06-29 12:04:31 UTC
The latest update for gperftools ARM fixes introduces some atomics issues on ARM causing FTBFS
- update to svn r218 (cleanups, some ARM fixes)

libtool: link: g++ -DNO_TCMALLOC_SAMPLES -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wno-unused-local-typedefs -DTCMALLOC_LARGE_PAGES -Wl,-z -Wl,relro -o low_level_alloc_unittest low_level_alloc_unittest-low_level_alloc.o low_level_alloc_unittest-malloc_hook.o low_level_alloc_unittest-maybe_threads.o low_level_alloc_unittest-low_level_alloc_unittest.o  ./.libs/libspinlock.a ./.libs/libsysinfo.a ./.libs/liblogging.a
g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc  -Wno-unused-result   -O2 -g -pipe -Wall  -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wno-unused-local-typedefs -DTCMALLOC_LARGE_PAGES -c -o atomicops_unittest.o `test -f 'src/tests/' || echo './'`src/tests/
src/tests/ In instantiation of 'void TestAtomicOps() [with AtomicType = int]':
src/tests/   required from here
src/tests/ error: no matching function for call to 'TestAtomicExchange(<unresolved overloaded function type>)'
src/tests/ note: candidate is:
src/tests/ note: template<class AtomicType> void TestAtomicExchange(AtomicType (*)(volatile AtomicType*, AtomicType))
 static void TestAtomicExchange(AtomicType (*atomic_exchange_func)
src/tests/ note:   template argument deduction/substitution failed:
src/tests/ note:   cannot convert 'base::subtle::Release_AtomicExchange' (type '<unresolved overloaded function type>') to type 'int (*)(volatile int*, int)'
make: *** [atomicops_unittest.o] Error 1

Comment 1 Tom "spot" Callaway 2013-07-10 21:43:20 UTC
Just looking at this error, I have no idea.

Comment 2 Brendan Conoboy 2013-07-17 23:26:56 UTC
I don't speak C++, but I can tell you reverting the patch between r193 and r194 solves this particular build failure.

There is something about how the implementation or the testing of the atomic functions was done that means this succeeds:


But this fails:


Somebody fluent in C++ should be able to knock this out very easily, we are evidently missing some simple definition, or calling it wrong.

Comment 3 Tom "spot" Callaway 2013-07-31 14:50:43 UTC
*** Bug 990617 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2013-07-31 16:09:30 UTC
gperftools-2.1-1.fc19 has been submitted as an update for Fedora 19.

Comment 5 Fedora Update System 2013-08-02 21:52:22 UTC
Package gperftools-2.1-1.fc19:
* 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 gperftools-2.1-1.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-08-11 18:28:33 UTC
gperftools-2.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.