From nobody@FreeBSD.org Sun Nov 11 17:53:24 2007 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AB6216A46C for ; Sun, 11 Nov 2007 17:53:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF8713C4B7 for ; Sun, 11 Nov 2007 17:53:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lABHqx5o027143 for ; Sun, 11 Nov 2007 17:52:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id lABHqxPR027142; Sun, 11 Nov 2007 17:52:59 GMT (envelope-from nobody) Message-Id: <200711111752.lABHqxPR027142@www.freebsd.org> Date: Sun, 11 Nov 2007 17:52:59 GMT From: Milan Bartos To: freebsd-gnats-submit@FreeBSD.org Subject: releng_7, can't compile gcc X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 117981 >Category: gnu >Synopsis: releng_7, can't compile gcc >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 11 18:00:06 UTC 2007 >Closed-Date: Sun Nov 11 22:48:12 UTC 2007 >Last-Modified: Sat Jan 10 23:10:01 UTC 2009 >Originator: Milan Bartos >Release: 7.0-BETA2 >Organization: >Environment: FreeBSD Vallhala 7.0-BETA2 FreeBSD 7.0-BETA2 #1: Sun Nov 4 17:39:08 CET 2007 root@Vallhala:/usr/obj/usr/src/sys/GENERIC i386 >Description: Hi, I try build newly fetched sources, but it can't. Vallhala#make buildworld [ snip ] cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c In file included from ./tm.h:4, from /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c:24: ./options.h:375: error: redeclaration of enumerator 'OPT_d' ./options.h:373: error: previous definition of 'OPT_d' was here ./options.h:898: error: redeclaration of enumerator 'OPT_w' ./options.h:896: error: previous definition of 'OPT_w' was here *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc_tools. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Vallhala# Bug, bad feature or problem in my system? Thx, Milan >How-To-Repeat: Try build the latest releng_7 sources >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Sun Nov 11 22:48:12 UTC 2007 State-Changed-Why: Hello, this is actually a general user question which should have been brought up the mailinglists. I actually tried building RELENG_7 on two different machines (my fileserver which is actively running RELENG_7 and a virtual image which just got the latest sources with it): Both work fine and get no issues at all. Can you please wipeout your current src dir and refetch it from another mirror (do you use cvsup/csup?) and try again. If you continue to encounter problems please notify the mailinglist questions@FreeBSD.org, if they think it's really a problem , please get back to me then so I can get this straight again. Thanks for using FreeBSD and taking the time to report this, it's appreciated! http://www.freebsd.org/cgi/query-pr.cgi?pr=117981 From: Milan To: bug-followup@freebsd.org Cc: Subject: Re: gnu/117981: releng_7, can't compile gcc Date: Sat, 10 Jan 2009 23:33:50 +0100 Hi all. This problem is caused by locale settings. Workaround: You should have build with default (C) locales. This problem is observed with czech and slovakia locale, so if you have one of theese locales, make sure, you build with C locale. Don't forget, if you switch users with 'su', locale are preserved! (at least on my system). Hope, this will be usefull for someone. Regards, Milan Bartos >Unformatted: