From owner-freebsd-current@FreeBSD.ORG Mon Apr 15 22:44:18 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 DB2162B8; Mon, 15 Apr 2013 22:44:18 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id 9A87D1E61; Mon, 15 Apr 2013 22:44:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1URs8F-0001Nq-Oc; Tue, 16 Apr 2013 02:44:16 +0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:In-Reply-To:Subject:Cc:To:From; bh=9GtT+lAXeMMXFyFUxJs+DKLvw1RoBhsiBG3WSgO5ScA=; b=I3VpdTFTUhE0XUmPfHLqiIlAaw0+NT1qohTnSnyski+lR8S2JUbdx6pzR69Hxc7M1wVvPaoFt0b/DhICNG0OSal1+8yNXHOLXxxqC10YV+kTD5nZyLmYu3WrLwc0OnDEg3CL6GKcjmepOfAvXRhKGnzUPw2WSr0ADhDt5JXK9t4=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1URs5b-000B9U-A2; Mon, 15 Apr 2013 22:41:32 +0000 From: Jan Beich To: "O. Hartmann" Subject: Re: CURRENT (r249438): (devel/libiconv)./unistd.h:686:5: error: invalid token at start of a preprocessor expression : #if @GNULIB_EUIDACCESS@ In-Reply-To: <1365877246.2093.20.camel@thor.walstatt.dyndns.org> (O. Hartmann's message of "Sat, 13 Apr 2013 20:20:46 +0200") Date: Mon, 15 Apr 2013 16:42:50 -0600 References: <1365877246.2093.20.camel@thor.walstatt.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1URs5b-000B9U-A2@internal.tormail.org> 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, 15 Apr 2013 22:44:18 -0000 "O. Hartmann" writes: > Trying to recompile converters/libiconv on FreeBSD 10.0-CUR/r49438 (with > bran new CLANG 3.3) results with the errors below. This error shows up > on boxes having FBSD 10 and X11. It doesn't show up on those boxes > running without a full X11 (that is the only difference I can figure out > at the moment since the different systems share a lot of configuration > stuff, having different CPU types (C2D, Sandy-Bridge, Ivy-Bridge) but > nothing I can figure out as the source of the strange behaviour and > error). [...] > converters/libiconv: > cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl > -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -O2 -pipe -O3 > -march=native -fno-strict-aliasing -c areadlink.c > In file included from areadlink.c:27: > In file included from ./careadlinkat.h:23: > In file included from ./fcntl.h:62: > ./unistd.h:694:5: error: invalid token at start of a preprocessor > expression > #if @GNULIB_EUIDACCESS@ > ^ > 1 error generated. Maybe -O3 overoptimizes regex in libc e.g., $ echo '#if @GNULIB_EUIDACCESS@' | sed 's/@GNULIB_EUIDACCESS@/0/' #if @GNULIB_EUIDACCESS@ $ echo 'aaaaaaaaaaaaaaaaxxxaaaa' | sed 's/aaaaaaaaaaaaxxxaaaa//' aaaaaaaaaaaaaaaaxxxaaaa