svn commit: r395797 - in head/multimedia: mencoder mplayer
Jan Beich
jbeich at FreeBSD.org
Tue Sep 1 20:56:52 UTC 2015
Thomas Zander <riggs at FreeBSD.org> writes:
> -OPTIONS_DEFINE_ppc= RTCPU
> +OPTIONS_DEFINE_powerpc= RTCPU
This still doesn't describe how upstream conflates 32bit and 64bit
platform variants into a single macro. Notice the error message from
failed attempt to cross-compile with the --enable-runtime-cpudetection
is different between really not supported architecture like sparc64 and
maybe supported powerpc64.
ppc() {
case "$host_arch" in
ppc*|powerpc*) return 0;;
*) return 1;;
esac
}
[...]
if test "$_runtime_cpudetection" = yes && ! x86 && ! ppc; then
die "Runtime CPU detection only works for x86, x86-64 and PPC!"
fi
$ ./configure --target=sparc64-freebsd --enable-runtime-cpudetection
Checking for ffmpeg/libavcodec/allcodecs.c ... found
Checking for ffmpeg/libavformat/allformats.c ... found
Checking for ffmpeg/libavfilter/allfilters.c ... found
Checking for cc version ... clang 3.7.0 (experimental support only)
Checking for working compiler ... yes
Detected operating system: FreeBSD
Detected host architecture: sparc64
Error: Runtime CPU detection only works for x86, x86-64 and PPC!
Check "config.log" if you do not understand why it failed.
$ ./configure --target=powerpc64-freebsd --enable-runtime-cpudetection
Checking for ffmpeg/libavcodec/allcodecs.c ... found
Checking for ffmpeg/libavformat/allformats.c ... found
Checking for ffmpeg/libavfilter/allfilters.c ... found
Checking for cc version ... clang 3.7.0 (experimental support only)
Checking for working compiler ... yes
Detected operating system: FreeBSD
Detected host architecture: powerpc64
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU type ...
Checking for GCC & CPU optimization abilities ... none
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for relocatable binary ... no (unavailable or untested architecture)
Checking for PIC ... no
Checking for GCC AltiVec flags ...
Error: You need a compiler that supports {} in AltiVec vector declarations.
Check "config.log" if you do not understand why it failed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20150901/a8942d62/attachment.bin>
More information about the svn-ports-head
mailing list