Re: CURRENT (r249438): (devel/libiconv)./unistd.h:686:5: error:
"O. Hartmann" <ohartman@zedat.fu-berlin.de> 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 9 篇):