From owner-freebsd-current@FreeBSD.ORG Mon Apr 22 19:40:55 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C08DB240; Mon, 22 Apr 2013 19:40:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8022510A6; Mon, 22 Apr 2013 19:40:55 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::7c41:8d83:d7e9:cee] (unknown [IPv6:2001:7b8:3a7:0:7c41:8d83:d7e9:cee]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B49925C45; Mon, 22 Apr 2013 21:40:47 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: 10.0-CURRENT #0 r249720: graphics/jasper: eval: @CC@: not found From: Dimitry Andric In-Reply-To: <1366656425.1416.8.camel@thor.walstatt.dyndns.org> Date: Mon, 22 Apr 2013 21:40:41 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9024157C-0EA0-4D3A-BC26-60B38F6E054D@FreeBSD.org> References: <1366656425.1416.8.camel@thor.walstatt.dyndns.org> To: O. Hartmann X-Mailer: Apple Mail (2.1503) Cc: FreeBSD Current , FreeBSD ports X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 19:40:55 -0000 On Apr 22, 2013, at 20:47, O. Hartmann = wrote: > Trying to update port graphics/jasper on our FreeBSD 10.0-CURRENT = boxes > (all r249720 or higher) fails on all(!) Core2Duo based systems (Intel > E8400 or Q6600) (CLANG 3.3) with the below shown error. ... > Interestingly, the port does compile on all boxes running the very = same > FreeBSD 10.0-CURRENT with either Sandy-Bridge-E (i7-3939K) or Ivy = Bridge > (i3-3220) CPUs. All systems have in common that I compile world and > kernel with option -O3 (CLANG 3.3), -march=3Dnative. ... > I guess I hit a miscompilation with either option -O3 -march=3Dnative = on > "Penryn" architectures with the new CLANG 3.3 compiler? >=20 > (By the way, I also see this obscure "@CC@: not found" error in > compiling games/qstat and it hits also the Core2Duo boxes, but not any > CPU type beyond the C2D). This is most likely the same issue you reported in another thread, here: http://docs.freebsd.org/cgi/mid.cgi?1365877246.2093.20.camel The configure script tries to use sed to replace @CC@ with a build-time = setting, but the sed replacement fails, because of a problem in the = regex functions in libc, when libc is compiled with -O3 or higher. The = exact cause of the problem is still unknown (likely a bug in the = vectorizer, or less likely a bug in libc). Please recompile and reinstall at least your libc with -O2 instead of = -O3, and retry the ports build afterwards. In general, if you use non-standard optimization settings, always remove = the customizations first, before reporting problems.