From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21629 invoked by alias); 14 Jun 2011 09:16:18 -0000 Received: (qmail 21619 invoked by uid 22791); 14 Jun 2011 09:16:17 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jun 2011 09:15:57 +0000 From: "amylaar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49402] New: Duplicate use of v850.opt X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: amylaar at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 14 Jun 2011 09:16:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01165.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49402 Summary: Duplicate use of v850.opt Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: amylaar@gcc.gnu.org CC: nickc@redhat.com Blocks: 47093 Target: v850-elf gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../../gcc/gcc -I../../../gcc/gcc/build -I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber \ -o build/genflags.o ../../../gcc/gcc/genflags.c In file included from ./tm.h:14:0, from ../../../gcc/gcc/genflags.c:27: ./options.h:3422:0: error: "MASK_US_BIT_SET" redefined [-Werror] ./options.h:3421:0: note: this is the location of the previous definition ./options.h:3424:0: error: "MASK_APP_REGS" redefined [-Werror] ./options.h:3423:0: note: this is the location of the previous definition ./options.h:3426:0: error: "MASK_BIG_SWITCH" redefined [-Werror] ./options.h:3425:0: note: this is the location of the previous definition ./options.h:3428:0: error: "MASK_DEBUG" redefined [-Werror] ./options.h:3427:0: note: this is the location of the previous definition ./options.h:3430:0: error: "MASK_DISABLE_CALLT" redefined [-Werror] ./options.h:3429:0: note: this is the location of the previous definition ./options.h:3432:0: error: "MASK_EP" redefined [-Werror] ./options.h:3431:0: note: this is the location of the previous definition ./options.h:3434:0: error: "MASK_GHS" redefined [-Werror] ./options.h:3433:0: note: this is the location of the previous definition The v850-elf build fails with: ./options.h:3436:0: error: "MASK_JUMP_TABLES_IN_DATA_SECTION" redefined [-Werror] ./options.h:3435:0: note: this is the location of the previous definition ./options.h:3438:0: error: "MASK_LONG_CALLS" redefined [-Werror] ./options.h:3437:0: note: this is the location of the previous definition ./options.h:3440:0: error: "MASK_NO_STRICT_ALIGN" redefined [-Werror] ./options.h:3439:0: note: this is the location of the previous definition ./options.h:3442:0: error: "MASK_PROLOG_FUNCTION" redefined [-Werror] ./options.h:3441:0: note: this is the location of the previous definition ./options.h:3444:0: error: "MASK_SMALL_SLD" redefined [-Werror] ./options.h:3443:0: note: this is the location of the previous definition ./options.h:3446:0: error: "MASK_V850" redefined [-Werror] ./options.h:3445:0: note: this is the location of the previous definition ./options.h:3448:0: error: "MASK_V850E" redefined [-Werror] ./options.h:3447:0: note: this is the location of the previous definition ./options.h:3450:0: error: "MASK_V850E1" redefined [-Werror] ./options.h:3449:0: note: this is the location of the previous definition ./options.h:3452:0: error: "MASK_V850E2" redefined [-Werror] ./options.h:3451:0: note: this is the location of the previous definition ./options.h:3454:0: error: "MASK_V850E2V3" redefined [-Werror] ./options.h:3453:0: note: this is the location of the previous definition ./options.h:3455:2: error: #error too many target masks cc1: all warnings being treated as errors make[2]: *** [build/genflags.o] Error 1 I see that v850.opt ends up being used twice: amylaar@gcc20:~/pr46489/jun13/multi2/v850-elf/gcc$ grep 'v850\.opt' * config.log:extra_opt_files=' $(srcdir)/config/v850/v850.opt $(srcdir)/config/v850/v850.opt' config.status:S["extra_opt_files"]=" $(srcdir)/config/v850/v850.opt $(srcdir)/config/v850/v850.opt" Makefile:extra_opt_files= $(srcdir)/config/v850/v850.opt $(srcdir)/config/v850/v850.opt