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 compile/21284] New: all FLAGS should be add "-static" when using mingw_gcc_5.3.0


https://sourceware.org/bugzilla/show_bug.cgi?id=21284

            Bug ID: 21284
           Summary: all FLAGS should be add "-static" when using
                    mingw_gcc_5.3.0
           Product: gdb
           Version: 7.12
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: compile
          Assignee: unassigned at sourceware dot org
          Reporter: 349988077 at qq dot com
  Target Milestone: ---

I have downloaded gdb7.12.tar.gz and mingw-get-setup.exe.

Running mingw-get-setup.exe, i got a development environment of mingw.
The gcc version is 5.3.0.

When i configured gdb as "../gdb-7.12/configure --disable-werror" in the
mingw, it succeed, then "make" is succeed too.

Result :

I tried to running gdb as ./gdb/gdb in my build dir, and typed "s" as a
command in the command line, when i enterd "Enter", command "s" was trying to 
executed, but i got messgae below:
"This application has requested the Runtime to terminate it in an unusual
way. please contact the application's support team for more information"

Then , gdb crashed.

The  gdb failed in the function of "thow_error()", it may need some "*.dll"。

Later:
I configured gdb as "../gdb-7.12/configure --disable-werror" in the
mingw, it succeed;Opened Makefile and added "-static" to all the FLAGS;
Then "make" is succeed too.

This time, gdb was running normally!

(By the way,i can not compiled gdb7.12 success when using mingw gcc 4.6.1
 and mingw gcc 4.8.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]