On Master All GDB Builds Fail on Cygwin

Joel Sherrill joel at rtems.org
Mon Sep 28 19:35:53 UTC 2020


Hi

I left a build going yesterday on Cygwin and GDB failed with this for every
architecture. I updated my Cygwin install this morning and it still fails
with this:

cp-support.o:/home/jrs007/rtems-cron-6/rtems-source-builder/rtems/build/arm-rtems6-gdb-0295dde-x86_64-pc-cygwin-1/build/gdb/../../sourceware-mirror-binutils-gdb-0295dde/gdb/psymtab.h:32:(.text+0x5291):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS
init function for thread_local_segv_handler'
cp-support.o:/home/jrs007/rtems-cron-6/rtems-source-builder/rtems/build/arm-rtems6-gdb-0295dde-x86_64-pc-cygwin-1/build/gdb/../../sourceware-mirror-binutils-gdb-0295dde/gdb/psymtab.h:32:(.text+0x529b):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS
init function for thread_local_segv_handler'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1867: gdb.exe] Error 1
make[2]: Leaving directory
'/home/jrs007/rtems-cron-6/rtems-source-builder/rtems/build/arm-rtems6-gdb-0295dde-x86_64-pc-cygwin-1/build/gdb'

I found that there are others with the same problem. The only one with a
patch was this:

https://stackoverflow.com/questions/61984974/failed-to-build-avr-and-arm-gdb-9-1-under-cygwin-relocation-truncated-to-fit

I know Cygwin is way down folks' list but any ideas?

Thanks.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200928/5e01cad2/attachment.html>


More information about the devel mailing list