[Bug 229339] audio/faad: Fix build on powerpc (and maybe powerpc64?)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 26 07:54:43 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229339
Bug ID: 229339
Summary: audio/faad: Fix build on powerpc (and maybe
powerpc64?)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: multimedia at FreeBSD.org
Reporter: tobik at freebsd.org
CC: multimedia at FreeBSD.org
Flags: maintainer-feedback?(multimedia at FreeBSD.org)
Assignee: multimedia at FreeBSD.org
Attachment #194643 maintainer-approval?(multimedia at FreeBSD.org)
Flags:
CC: multimedia at FreeBSD.org
Created attachment 194643
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194643&action=edit
faad.diff
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=CC --mode=link cc -O2 -pipe -fno-strict-aliasing
-lpthread -L/usr/local/lib -o faad mp4read.o audio.o main.o unicode_support.o
../libfaad/libfaad.la
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.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-multimedia
mailing list