From nobody@FreeBSD.org  Sun Sep 16 13:07:56 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 32EEF106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Sep 2012 13:07:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1E70E8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Sep 2012 13:07:56 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8GD7t3U087761
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Sep 2012 13:07:55 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8GD7ttg087760;
	Sun, 16 Sep 2012 13:07:55 GMT
	(envelope-from nobody)
Message-Id: <201209161307.q8GD7ttg087760@red.freebsd.org>
Date: Sun, 16 Sep 2012 13:07:55 GMT
From: Shane Ambler <FreeBSD@Shaneware.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: clang in 9.1-RC1 i386 produces out of registers error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 16 13:10:02 UTC 2012
>Closed-Date:    Sun Dec 22 22:20:18 UTC 2013
>Last-Modified:  Sun Dec 22 22:20:18 UTC 2013
>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@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:

From: Shane Ambler <FreeBSD@ShaneWare.Biz>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/171684: clang in 9.1-RC1 i386 produces out of registers
 error
Date: Mon, 09 Dec 2013 09:01:05 +1030

 This should be closed as outdated
 
 This error no longer happens with recent updates.
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Sun Dec 22 22:20:17 UTC 2013 
State-Changed-Why:  
Submitter mentions that this is outdated now. Thanks for the feedback 
and for using FreeBSD! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171684 
>Unformatted:
