From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7035 invoked by alias); 15 Jun 2012 20:37:17 -0000 Received: (qmail 6966 invoked by uid 22791); 15 Jun 2012 20:37:15 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from anubis.se.axis.com (HELO anubis.se.axis.com) (195.60.68.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 20:37:02 +0000 Received: from localhost (localhost [127.0.0.1]) by anubis.se.axis.com (Postfix) with ESMTP id 8C46619E54; Fri, 15 Jun 2012 22:37:00 +0200 (CEST) Received: from anubis.se.axis.com ([127.0.0.1]) by localhost (anubis.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vx8HQkCckybf; Fri, 15 Jun 2012 22:36:58 +0200 (CEST) Received: from thoth.se.axis.com (thoth.se.axis.com [10.0.2.173]) by anubis.se.axis.com (Postfix) with ESMTP id 9E43B19DD6; Fri, 15 Jun 2012 22:36:58 +0200 (CEST) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by thoth.se.axis.com (Postfix) with ESMTP id 86A00341B9; Fri, 15 Jun 2012 22:36:58 +0200 (CEST) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id q5FKawmt028587; Fri, 15 Jun 2012 22:36:58 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id q5FKavVQ028583; Fri, 15 Jun 2012 22:36:57 +0200 Date: Fri, 15 Jun 2012 20:37:00 -0000 Message-Id: <201206152036.q5FKavVQ028583@ignucius.se.axis.com> From: Hans-Peter Nilsson To: brobecker@adacore.com CC: gdb-patches@sourceware.org In-reply-to: <20120615191516.GA18729@adacore.com> (message from Joel Brobecker on Fri, 15 Jun 2012 21:15:16 +0200) Subject: Re: build error for mn10300-elf sim with your recent commit MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00531.txt.bz2 > From: Joel Brobecker > Date: Fri, 15 Jun 2012 21:15:16 +0200 > > > My autotester complains that the sim build for mn10300-elf is > > > broken, and your entry was the only one at the top of > > > sim/mn10300/ChangeLog. There was a working build 5-6 hours > > > earlier: > > > > Yeah, I think that might be me. I'll try to reproduce and fix. > > If it's an easy fix, I won't be offdended if you send a patch :-). > > I think this one is really going to hurt. Amazing how a little change > in bfd can have ripple effects everywhere. > > Basically: BFD changed the inclusion rules, now causing a build error > if you include "bfd.h" without having included "config.h" before. Is it really that? My first thought was that it's *not* that. All the other simulators I test (arm-elf, cris-elf, d10v-elf, frv-elf, h8300-elf, iq2000-elf, m32c-elf, m32r-elf, m68hc11-elf, mcore-elf, mips-elf, powerpc-eabisim, sh-elf, v850-elf) are ok (fixed since the big config.h breakage), it's just mn10300-sim that broke now, so I can't help but thinking it's likely a simple fix. brgds, H-P