Bug 240470 - dev-libs/boost-1.35.0-r2 uses sync_fetch_and_add on all architectures but it only implemented for x86
|
Bug#:
240470
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: Sparc
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dev-zero@gentoo.org
|
Reported By: erm67@yahoo.it
|
|
Component: Development
|
|
|
URL:
|
|
Summary: dev-libs/boost-1.35.0-r2 uses sync_fetch_and_add on all architectures but it only implemented for x86
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-10-08 09:14 0000
|
boost/detail/atomic_count_sync.hpp uses sync_fetch_and_add on all architecture
while it is only defined foe x86
Reproducible: Always
Steps to Reproduce:
1.emerge gnash under gentoo sparc, linking fails because sync_fetch_and_add is
not defined.
The bug is already fixed almost in the same way in the svn version of boost.
I tested gnash compiled with this patch on a ultra2 enterprise sparc 2 CPU
296Mhz and works well on most flash films. No chrashes.
(In reply to comment #1)
> Created an attachment (id=167588) [edit] [details]
> 10_all_1.35.0-arm_hppa_sparc-sync_fetch_and_add.patch
>
> This patch fixes the problem and gnash compiles correctly
>
I have the same bug on gnash compile.
So I try the patch on boost but it doesn't change anything on gnash compile.
Anyone can help me please ?