i386/171684: clang in 9.1-RC1 i386 produces out of registers error

Shane Ambler FreeBSD at Shaneware.biz
Sun Sep 16 13:10:03 UTC 2012


>Number:         171684
>Category:       i386
>Synopsis:       clang in 9.1-RC1 i386 produces out of registers error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 16 13:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Shane Ambler
>Release:        9.1-RC1
>Organization:
>Environment:
UNAME_v=FreeBSD 9.1-RC1 #0: Sun Sep 16 20:21:45 CST 2012    root at tinderbox.host:/usr/src/sys/magic/kernel/path
>Description:
Base machine is running 9.0-RELEASE-p1 amd64 compiled with clang.
Tinderbox build system is 9.1-RC1 i386 build from releng/9.1 - r239951
(compiled on 1 sept)

Compiling multimedia/ffmpeg (0.7.13_6,1) with CC=clang CXX=clang++ 
CPP=clang-cpp ARCH=i386 set in tinderbox build environment produces 
the following error which is not produced in a 9.0 build which makes
me lean towards it being a clang regression.


CC	libavcodec/h264_cavlc.o
CC	libavcodec/h264_direct.o
CC	libavcodec/h264_loopfilter.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
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
libavcodec/x86/cabac.h:94:9: error: ran out of registers during register allocation
6 errors generated.
gmake: *** [libavcodec/h264_cabac.o] Error 1
gmake: *** Waiting for unfinished jobs....
3 warnings generated.
*** [do-build] Error code 1

Stop in /a/ports/multimedia/ffmpeg.

>How-To-Repeat:
Compile multimedia/ffmpeg in a tinderbox build using a 9.1-RC1 i386 jail using clang as the default compiler.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list