Discussion:
[Bug server/18962] New: Fail to build GDBserver with i686-w64-mingw32
qiyao at gcc dot gnu.org
2015-09-15 08:35:54 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=18962

Bug ID: 18962
Summary: Fail to build GDBserver with i686-w64-mingw32
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: qiyao at gcc dot gnu.org
Target Milestone: ---

I am seeing the following build errors,

i686-w64-mingw32-gcc -g -O2 -D__USE_MINGW_ACCESS -I.
-I/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver
-I/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/../common
-I/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/../regformats
-I/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/..
-I/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/../../include
-I/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/../gnulib/import
-Ibuild-gnulib-gdbserver/import -Wall -Wpointer-arith -Wformat-nonliteral
-Wno-char-subscripts -Wempty-body -Wdeclaration-after-statement -Werror
-DGDBSERVER -c -o tracepoint.o -MT tracepoint.o -MMD -MP -MF
.deps/tracepoint.Tpo
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c: In function
‘cmd_qtdp’:
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:2569:7: error:
unknown conversion type character ‘l’ in format [-Werror=format=]
trace_debug ("Defined %stracepoint %d at 0x%s, "
^
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:2569:7: error:
unknown conversion type character ‘l’ in format [-Werror=format=]
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:2569:7: error: too
many arguments for format [-Werror=format-extra-args]
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c: In function
‘stop_tracing’:
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:3442:7: error:
unknown conversion type character ‘l’ in format [-Werror=format=]
trace_debug ("Stopping the trace because "
^
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:3442:7: error: too
many arguments for format [-Werror=format-extra-args]
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c: In function
‘collect_data_at_tracepoint’:
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:4645:3: error:
unknown conversion type character ‘l’ in format [-Werror=format=]
trace_debug ("Making new traceframe for tracepoint %d at 0x%s, hit %"
PRIu64,
^
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:4645:3: error: too
many arguments for format [-Werror=format-extra-args]
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c: In function
‘collect_data_at_step’:
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:4681:3: error:
unknown conversion type character ‘l’ in format [-Werror=format=]
trace_debug ("Making new step traceframe for "
^
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:4681:3: error:
unknown conversion type character ‘l’ in format [-Werror=format=]
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/tracepoint.c:4681:3: error: too
many arguments for format [-Werror=format-extra-args]
cc1: all warnings being treated as errors
make[2]: *** [tracepoint.o] Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
qiyao at gcc dot gnu.org
2015-09-15 08:36:36 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=18962

Yao Qi <qiyao at gcc dot gnu.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target| |i686-w64-mingw32
Host| |i686-w64-mingw32
--
You are receiving this mail because:
You are on the CC list for the bug.
qiyao at gcc dot gnu.org
2015-09-15 09:05:06 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=18962

Yao Qi <qiyao at gcc dot gnu.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|server |build
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-09-26 12:54:02 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=18962

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I configured with:

../binutils-gdb/configure --disable-{binutils,gas,gold,ld,gprof} --host
i686-w64-mingw32 --target i686-w64-mingw32 --enable-targets=all


The build went fine.

Is there some other thing that's needed to see this problem?
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...