Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 12:58:26 +0300
From:      Arto Pekkanen <isoa@kapsi.fi>
To:        ports@FreeBSD.org
Subject:   multimedia/ffmpeg build error with clang
Message-ID:  <5247F9C2.7090802@kapsi.fi>

next in thread | raw e-mail | index | archive | help
FreeBSD  9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC
2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

cat /etc/make.conf:
WITH_PKGNG=yes
CPUTYPE=native
CC=clang
CXX=clang++
CPP=clang-cpp
CFLAGS= -O3 -pipe

clang --version:
FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
Target: i386-unknown-freebsd9.0
Thread model: posix

portmaster -D multimedia/ffmpeg:
....
2 warnings generated.
CC      libavcodec/h264_cabac.o
In file included from libavcodec/h264_cabac.c:40:
libavcodec/x86/h264_i386.h:51:9: error: ran out of registers during register
allocation
        "movl %a11(%6), %5                      \n\t"
        ^
libavcodec/x86/h264_i386.h:51:9: error: ran out of registers during register
allocation
libavcodec/x86/h264_i386.h:113:9: error: ran out of registers during register
allocation
        "movl %a12(%7), %5                      \n\t"
        ^
In file included from libavcodec/h264_cabac.c:33:
In file included from libavcodec/h264.h:33:
In file included from libavcodec/cabac.h:60:
libavcodec/x86/cabac.h:94:9: error: ran out of registers during register allocation
        "movl %a6(%5), %2               \n\t"
        ^
libavcodec/x86/cabac.h:94:9: error: ran out of registers during register allocation
libavcodec/x86/cabac.h:94:9: error: ran out of registers during register allocation
6 errors generated.

Also tried to build with CPUTYPE commented out in make.conf, but same results.
Is this fixable?

-- 
Arto Pekkanen, säätäjä
ksym@IRCnet



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