Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2013 10:28:27 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        stable@FreeBSD.org
Subject:   Re: Failure to build stable/9 (r253683) from head - WCHAR_MIN redefined
Message-ID:  <20130810172827.GD1746@albert.catwhisker.org>
In-Reply-To: <520675D3.8020801@FreeBSD.org>
References:  <520675D3.8020801@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, Aug 10, 2013 at 12:18:11PM -0500, Bryan Drewery wrote:
> Anyone else seeing this?
> 
> > cc  -O2 -pipe  -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/include -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../include -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/amd64 -DNLS  -D__DBINTERFACE_PRIVATE -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../contrib/gdtoa -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/stdtime  -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /zpoudriere/jails/exp-bdrewery/usr
> /src/lib/libc/gen/fnmatch.c -o fnmatch.o
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/gen/fnmatch.c:66:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/collate.h:41:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/xlocale_private.h:38:
> > /usr/include/stdint.h:75:9: error: 'WCHAR_MIN' macro redefined [-Werror]
> > #define WCHAR_MIN       __WCHAR_MIN
> >         ^
> > /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../include/wchar.h:92:9: note: previous definition is here
> > #define WCHAR_MIN       __INT_MIN
> >         ^
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/gen/fnmatch.c:66:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/collate.h:41:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/xlocale_private.h:38:
> > /usr/include/stdint.h:76:9: error: 'WCHAR_MAX' macro redefined [-Werror]
> > #define WCHAR_MAX       __WCHAR_MAX
> >         ^
> > /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../include/wchar.h:93:9: note: previous definition is here
> > #define WCHAR_MAX       __INT_MAX
> >         ^
> > 2 errors generated.
> > *** [fnmatch.o] Error code 1
> ...

I am not; my recent stable/9 history may be seen at
<http://www.catwhisker.org/~david/FreeBSD/history/laptop_i386_9.txt>; --
but I build using clang (in case that is significant).  Most recent was:

FreeBSD localhost 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #523  r254170M/254177:902501: Sat Aug 10 05:06:34 PDT 2013     root@localhost:/usr/obj/usr/src/sys/CANARY  i386

Peace,
david
-- 
David H. Wolfskill				david@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEYEARECAAYFAlIGeDIACgkQmprOCmdXAD1RegCfSPgm32cOkbVk3cV8alft03JY
bQcAnR7GD6FexiNvra4NBEBN9kKziNiU
=h99c
-----END PGP SIGNATURE-----

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