NetBSD Problem Report #49614

From www@NetBSD.org  Fri Jan 30 19:26:11 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7D431A654B
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 30 Jan 2015 19:26:11 +0000 (UTC)
Message-Id: <20150130192610.723D3A6558@mollari.NetBSD.org>
Date: Fri, 30 Jan 2015 19:26:10 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: multimedia/x265 build fails on macppc-7.99.4
X-Send-Pr-Version: www-1.0

>Number:         49614
>Category:       pkg
>Synopsis:       multimedia/x265 build fails on macppc-7.99.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 30 19:30:00 +0000 2015
>Originator:     John D. Baker
>Release:        NetBSD/macppc-7.99.4, pkgsrc-2014Q4
>Organization:
>Environment:
NetBSD sawtooth.technoskunk.fur 7.99.4 NetBSD 7.99.4 (GENERIC) #9: Fri Jan 30 07:21:56 CST 2015  sysop@verthandi.technoskunk.fur:/d0/build/current/obj/macppc/sys/arch/macppc/compile/GENERIC macppc

>Description:
The final link step of building "multimedia/x265" on macppc-7.99.4
fails as follows:

[...]
[100%] Building CXX object CMakeFiles/cli.dir/x265.cpp.o
Linking CXX executable x265
libx265.so.35: undefined reference to `__sync_val_compare_and_swap_8'
libx265.so.35: undefined reference to `__sync_or_and_fetch_8'
--- x265 ---
*** [x265] Error code 1

make[2]: stopped in /d0/build/pkgsrc/multimedia/x265/work/multicoreware-x265-5e604833c5aa/source
1 error
[...]

I take it the symbols referenced are not available on 32-bit powerpc
ports?
>How-To-Repeat:
Attempt to build "multimedia/x265" on macppc (any 32-bit powerpc port?).
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.