* bfin gdb simulator
@ 2015-12-19 17:16 Waldemar Brodkorb
2015-12-24 7:46 ` Mike Frysinger
0 siblings, 1 reply; 6+ messages in thread
From: Waldemar Brodkorb @ 2015-12-19 17:16 UTC (permalink / raw)
To: gdb
Hi,
when trying to use latest gdb or 7.10.1 to
build bfin simulator, I get:
cc -DHAVE_CONFIG_H -DWITH_DEFAULT_MODEL='"bf537"' -DPROFILE=1
-DWITH_PROFILE=-1 -DWITH_DEFAULT_ALIGNMENT=STRICT_ALIGNMENT
-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN
-DWITH_ENVIRONMENT=ALL_ENVIRONMENT -DWITH_HW=1
-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign
-Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wmissing-prototypes
-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type
-Wold-style-declaration -Wold-style-definition -Wformat-nonliteral
-I. -I. -I../common -I./../common -I../../include -I./../../include
-I../../bfd -I./../../bfd -I../../opcodes -I./../../opcodes -fPIC
-c -o sim-stop.o -MT sim-stop.o -MMD -MP -MF .deps/sim-stop.Tpo
./../common/sim-stop.c
./../common/sim-model.c: In function âmodel_setâ:
./../common/sim-model.c:108:3: warning: implicit declaration of
function âCPU_MACHâ [-Wimplicit-function-declaration]
./../common/sim-model.c:108:18: error: lvalue required as left
operand of assignment
./../common/sim-model.c:109:3: warning: implicit declaration of
function âCPU_MODELâ [-Wimplicit-function-declaration]
./../common/sim-model.c:109:19: error: lvalue required as left
operand of assignment
./../common/sim-model.c: In function âsim_model_initâ:
./../common/sim-model.c:215:5: error: invalid type argument of â->â
(have âintâ)
./../common/sim-model.c:218:6: error: invalid type argument of â->â
(have âintâ)
./../common/sim-model.c:239:48: error: invalid type argument of â->â
(have âintâ)
make[9]: *** [sim-model.o] Error 1
make[9]: *** Waiting for unfinished jobs....
gdb 7.9.1 works fine. I have not git bisect it. May be someone have
already an idea what has breaking it?
best regards
Waldemar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: bfin gdb simulator
2015-12-19 17:16 bfin gdb simulator Waldemar Brodkorb
@ 2015-12-24 7:46 ` Mike Frysinger
2015-12-24 10:27 ` Waldemar Brodkorb
0 siblings, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2015-12-24 7:46 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: gdb
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
On 19 Dec 2015 18:16, Waldemar Brodkorb wrote:
> when trying to use latest gdb or 7.10.1 to
> build bfin simulator, I get:
please post the exact configure/make commands you're using
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: bfin gdb simulator
2015-12-24 7:46 ` Mike Frysinger
@ 2015-12-24 10:27 ` Waldemar Brodkorb
2015-12-24 18:40 ` Mike Frysinger
0 siblings, 1 reply; 6+ messages in thread
From: Waldemar Brodkorb @ 2015-12-24 10:27 UTC (permalink / raw)
To: Mike Frysinger; +Cc: gdb
Hi Mike,
Mike Frysinger wrote,
> On 19 Dec 2015 18:16, Waldemar Brodkorb wrote:
> > when trying to use latest gdb or 7.10.1 to
> > build bfin simulator, I get:
>
> please post the exact configure/make commands you're using
Sure. Please get the complete log here:
http://www.waldemar-brodkorb.de/make.log.gz
Just configure:
: "toolchain/gdb/configure.. "
PATH='/home/wbx/bfin/scripts:/home/wbx/bfin/toolchain_sim-bfin_uclibc-ng_bfin_nommu/usr/bin:/home/wbx/bfin/host_x86_64-linux-gnu/usr/bin:/home/wbx/bfin/host_x86_64-linux-gnu/bin:/opt/qemu/bin:/opt/qemu-meta/bin:/opt/qemu/bin:/opt/qemu-meta/bin:/opt/qemu/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
sed -i -e 's/install_to_ //' /home/wbx/bfin/toolchain_build_sim-bfin_uclibc-ng_bfin_nommu/w-gdb-7.10.1-1/gdb-7.10.1/libiberty/Makefile.in
(cd /home/wbx/bfin/toolchain_build_sim-bfin_uclibc-ng_bfin_nommu/w-gdb-7.10.1-1/gdb-7.10.1;
\
gdb_cv_func_sigsetjmp=yes \
./configure \
--prefix=/home/wbx/bfin/host_x86_64-linux-gnu \
--build=x86_64-linux-gnu \
--host=x86_64-linux-gnu \
--target=bfin-openadk-uclinux-uclibc \
--disable-dependency-tracking \
--without-uiout \
--enable-gdbmi \
--disable-gdbtk \
--without-included-gettext \
--disable-libtool-lock \
--disable-nls \
--with-curses \
--enable-threads \
--disable-tui \
--disable-werror \
--disable-install-libiberty \
--without-python \
--without-x \
--enable-sim --enable-sim-stdio \
);
And make:
: "toolchain/gdb/compile.. "
/usr/bin/make -j4 -C /home/wbx/bfin/toolchain_build_sim-bfin_uclibc-ng_bfin_nommu/w-gdb-7.10.1-1/gdb-7.10.1
CFLAGS="-fPIC "
best regards
Waldemar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: bfin gdb simulator
2015-12-24 10:27 ` Waldemar Brodkorb
@ 2015-12-24 18:40 ` Mike Frysinger
2015-12-25 14:44 ` Waldemar Brodkorb
0 siblings, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2015-12-24 18:40 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: gdb
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
On 24 Dec 2015 11:27, Waldemar Brodkorb wrote:
> > On 19 Dec 2015 18:16, Waldemar Brodkorb wrote:
> > > when trying to use latest gdb or 7.10.1 to
> > > build bfin simulator, I get:
> >
> > please post the exact configure/make commands you're using
>
> Sure. Please get the complete log here:
the failure shows up when you do in-tree builds. if you build out of
tree, it should work fine. you can also work around it locally:
rm sim/common/tconfig.h
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: bfin gdb simulator
2015-12-24 18:40 ` Mike Frysinger
@ 2015-12-25 14:44 ` Waldemar Brodkorb
2015-12-27 1:51 ` Mike Frysinger
0 siblings, 1 reply; 6+ messages in thread
From: Waldemar Brodkorb @ 2015-12-25 14:44 UTC (permalink / raw)
To: Mike Frysinger; +Cc: gdb
Hi Mike,
Mike Frysinger wrote,
> On 24 Dec 2015 11:27, Waldemar Brodkorb wrote:
> > > On 19 Dec 2015 18:16, Waldemar Brodkorb wrote:
> > > > when trying to use latest gdb or 7.10.1 to
> > > > build bfin simulator, I get:
> > >
> > > please post the exact configure/make commands you're using
> >
> > Sure. Please get the complete log here:
>
> the failure shows up when you do in-tree builds. if you build out of
> tree, it should work fine. you can also work around it locally:
> rm sim/common/tconfig.h
Thanks for the support.
Works great with out-of-tree build.
best regards
Waldemar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: bfin gdb simulator
2015-12-25 14:44 ` Waldemar Brodkorb
@ 2015-12-27 1:51 ` Mike Frysinger
0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2015-12-27 1:51 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: gdb
[-- Attachment #1: Type: text/plain, Size: 824 bytes --]
On 25 Dec 2015 15:44, Waldemar Brodkorb wrote:
> Mike Frysinger wrote,
> > On 24 Dec 2015 11:27, Waldemar Brodkorb wrote:
> > > > On 19 Dec 2015 18:16, Waldemar Brodkorb wrote:
> > > > > when trying to use latest gdb or 7.10.1 to
> > > > > build bfin simulator, I get:
> > > >
> > > > please post the exact configure/make commands you're using
> > >
> > > Sure. Please get the complete log here:
> >
> > the failure shows up when you do in-tree builds. if you build out of
> > tree, it should work fine. you can also work around it locally:
> > rm sim/common/tconfig.h
>
> Thanks for the support.
> Works great with out-of-tree build.
i've landed a large series of commits that fixes this by deleting
tconfig.h and refactoring a lot of code. it doesn't help with the
branch though ...
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-12-27 1:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-19 17:16 bfin gdb simulator Waldemar Brodkorb
2015-12-24 7:46 ` Mike Frysinger
2015-12-24 10:27 ` Waldemar Brodkorb
2015-12-24 18:40 ` Mike Frysinger
2015-12-25 14:44 ` Waldemar Brodkorb
2015-12-27 1:51 ` Mike Frysinger
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).