From owner-freebsd-toolchain@freebsd.org Wed Jun 8 19:11:50 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1D39B6FD04 for ; Wed, 8 Jun 2016 19:11:50 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C1BF1E67; Wed, 8 Jun 2016 19:11:50 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from anthias.dhcp.nue.suse.com (nat.nue.novell.com [195.135.221.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 52F5A3F479; Wed, 8 Jun 2016 15:11:43 -0400 (EDT) Date: Wed, 8 Jun 2016 21:11:41 +0200 (CEST) From: Gerald Pfeifer To: Andreas Tobler , freebsd-toolchain@freebsd.org Subject: Duplicate OPT_ entries in gcc/options.h Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2016 19:11:51 -0000 I got a user report, and could reproduce this, that building GCC (lang/gcc, but also current HEAD, so probably pretty much any version) with FreeBSD 11 and LANG = en_US.UTF-8 we get conflicting entires in $BUILDDIR/gcc/options.h such as OPT_d = 135, /* -d */ OPT_D = 136, /* -D */ OPT_d = 137, /* -d */ OPT_D = 138, /* -D */ OPT_d = 141, /* -d */ OPT_D = 142, /* -D */ OPT_d = 143, /* -d */ Using LANG = en_US (without UTF-8), everything works fine. Any ideas what might be going on here? (This is done via AWK scripts from what I can tell, does this trigger any ideas?) Gerald