public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/16827] New: Duplication symbol _sim_addr_range_hit_p in sim common on Mavrick
@ 2014-04-10 5:12 chrisj at rtems dot org
2015-03-29 21:54 ` [Bug sim/16827] " vapier at gentoo dot org
0 siblings, 1 reply; 2+ messages in thread
From: chrisj at rtems dot org @ 2014-04-10 5:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16827
Bug ID: 16827
Summary: Duplication symbol _sim_addr_range_hit_p in sim common
on Mavrick
Product: gdb
Version: 7.7
Status: NEW
Severity: normal
Priority: P2
Component: sim
Assignee: unassigned at sourceware dot org
Reporter: chrisj at rtems dot org
CC: vapier at gentoo dot org
Created attachment 7544
--> https://sourceware.org/bugzilla/attachment.cgi?id=7544&action=edit
Clean up and fix the inline of the sim-arange code.
Building RTEMS targets with a simulator fail on Mavrick using cc etc with:
duplicate symbol _sim_addr_range_hit_p in:
nrun.o
libsim.a(sim-cpu.o)
printed once for each object file libsim.a. The failure happens with the bfin
and h8300 targets and I suspect all will fail. The same targets build on
FreeBSD 10.
The configure command line is:
../gdb-7.7/configure --build=x86_64-apple-darwin13.1.0
--host=x86_64-apple-darwin13.1.0 --target=h8300-rtems4.11 --verbose
--disable-nls --without-included-gettext --disable-win32-registry
--disable-werror --enable-sim --without-zlib --with-expat --with-python
--prefix=/Users/chris/development/rtems/4.11
--bindir=/Users/chris/development/rtems/4.11/bin
--exec-prefix=/Users/chris/development/rtems/4.11
--includedir=/Users/chris/development/rtems/4.11/include
--libdir=/Users/chris/development/rtems/4.11/lib
--mandir=/Users/chris/development/rtems/4.11/share/man
--infodir=/Users/chris/development/rtems/4.11/share/info
I attach a patch which works on Mavrick and FreeBSD. I am not sure it is 100%
as some of the logic used in the way the inline, extern and extern inline are
handled left me confused so I just cleaned up the code.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug sim/16827] Duplication symbol _sim_addr_range_hit_p in sim common on Mavrick
2014-04-10 5:12 [Bug sim/16827] New: Duplication symbol _sim_addr_range_hit_p in sim common on Mavrick chrisj at rtems dot org
@ 2015-03-29 21:54 ` vapier at gentoo dot org
0 siblings, 0 replies; 2+ messages in thread
From: vapier at gentoo dot org @ 2015-03-29 21:54 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16827
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Assignee|unassigned at sourceware dot org |vapier at gentoo dot org
--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> ---
i fixed the issue here:
https://sourceware.org/ml/gdb-patches/2015-03/msg00967.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-29 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-10 5:12 [Bug sim/16827] New: Duplication symbol _sim_addr_range_hit_p in sim common on Mavrick chrisj at rtems dot org
2015-03-29 21:54 ` [Bug sim/16827] " vapier at gentoo dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).