From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11548 invoked by alias); 20 Aug 2014 04:28:41 -0000 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 Received: (qmail 11536 invoked by uid 89); 20 Aug 2014 04:28:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: bes.se.axis.com Received: from bes.se.axis.com (HELO bes.se.axis.com) (195.60.68.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Aug 2014 04:28:39 +0000 Received: from localhost (localhost [127.0.0.1]) by bes.se.axis.com (Postfix) with ESMTP id E96DE2E53A for ; Wed, 20 Aug 2014 06:28:35 +0200 (CEST) Received: from bes.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bes.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id HNKMtQ+gIsRY for ; Wed, 20 Aug 2014 06:28:31 +0200 (CEST) Received: from boulder.se.axis.com (boulder.se.axis.com [10.0.2.104]) by bes.se.axis.com (Postfix) with ESMTP id 6920E2E538 for ; Wed, 20 Aug 2014 06:28:31 +0200 (CEST) Received: from boulder.se.axis.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 4D325EEB for ; Wed, 20 Aug 2014 06:28:26 +0200 (CEST) Received: from thoth.se.axis.com (thoth.se.axis.com [10.0.2.173]) by boulder.se.axis.com (Postfix) with ESMTP id 412F9EDD for ; Wed, 20 Aug 2014 06:28:26 +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 3805234005; Wed, 20 Aug 2014 06:28:25 +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 s7K4SOQD031647; Wed, 20 Aug 2014 06:28:24 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id s7K4SNpt031643; Wed, 20 Aug 2014 06:28:23 +0200 Date: Wed, 20 Aug 2014 04:28:00 -0000 Message-Id: <201408200428.s7K4SNpt031643@ignucius.se.axis.com> From: Hans-Peter Nilsson To: gdb-patches@sourceware.org Subject: [RFC 0/4] Fix recent sim/*/config.in fallout: frv, m32r, sh64, iq2000 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-SW-Source: 2014-08/txt/msg00377.txt.bz2 Recently, a change requiring -ldl due to bfd plugin default changing from off to on, spread throughout the generated configury files, for simulators as well as gdb. In that process, sim/*/config.in for the sims below was regenerated for the first time since 2012. This had build-breaking fallouts for some simulator showing bloopers in changes from around 2013-03-23, attempts enabling sim-hardware and dv-sockser.o. Here's my take on fixing that: let's return to the state before those attempts. This is a request-for-comments, I'll commit this in a few days unless someone has a better idea, one that lets these simulators build *without* --{enable,disable} options and where committing this would still not be an incremental improvement. All this seems to have started with building dv-sockser.o for *all* targets and that failing for windows hosts. I tried to find the reason dv-sockser.o was enabled in the first place, but failed finding anything earlier than the hint in . It seems the introduction of (building) dv-sockser.o and enabling sim-hardware for *all* sims from that time was just misguided. After these patches, all simulators now build, in particular those fixed below without and with --enable-sim-hardware and --disable-sim-hardware, but that's mainly because SIM_AC_OPTION_HARDWARE has a bug; it forces the value of its first parameter rather than making it the default for --{enable,disable}-sim-hardware. See sim/common/acinclude.m4 and the generated configure files. brgds, H-P