Project

General

Profile

Actions

Bug #1634

closed

undefined reference to `__sync_fetch_and_add_4'

Added by Randy M over 12 years ago. Updated about 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2013-02-19
Due date:
% Done:

0%

Estimated time:
Found in version:
3.3
Affected Versions:

Description

After seeing this PR being pulled https://github.com/tvheadend/tvheadend/commit/eaec34220b9c7960b80e7bb9481521f04985b1d9 i tried to compile it for my ARM Based Synology to see if it would succeed now. (using Synology toolchain)
It didn't and it returned this error: undefined reference to `__sync_fetch_and_add_4' and this undefined reference to `__sync_fetch_and_add_8'

Is this something i can fix by using a somewhat older atomic.h file or a piece of it something like this https://github.com/tvheadend/tvheadend/commit/6bb8d14bd3178e23804230f3dd105ef481a12f47#L0R88

http://pastebin.com/UPisBHRR

Get the same error when compiling it directly on my NAS.

Actions

Also available in: Atom PDF