i386/165968: clang on i386 tinderbox produces inconsistent defines
Shane Ambler
FreeBSD at Shaneware.biz
Mon Mar 12 11:00:26 UTC 2012
>Number: 165968
>Category: i386
>Synopsis: clang on i386 tinderbox produces inconsistent defines
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 12 11:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Shane Ambler
>Release: 9.0-RELEASE
>Organization:
>Environment:
FreeBSD leader.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Wed Feb 15 16:03:18 CST 2012 root@:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I found a situation where __SSE__ is defined but __MMX__ is not defined. MMX came before SSE and is available on any intel proc that has SSE so there is some mixup to get that define combination.
I have setup tinderbox (on a corei5 with amd64 base system) with several jails, the relevant system versions are 10-CURRENT / 9-STABLE / 9.0-RELEASE. I get the error compiling multimedia/x264 using clang with ARCH=i386.
i386 with gcc compiles as does amd64 with gcc and clang.
I have set CC/CXX/CPP/ARCH in the builds environment file. As a work around I can also set CPUTYPE to pentium2 or higher and it will compile. Lower CPUTYPE values fail to build.
Some tinderbox references I found suggest setting MACHINE_ARCH UNAME_m and UNAME_p to i386 - these options don't fix this issue, neither does setting them to pentium2
>How-To-Repeat:
Compile multimedia/x264 within a tinderbox build with arch i386 using FreeBSD v9.0 or higher and setting CC=clang CXX=clang++ CPP=clang-cpp ARCH=i386 in the corresponding build environment file (scripts/etc/env/build.{BUILDNAME}).
>Fix:
Patch attached with submission follows:
building x264-0.119.2113 in directory /usr/local/tinderbox/10-CURRENT-i386-clang
build started at Mon Mar 12 21:18:10 CST 2012
port directory: /usr/ports/multimedia/x264
building for: 10.0-CURRENT i386
maintained by: mm at FreeBSD.org
Makefile ident: $FreeBSD: ports/multimedia/x264/Makefile,v 1.86 2011/12/21 23:49:00 mm Exp $
prefixes: LOCALBASE=usr/local PREFIX=/usr/local
Begin Configuration:
---Begin Environment---
INDEXFILE=INDEX-10
ARCH=i386
PORTOBJFORMAT=elf
CPP=clang-cpp
X_WINDOW_SYSTEM=xorg
PAGER=more
DISTFILE_URI=
TIMEOUT=7200
CCACHE_ENABLED=0
FTP_PASSIVE_MODE=yes
CC=clang
MASTER_SITE_OVERRIDE=file:///distcache/${DIST_SUBDIR}/
OPTIONS_ENABLED=0
__MKLVL__=1
DISTCACHE=/distcache
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
EDITOR=vi
pb=/usr/local/tinderbox
HTTP_TIMEOUT=900
PACKAGES=/tmp/packages
LOG_DIRECTORY=
HAVE_MOTIF=1
PKGSUFFIX=.tbz
BATCH=1
__DSVERSION__=3.3
OSREL=10.0
CCACHE_DIR=
LOG_COMPRESSLOGS=0
defaultUpdateType=SVN
OLDPWD=/
DISTFILE_CACHE=/usr/ports/distfiles
USA_RESIDENT=YES
WRKDIRPREFIX=/work
BRANCH=CURRENT
defaultUpdateHost=svn+ssh://leader/usr/local/projectsother/freebsd/code-svn
PWD=/usr/ports/multimedia/x264
HOST_WORKDIR=
OPTIONS_DIR=
PKGZIPCMD=bzip2
USER=root
DISTDIR=/tmp/distfiles
HOME=/root
CCACHE_JAIL=0
TZ=Australia/Adelaide
CXX=clang++
LOG_DOCOPY=0
CCACHE_MAX_SIZE=1G
CCACHE_NOLINK=1
TINDERD_SLEEPTIME=120
UNAME_n=tinderbox.host
FTP_TIMEOUT=900
TINDERD_LOGFILE=/dev/null
PARALLEL_PACKAGE_BUILD=1
CCACHE_LOGFILE=
UNAME_r=10.0-CURRENT
LOCALBASE=/usr/local
UNAME_s=FreeBSD
PACKAGE_BUILDING=1
OSVERSION=1000009
UNAME_v=FreeBSD 10.0-CURRENT #0: Mon Mar 12 21:17:28 CST 2012 root at tinderbox.host:/usr/src/sys/magic/kernel/path
BLOCKSIZE=K
---End Environment---
---Begin OPTIONS List---
===> The following configuration options are available for x264-0.119.2113:
ASM=On (default) "Assembly optimizations (devel/binutils)"
DEBUG=Off (default) "Enable Debugging"
PGO=Off (default) "Enable Profile-Guided Optimization"
GCC44=Off (default) "Use gcc 4.4+ (implies WITH_ASM)"
GPAC=On (default) "Enable MPEG-4 Output"
X11_OUTPUT=Off (default) "Enable X11 Output"
===> Use 'make config' to modify these settings
---End OPTIONS List---
End Configuration.
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=libiconv-1.13.1_2.tbz gettext-0.18.1.1.tbz yasm-1.2.0.tbz bash-4.2.20.tbz binutils-2.22_1.tbz jpeg-8_3.tbz png-1.4.8_1.tbz libGL-7.4.4.tbz libGLU-7.4.4.tbz libdrm-2.4.12_1.tbz expat-2.0.1_2.tbz dri2proto-2.3.tbz libX11-1.4.4,1.tbz libXext-1.3.0_1,1.tbz libXxf86vm-1.1.1.tbz libXdamage-1.1.3.tbz libXfixes-5.0.tbz libpthread-stubs-0.3_3.tbz libxcb-1.7.tbz kbproto-1.0.5.tbz libXau-1.0.6.tbz libXdmcp-1.1.0.tbz xproto-7.0.22.tbz pkg-config-0.25_1.tbz xextproto-7.2.0.tbz xf86vidmodeproto-2.3.1.tbz damageproto-1.2.1.tbz fixesproto-5.0.tbz gpac-libgpac-0.4.5_4,1.tbz gmake-3.82.tbz
RUN_DEPENDS=jpeg-8_3.tbz png-1.4.8_1.tbz libGL-7.4.4.tbz libGLU-7.4.4.tbz libdrm-2.4.12_1.tbz expat-2.0.1_2.tbz dri2proto-2.3.tbz libX11-1.4.4,1.tbz libXext-1.3.0_1,1.tbz libXxf86vm-1.1.1.tbz libXdamage-1.1.3.tbz libXfixes-5.0.tbz libpthread-stubs-0.3_3.tbz libxcb-1.7.tbz kbproto-1.0.5.tbz libXau-1.0.6.tbz libXdmcp-1.1.0.tbz xproto-7.0.22.tbz pkg-config-0.25_1.tbz xextproto-7.2.0.tbz xf86vidmodeproto-2.3.1.tbz damageproto-1.2.1.tbz fixesproto-5.0.tbz gpac-libgpac-0.4.5_4,1.tbz
TEST_DEPENDS=
add_pkg
================================================================
====================<phase 1: make checksum>====================
===> License GPLv2 accepted by the user
=> x264-snapshot-20111220-2245-stable.tar.bz2 doesn't seem to exist in /tmp/distfiles/x264.
=> Attempting to fetch file:///distcache/x264/x264-snapshot-20111220-2245-stable.tar.bz2
x264-snapshot-20111220-2245-stable.tar.bz2 518 kB 942 MBps
=> SHA256 Checksum OK for x264/x264-snapshot-20111220-2245-stable.tar.bz2.
================================================================
====================<phase 2: make extract>====================
add_pkg
===> License GPLv2 accepted by the user
===> Extracting for x264-0.119.2113
=> SHA256 Checksum OK for x264/x264-snapshot-20111220-2245-stable.tar.bz2.
================================================================
====================<phase 3: make patch>====================
add_pkg
===> Patching for x264-0.119.2113
===> Applying FreeBSD patches for x264-0.119.2113
================================================================
====================<phase 4: make build>====================
add_pkg libiconv-1.13.1_2.tbz gettext-0.18.1.1.tbz yasm-1.2.0.tbz bash-4.2.20.tbz binutils-2.22_1.tbz jpeg-8_3.tbz png-1.4.8_1.tbz libGL-7.4.4.tbz libGLU-7.4.4.tbz libdrm-2.4.12_1.tbz expat-2.0.1_2.tbz dri2proto-2.3.tbz libX11-1.4.4,1.tbz libXext-1.3.0_1,1.tbz libXxf86vm-1.1.1.tbz libXdamage-1.1.3.tbz libXfixes-5.0.tbz libpthread-stubs-0.3_3.tbz libxcb-1.7.tbz kbproto-1.0.5.tbz libXau-1.0.6.tbz libXdmcp-1.1.0.tbz xproto-7.0.22.tbz pkg-config-0.25_1.tbz xextproto-7.2.0.tbz xf86vidmodeproto-2.3.1.tbz damageproto-1.2.1.tbz fixesproto-5.0.tbz gpac-libgpac-0.4.5_4,1.tbz gmake-3.82.tbz
adding dependencies
pkg_add libiconv-1.13.1_2.tbz
pkg_add gettext-0.18.1.1.tbz
pkg_add yasm-1.2.0.tbz
pkg_add bash-4.2.20.tbz
pkg_add binutils-2.22_1.tbz
pkg_add jpeg-8_3.tbz
pkg_add png-1.4.8_1.tbz
pkg_add libGL-7.4.4.tbz
pkg_add libGLU-7.4.4.tbz
pkg_add libdrm-2.4.12_1.tbz
skipping libdrm-2.4.12_1, already added
pkg_add expat-2.0.1_2.tbz
skipping expat-2.0.1_2, already added
pkg_add dri2proto-2.3.tbz
skipping dri2proto-2.3, already added
pkg_add libX11-1.4.4,1.tbz
skipping libX11-1.4.4,1, already added
pkg_add libXext-1.3.0_1,1.tbz
skipping libXext-1.3.0_1,1, already added
pkg_add libXxf86vm-1.1.1.tbz
skipping libXxf86vm-1.1.1, already added
pkg_add libXdamage-1.1.3.tbz
skipping libXdamage-1.1.3, already added
pkg_add libXfixes-5.0.tbz
skipping libXfixes-5.0, already added
pkg_add libpthread-stubs-0.3_3.tbz
skipping libpthread-stubs-0.3_3, already added
pkg_add libxcb-1.7.tbz
skipping libxcb-1.7, already added
pkg_add kbproto-1.0.5.tbz
skipping kbproto-1.0.5, already added
pkg_add libXau-1.0.6.tbz
skipping libXau-1.0.6, already added
pkg_add libXdmcp-1.1.0.tbz
skipping libXdmcp-1.1.0, already added
pkg_add xproto-7.0.22.tbz
skipping xproto-7.0.22, already added
pkg_add pkg-config-0.25_1.tbz
skipping pkg-config-0.25_1, already added
pkg_add xextproto-7.2.0.tbz
skipping xextproto-7.2.0, already added
pkg_add xf86vidmodeproto-2.3.1.tbz
skipping xf86vidmodeproto-2.3.1, already added
pkg_add damageproto-1.2.1.tbz
skipping damageproto-1.2.1, already added
pkg_add fixesproto-5.0.tbz
skipping fixesproto-5.0, already added
pkg_add gpac-libgpac-0.4.5_4,1.tbz
pkg_add gmake-3.82.tbz
===> x264-0.119.2113 depends on package: yasm>=0.6.0 - found
===> x264-0.119.2113 depends on file: /usr/local/bin/bash - found
===> x264-0.119.2113 depends on file: /usr/local/bin/as - found
===> x264-0.119.2113 depends on package: gpac-libgpac>=0.4.5,1 - found
===> x264-0.119.2113 depends on executable: gmake - found
===> x264-0.119.2113 depends on shared library: gpac.1 - found
===> Configuring for x264-0.119.2113
===> FreeBSD 10 autotools fix applied to /work/a/ports/multimedia/x264/work/x264-snapshot-20111220-2245-stable/configure
./version.sh: git: not found
platform: X86
system: FREEBSD
cli: yes
libx264: internal
shared: yes
static: yes
asm: yes
interlaced: yes
avs: no
lavf: no
ffms: no
gpac: yes
gpl: yes
thread: posix
filters: crop select_every
debug: no
gprof: no
strip: no
PIC: no
visualize: no
bit depth: 8
chroma format: all
You can run 'make' or 'make fprofiled' now.
===> Building for x264-0.119.2113
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/mc.c:27:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/predict.c:32:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/pixel.c:28:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/macroblock.c:29:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/frame.c:28:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/dct.c:28:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/cpu.c:29:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/cabac.c:28:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/common.c:27:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/osdep.c:27:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/rectangle.c:26:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/set.c:27:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/quant.c:29:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/deblock.c:29:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/vlc.c:28:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/mvpred.c:28:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/bitstream.c:27:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/analyse.c:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/me.c:28:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/ratecontrol.c:33:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/set.c:27:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/macroblock.c:29:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/cabac.c:28:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/cavlc.c:28:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/encoder.c:28:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from encoder/lookahead.c:39:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/threadpool.c:26:
In file included from common/common.h:938:
In file included from common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/x86/mc-c.c:32:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from common/x86/predict-c.c:28:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from x264.c:33:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from input/input.c:26:
In file included from input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from input/timecode.c:26:
In file included from input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from input/raw.c:28:
In file included from input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from input/y4m.c:27:
In file included from input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from output/raw.c:27:
In file included from output/output.h:30:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from output/matroska.c:26:
In file included from output/output.h:30:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from output/matroska_ebml.c:26:
In file included from output/output.h:30:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from output/flv.c:26:
In file included from output/output.h:30:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from output/flv_bytestream.c:26:
In file included from output/output.h:30:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/filters.c:27:
In file included from filters/filters.h:30:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/video.c:26:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/source.c:26:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/internal.c:26:
In file included from filters/video/internal.h:28:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/resize.c:26:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/cache.c:26:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/fix_vfr_pts.c:26:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/select_every.c:26:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/crop.c:27:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from filters/video/depth.c:26:
In file included from filters/video/video.h:29:
In file included from ./input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from input/thread.c:27:
In file included from input/input.h:31:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
clang: warning: argument unused during compilation: '-mfpmath=sse'
clang: warning: argument unused during compilation: '-fno-tree-vectorize'
In file included from output/mp4.c:27:
In file included from output/output.h:30:
In file included from ./x264cli.h:30:
In file included from ./common/common.h:938:
In file included from ./common/x86/util.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error "MMX instruction set not enabled"
#error "MMX instruction set not enabled"
^
1 error generated.
gmake: *** [.depend] Error 1
*** [do-build] Error code 1
Stop in /a/ports/multimedia/x264.
================================================================
build of /usr/ports/multimedia/x264 ended at Mon Mar 12 21:18:18 CST 2012
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-i386
mailing list