From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87633 invoked by alias); 8 Apr 2015 15:46:53 -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 87623 invoked by uid 89); 8 Apr 2015 15:46:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Apr 2015 15:46:51 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id D2584F1BC859C; Wed, 8 Apr 2015 16:46:45 +0100 (IST) Received: from BAMAIL02.ba.imgtec.org (10.20.40.28) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 8 Apr 2015 16:46:49 +0100 Received: from [10.20.3.58] (10.20.3.58) by bamail02.ba.imgtec.org (10.20.40.28) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 8 Apr 2015 08:46:47 -0700 Message-ID: <1428508006.30498.88.camel@ubuntu-sellcey> Subject: Re: [PATCH] sim: move sim-engine.o/sim-hrw.o to the common list From: Steve Ellcey Reply-To: To: Richard Earnshaw CC: Mike Frysinger , Date: Wed, 08 Apr 2015 15:46:00 -0000 In-Reply-To: <55250C69.8030100@foss.arm.com> References: <55250C69.8030100@foss.arm.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00270.txt.bz2 On Wed, 2015-04-08 at 12:09 +0100, Richard Earnshaw wrote: > On 07/04/15 04:57, Mike Frysinger wrote: > > This makes these two objects available to all sims by default. > > > > Which breaks the build for the ARM simulator: > > ../sim/arm/libsim.a(wrapper.o): In function `sim_read' > : > /arm/scratch/rearnsha/gnusrc/gcc-cross/trunk/sim/arm/wrapper.c:195: > multiple definition of `sim_read' > ../sim/arm/libsim.a(sim-hrw.o):/arm/scratch/rearnsha/gnusrc/gcc-cross/trunk/sim/arm/../common/sim-hrw.c:28: > first defined here > /usr/bin/ld: Warning: size of symbol `sim_read' changed from 119 in > ../sim/arm/libsim.a(sim-hrw.o) to 76 in ../sim/arm/libsim.a(wrapper.o) > ../sim/arm/libsim.a(wrapper.o): In function `sim_write': > /arm/scratch/rearnsha/gnusrc/gcc-cross/trunk/sim/arm/wrapper.c:179: > multiple definition of `sim_write' > ../sim/arm/libsim.a(sim-hrw.o):/arm/scratch/rearnsha/gnusrc/gcc-cross/trunk/sim/arm/../common/sim-hrw.c:36: > first defined here > /usr/bin/ld: Warning: size of symbol `sim_write' changed from 122 in > ../sim/arm/libsim.a(sim-hrw.o) to 77 in ../sim/arm/libsim.a(wrapper.o) > collect2: ld returned 1 exit status > > R. I am seeing this failure on MIPS as well. Steve Ellcey sellcey@imgtec.com