From owner-freebsd-multimedia@freebsd.org Tue Jun 26 07:54:42 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 641301017AE2 for ; Tue, 26 Jun 2018 07:54:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F0C9584DBE for ; Tue, 26 Jun 2018 07:54:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B4F3D1017AD6; Tue, 26 Jun 2018 07:54:41 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0D1E1017AD5 for ; Tue, 26 Jun 2018 07:54:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39A9E84DB9 for ; Tue, 26 Jun 2018 07:54:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7CFDE1C061 for ; Tue, 26 Jun 2018 07:54:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5Q7se1e014072 for ; Tue, 26 Jun 2018 07:54:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5Q7seE9014069 for multimedia@FreeBSD.org; Tue, 26 Jun 2018 07:54:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: maintainer-feedback requested: [Bug 229339] audio/faad: Fix build on powerpc (and maybe powerpc64?) Date: Tue, 26 Jun 2018 07:54:40 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 07:54:42 -0000 Bugzilla Automation has asked freebsd-multimedia mai= ling list for maintainer-feedback: Bug 229339: audio/faad: Fix build on powerpc (and maybe powerpc64?) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229339 --- Description --- Building faad on powerpc fails with Making all in frontend gmake[3]: Entering directory '/construction/usr/ports/audio/faad/work/faad2-2.8.8/frontend' /bin/sh ../libtool --tag=3DCC --mode=3Dlink cc -O2 -pipe -fno-strict-a= liasing=20 -lpthread -L/usr/local/lib -o faad mp4read.o audio.o main.o unicode_support= .o ../libfaad/libfaad.la=20 libtool: link: cc -O2 -pipe -fno-strict-aliasing -o .libs/faad mp4read.o audio.o main.o unicode_support.o -L/usr/local/lib ../libfaad/.libs/libfaad= .so -lpthread -lm -Wl,-rpath -Wl,/usr/local/lib mp4read.o: In function `u16in': mp4read.c:(.text+0x674): undefined reference to `__builtin_bswap16' frontend/mp4read.c doesn't include config.h so WORDS_BIGENDIAN is not defined and bswap16() breaks. I'm attaching a fix. The error message on powerpc64 seems to be the same, so I'm cautiously optimistic that this might fix the build on powerpc64 too. But I have no way to test.