On Master All GDB Builds Fail on Cygwin
Chris Johns
chrisj at rtems.org
Tue Sep 29 01:37:14 UTC 2020
On 29/9/20 5:35 am, Joel Sherrill wrote:
> 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?
It is best to raise this with gdb and/or cygwin.
Chris
More information about the devel
mailing list