public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26757] New: Cross GDB Fails to Build on Cygwin
@ 2020-10-19 22:32 joel.sherrill at oarcorp dot com
  2020-10-19 23:01 ` [Bug gdb/26757] Cross and Native " joel.sherrill at oarcorp dot com
  0 siblings, 1 reply; 2+ messages in thread
From: joel.sherrill at oarcorp dot com @ 2020-10-19 22:32 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26757
           Summary: Cross GDB Fails to Build on Cygwin
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: joel.sherrill at oarcorp dot com
  Target Milestone: ---

This has been broken since at least March 2020

Host: 

Cygwin

Version: 

Checked against git master 19 Oct 2020
(22cc388e2b940608d4d759dc61c0335cfc621de1)

Configuration:

 ../binutils-gdb/configure --target=arm-eabi
--prefix=/home/joel/test-gcc/install-master --disable-werror --enable-sim
--enable-sim-hardware --enable-timebase --enable-sim-trace

Seen in every *-rtems* target cross build


Output:

cp-support.o: in function `gdb_demangle(char const*, int)':
/home/jrs007/test-gcc/b-arm-eabi-bin/gdb/../../binutils-gdb/gdb/cp-support.c:1619:(.text+0x6472):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init
function for thread_local_segv_handler'
/home/jrs007/test-gcc/b-arm-eabi-bin/gdb/../../binutils-gdb/gdb/cp-support.c:1619:(.text+0x648b):
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug gdb/26757] Cross and Native GDB Fails to Build on Cygwin
  2020-10-19 22:32 [Bug gdb/26757] New: Cross GDB Fails to Build on Cygwin joel.sherrill at oarcorp dot com
@ 2020-10-19 23:01 ` joel.sherrill at oarcorp dot com
  0 siblings, 0 replies; 2+ messages in thread
From: joel.sherrill at oarcorp dot com @ 2020-10-19 23:01 UTC (permalink / raw)
  To: gdb-prs

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

Joel Sherrill <joel.sherrill at oarcorp dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Cross GDB Fails to Build on |Cross and Native GDB Fails
                   |Cygwin                      |to Build on Cygwin

--- Comment #1 from Joel Sherrill <joel.sherrill at oarcorp dot com> ---
Following up. Native gdb fails with a warning turned to error (see #26758) and
if you disable-werror, then it fails to build even natively.

cp-support.o: in function `gdb_demangle(char const*, int)':
/home/jrs007/test-gcc/b-native/gdb/../../binutils-gdb/gdb/cp-support.c:1619:(.text+0x6472):
relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init
function for thread_local_segv_handler'
/home/jrs007/test-gcc/b-native/gdb/../../binutils-gdb/gdb/cp-support.c:1619:(.text+0x648b):
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:1871: gdb.exe] Error 1
make[2]: Leaving directory '/home/jrs007/test-gcc/b-native/gdb'
make[1]: *** [Makefile:11697: all-gdb] Error 2
make[1]: Leaving directory '/home/jrs007/test-gcc/b-native'
make: *** [Makefile:857: all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-19 23:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 22:32 [Bug gdb/26757] New: Cross GDB Fails to Build on Cygwin joel.sherrill at oarcorp dot com
2020-10-19 23:01 ` [Bug gdb/26757] Cross and Native " joel.sherrill at oarcorp dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).