Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2012 12:16:11 GMT
From:      Shane Ambler <FreeBSD@Shaneware.biz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/166293: clang regression from 9.0 to 9-STABLE
Message-ID:  <201203211216.q2LCGBdd088297@red.freebsd.org>
Resent-Message-ID: <201203211220.q2LCKDQK041933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166293
>Category:       misc
>Synopsis:       clang regression from 9.0 to 9-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 21 12:20:13 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 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:
>Unformatted:



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