From owner-freebsd-ports@freebsd.org Sat Feb 27 01:03:53 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19E5FAB6032 for ; Sat, 27 Feb 2016 01:03:53 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 082DF1106 for ; Sat, 27 Feb 2016 01:03:53 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: by mailman.ysv.freebsd.org (Postfix) id 07AD2AB6031; Sat, 27 Feb 2016 01:03:53 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 074ACAB6030 for ; Sat, 27 Feb 2016 01:03:53 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id E90651105; Sat, 27 Feb 2016 01:03:52 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yuri.doctorlan.com (c-73-71-174-75.hsd1.ca.comcast.net [73.71.174.75]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id u1R13p38008862 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 26 Feb 2016 17:03:51 -0800 (PST) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-73-71-174-75.hsd1.ca.comcast.net [73.71.174.75] claimed to be yuri.doctorlan.com Subject: Re: Clang can't build c++ project: ubsan is missing To: Dimitry Andric References: <56CFF471.90406@rawbw.com> <91C64BF2-9C59-478F-A3C4-3ACB2C48597E@FreeBSD.org> Cc: "ports@freebsd.org" From: Yuri Message-ID: <56D0F5F6.9000603@rawbw.com> Date: Fri, 26 Feb 2016 17:03:50 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <91C64BF2-9C59-478F-A3C4-3ACB2C48597E@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 01:03:53 -0000 On 02/26/2016 13:50, Dimitry Andric wrote: > It looks like you are building the port with -fsanitize=undefined, and > your clang installation(s) are missing the UBSan libraries, for some > reason. Try building your port without -fsanitize=undefined, unless you > need that for something specific, of course. Thanks! It turned out that sanitizer is the relatively new feature that isn't yet available in any of the clang versions on FreeBSD, and this package fails to detect the compiler support for it. Yuri