Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 11:27:17 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323375 - head/multimedia/libxine
Message-ID:  <201307211127.r6LBRH53093068@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Sun Jul 21 11:27:17 2013
New Revision: 323375
URL: http://svnweb.freebsd.org/changeset/ports/323375

Log:
  Set USE_GCC= any on i386 as clang there doesn't like
  src/post/deinterlace/plugins/greedy2frame_template_sse2.c .
  
  Submitted by:	pointyhat via miwi

Modified:
  head/multimedia/libxine/Makefile

Modified: head/multimedia/libxine/Makefile
==============================================================================
--- head/multimedia/libxine/Makefile	Sun Jul 21 11:17:23 2013	(r323374)
+++ head/multimedia/libxine/Makefile	Sun Jul 21 11:27:17 2013	(r323375)
@@ -83,6 +83,20 @@ PATCH_DIST_ARGS=	-d ${WRKSRC} -p1 --forw
 
 .include <bsd.port.options.mk>
 
+# clang/i386 doesn't like
+#	src/post/deinterlace/plugins/greedy2frame_template_sse2.c :
+# [...]
+# ./greedy2frame_template_sse2.c:175:38: error: register %rax is only available in 64-bit mode
+#            "movdqa  (%3), %%xmm0               \n\t" /* xmm0 = T0 */
+#                                                  ^
+#<inline asm>:3:11: note: instantiated into assembly here
+#        movdqa  (%rax,%esi), %xmm3
+#                 ^~~~
+# [...]
+.if ${ARCH} == "i386"
+USE_GCC=	any
+.endif
+
 # Fix build WITH_DEBUG
 .if defined(WITH_DEBUG)
 DEBUG_FLAGS=	-g -O1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307211127.r6LBRH53093068>