This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug server/18962] New: Fail to build GDBserver with i686-w64-mingw32


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]