Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 15:56:35 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Alexander Panyushkin <vsityz@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: converters/php55-iconv in FreeBSD 10
Message-ID:  <20140217155635.646606ef@kalimero.tijl.coosemans.org>
In-Reply-To: <5301F7EE.6050904@gmail.com>
References:  <52FE26FC.3070708@gmail.com> <20140214160455.26d39e9d@kalimero.tijl.coosemans.org> <53011CA2.2020205@gmail.com> <20140216230658.23403034@kalimero.tijl.coosemans.org> <5301D731.30308@gmail.com> <20140217110104.48297f5c@kalimero.tijl.coosemans.org> <5301E569.60104@gmail.com> <20140217115701.15df2096@kalimero.tijl.coosemans.org> <5301F7EE.6050904@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Feb 2014 13:52:14 +0200 Alexander Panyushkin wrote:
> On 17.02.2014 12:57, Tijl Coosemans wrote:
>> Try to find the file that defines O_NOATIME:
>>
>> grep -Rl O_NOATIME /usr/include /usr/lib /usr/local/include /usr/local/lib
> 
> Nothing
> 
> # grep -Rl O_NOATIME /usr/include /usr/lib /usr/local/include 
> /usr/local/lib
> /usr/local/lib/perl5/5.16/mach/auto/Fcntl/Fcntl.so
> /usr/local/lib/perl5/5.16/mach/Fcntl.pm
> egrep: warning: /usr/local/lib/libxul/bin: recursive directory loop
> egrep: 
> /usr/local/lib/firefox/browser/extensions/{25A1388B-6B18-46c3-BEBA-A81915D0DE8F}: 
> No such file or directory
> 
> 
> I rebuilt libiconv with Clang.
> 
> If build with otions:
>      CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> port build is Ok
> 
> If build with otions:
>      CFLAGS= -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> ^^^^^^^^^^
> port build fails

Ok, the solution is to add USE_CSTD=gnu89 to the port Makefile.  I'll
file a PR for that.



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