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@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: multimedia/x265 build fails on macppc-7.99.4
X-Send-Pr-Version: www-1.0

>Number:         49614
>Notify-List:    jdbaker@consolidated.net
>Category:       pkg
>Synopsis:       multimedia/x265 build fails on macppc-7.99.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 30 19:30:00 +0000 2015
>Closed-Date:    Mon Feb 08 08:41:22 +0000 2021
>Last-Modified:  Mon Feb 08 08:41:22 +0000 2021
>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:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Mon, 08 Feb 2021 08:41:22 +0000
State-Changed-Why:
x265 is doing fine on macppc in recent bulk builds, although
it's possible we need to add the recentl-introduced atomic64/libatomic
if it still fails for you.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.