* Problems building insight-6.8... and the solution.
[not found] <ea104e1b0805140633o409a276bu5682f0128361aa82@mail.gmail.com>
@ 2008-05-20 15:01 ` David Fernandez
2008-05-22 17:41 ` Keith Seitz
0 siblings, 1 reply; 2+ messages in thread
From: David Fernandez @ 2008-05-20 15:01 UTC (permalink / raw)
To: insight
Hi there,
I'm building insight-6.8 in a SPARC running Solaris:
bash-3.2$ uname -a
SunOS serv21 5.9 Generic_122300-17 sun4u sparc SUNW,Sun-Fire-V215 Solaris
using gcc:
bash-3.2$ gcc --version
gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I'm configuring it as:
bash-3.2$ PATH=$HOME/DF/local/bin:$PATH ~/DF/src/insight-6.8/configure \
--target=arm-elf --prefix=$HOME/DF/local -v 2>&1 | tee configure.out
and making as:
bash-3.2$ PATH=$HOME/DF/local/bin:$PATH make -w all install 2>&1 |
tee make.out
Which gives an error:
...
gcc -c -g -O2 -I.
-I/home/terminals/fernandezd/DF/src/insight-6.8/gdb
-I/home/terminals/fernandezd/DF/src/insight-6.8/gdb/config
-DLOCALEDIR="\"/home/terminals/fernandezd/DF/local/share/locale\""
-DHAVE_CONFIG_H
-I/home/terminals/fernandezd/DF/src/insight-6.8/gdb/../include/opcode
-I/home/terminals/fernandezd/DF/src/insight-6.8/gdb/../readline/..
-I../bfd -I/home/terminals/fernandezd/DF/src/insight-6.8/gdb/../bfd
-I/home/terminals/fernandezd/DF/src/insight-6.8/gdb/../include
-I../libdecnumber
-I/home/terminals/fernandezd/DF/src/insight-6.8/gdb/../libdecnumber
-DMI_OUT=1 -DGDBTK -DTUI=1 -Wall -Wdeclaration-after-statement
-Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
-Wno-switch -Wno-char-subscripts -Werror
/home/terminals/fernandezd/DF/src/insight-6.8/gdb/remote.c
cc1: warnings being treated as errors
/home/terminals/fernandezd/DF/src/insight-6.8/gdb/remote.c: In
function 'extended_remote_attach_1':
/home/terminals/fernandezd/DF/src/insight-6.8/gdb/remote.c:2859:
warning: format '%x' expects type 'unsigned int', but argument 3 has
type 'pid_t'
make[2]: *** [remote.o] Error 1
make[2]: Leaving directory
`/home/terminals/fernandezd/DF/build/toolchain/insight/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory
`/home/terminals/fernandezd/DF/build/toolchain/insight'
make: *** [all] Error 2
make: Leaving directory `/home/terminals/fernandezd/DF/build/toolchain/insight'
If you add (unsigned int) cast to the pid parameter then everything works.
Let me know if you want more detailed logs.
Cheers
David Fernandez
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problems building insight-6.8... and the solution.
2008-05-20 15:01 ` Problems building insight-6.8... and the solution David Fernandez
@ 2008-05-22 17:41 ` Keith Seitz
0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2008-05-22 17:41 UTC (permalink / raw)
To: David Fernandez; +Cc: insight
David Fernandez wrote:
> /home/terminals/fernandezd/DF/src/insight-6.8/gdb/remote.c: In
> function 'extended_remote_attach_1':
> /home/terminals/fernandezd/DF/src/insight-6.8/gdb/remote.c:2859:
> warning: format '%x' expects type 'unsigned int', but argument 3 has
> type 'pid_t'
This file is under the control of the gdb maintainers. Please send your
patch to their mailing list, gdb@sourceware.org.
Keith
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-22 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <ea104e1b0805140633o409a276bu5682f0128361aa82@mail.gmail.com>
2008-05-20 15:01 ` Problems building insight-6.8... and the solution David Fernandez
2008-05-22 17:41 ` Keith Seitz
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).