On 10/2/20 8:25 am, Chris Johns wrote: > On 9/2/20 2:18 pm, jameszxj wrote: >> Hi, >> RSB failed when build gdb on MINGW64. >> >> error messages: >> >> D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: >> ada-tasks.o: in function `memcpy': >> D:/msys64/mingw64/x86_64-w64-mingw32/include/string.h:202: undefined >> reference >> to `__memcpy_chk' >> D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: >> arm-tdep.o: in function `memcpy': >> D:/msys64/mingw64/x86_64-w64-mingw32/include/string.h:202: undefined >> reference >> to `__memcpy_chk' >> D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: >> breakpoint.o: in function `strcpy': >> D:/msys64/mingw64/x86_64-w64-mingw32/include/string.h:228: undefined >> reference >> to `__strcpy_chk' > > I see this as well. I do not know what the cause it. It is documented in the > LSB > code specification so am wondering if something has changed to trigger this.
Building gdb-9.1 works for ARM. I will post a patch to move RTEMS 5 to gdb-9.1 once I have built arm, powerpc and sparc tool sets. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel