From nobody@FreeBSD.org  Wed Mar 21 12:16:11 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 5CEEE106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Mar 2012 12:16:11 +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 48AA88FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Mar 2012 12:16:11 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2LCGBvG088298
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Mar 2012 12:16:11 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q2LCGBdd088297;
	Wed, 21 Mar 2012 12:16:11 GMT
	(envelope-from nobody)
Message-Id: <201203211216.q2LCGBdd088297@red.freebsd.org>
Date: Wed, 21 Mar 2012 12:16:11 GMT
From: Shane Ambler <FreeBSD@Shaneware.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: clang regression from 9.0 to 9-STABLE
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166293
>Category:       bin
>Synopsis:       clang(1) regression from 9.0 to 9-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 21 12:20:13 UTC 2012
>Closed-Date:    Wed Sep 05 21:32:30 UTC 2012
>Last-Modified:  Wed Sep 05 21:32:30 UTC 2012
>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 am testing some builds with tinderbox and as a dependancy I need to build opencv-core. The sample logs compare a tinderbox build using releng/9.0 amd64 against one using stable/9 amd64 - both with CC=clang CXX=clang++ CPP=clang-cpp ARCH=amd64 set in scripts/etc/env/build.{BUILDNAME}. I get the same issue with stable/9 ARCH=i386 builds as well as 10-CURRENT.

My base system is 9.0-RELEASE with a clang built world/kernel on a corei5 with 8GB

There is another open pr mentioning an opencv clang failure -- pr-160856 -- It is a different error (from 9.0 beta2) that would appear to have been fixed before 9.0 release.

My tinderbox 9.0 jails were compiled 12/march - svn checkout .../releng/9.0 - the 9-STABLE jails 21/march - svn checkout .../stable/9

A build using 9.0-amd64-clang will compile opencv-core

A build using 9-STABLE-amd646-clang does not, with the opencv-core compile ending in an assertion failure followed by a stack dump.

tinderbox log for 9.0 - http://pastebin.com/rAa08mWe
tinderbox log for 9-stable - http://pastebin.com/QeCC0WNW

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Shane Ambler <FreeBSD@ShaneWare.Biz>
To: bug-followup@FreeBSD.org, FreeBSD@Shaneware.biz
Cc:  
Subject: Re: bin/166293: clang(1) regression from 9.0 to 9-STABLE
Date: Thu, 06 Sep 2012 05:53:24 +0930

 This would appear to be fixed.
 
 9.1-RC1 and 9-STABLE updated on 2012-09-01 no longer display this problem.
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Wed Sep 5 21:32:27 UTC 2012 
State-Changed-Why:  
Per submitter request 

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