From owner-freebsd-current@FreeBSD.ORG Mon Nov 21 21:16:19 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90B2C106566C for ; Mon, 21 Nov 2011 21:16:19 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (vlakno.cz [46.28.110.116]) by mx1.freebsd.org (Postfix) with ESMTP id 519AF8FC18 for ; Mon, 21 Nov 2011 21:16:19 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id E994F7F3851; Mon, 21 Nov 2011 22:16:10 +0100 (CET) Date: Mon, 21 Nov 2011 22:16:10 +0100 From: Roman Divacky To: Manfred Antar , theraven@freebsd.org Message-ID: <20111121211610.GA33766@freebsd.org> References: <201111212059.pALKxho9047979@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201111212059.pALKxho9047979@pozo.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Buildworld broken with clang on current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 21 Nov 2011 21:16:19 -0000 this was broken by the xlocale import, David, can you fix this please? I guess that just removing the typedef from strcasecmp.c should do it On Mon, Nov 21, 2011 at 12:59:38PM -0800, Manfred Antar wrote: > make buildworld is broken iif using clang on current i386 > > (libc)5027}make > clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/string/strcasecmp.c > /usr/src/lib/libc/string/strcasecmp.c:45:23: error: redefinition of typedef 'u_char' is invalid in C > [-Wtypedef-redefinition] > typedef unsigned char u_char; > ^ > /usr/include/sys/types.h:50:23: note: previous definition is here > typedef unsigned char u_char; > ^ > 1 error generated. > *** Error code 1 > > Stop in /usr/src/lib/libc. > > > > ======================== > || null@pozo.com || > || Ph. (415) 681-6235 || > ======================== > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > 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"