Date: Tue, 26 Jun 2018 07:54:40 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: maintainer-approval requested: [Bug 229339] audio/faad: Fix build on powerpc (and maybe powerpc64?) : [Attachment 194643] faad.diff Message-ID: <bug-229339-12827-xCaWSOZh4B@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229339-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-229339-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Tobias Kortkamp <tobik@freebsd.org> has asked freebsd-multimedia mailing li= st <multimedia@FreeBSD.org> for maintainer-approval: Bug 229339: audio/faad: Fix build on powerpc (and maybe powerpc64?) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229339 Attachment 194643: faad.diff https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194643&action=3Dedit --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229339-12827-xCaWSOZh4B>
