Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Steve Ellcey <sellcey@imgtec.com>
To: Richard Earnshaw <Richard.Earnshaw@foss.arm.com>
Cc: Mike Frysinger <vapier@gentoo.org>, <gdb-patches@sourceware.org>
Subject: Re: [PATCH] sim: move sim-engine.o/sim-hrw.o to the common list
Date: Wed, 08 Apr 2015 15:46:00 -0000	[thread overview]
Message-ID: <1428508006.30498.88.camel@ubuntu-sellcey> (raw)
In-Reply-To: <55250C69.8030100@foss.arm.com>

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


  reply	other threads:[~2015-04-08 15:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07  3:57 Mike Frysinger
2015-04-08 11:09 ` Richard Earnshaw
2015-04-08 15:46   ` Steve Ellcey [this message]
2015-04-12  9:54   ` Mike Frysinger
2015-04-09  6:42 ` Bin.Cheng
2015-04-10  9:05 ` Yao Qi
2015-04-12  9:55   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428508006.30498.88.camel@ubuntu-sellcey \
    --to=sellcey@imgtec.com \
    --cc=Richard.Earnshaw@foss.arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox