"O. Hartmann" <ohart...@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-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"