public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug win32/27242] New: multiple definition of `UP'; ../readline/readline/libreadline.a(terminal.o):terminal.c:(.bss+0x98): first defined here
@ 2021-01-25 13:35 cbiesinger at google dot com
  2021-10-07 17:28 ` [Bug win32/27242] " cbiesinger at google dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: cbiesinger at google dot com @ 2021-01-25 13:35 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27242
           Summary: multiple definition of `UP';
                    ../readline/readline/libreadline.a(terminal.o):termina
                    l.c:(.bss+0x98): first defined here
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: win32
          Assignee: unassigned at sourceware dot org
          Reporter: cbiesinger at google dot com
  Target Milestone: ---

On mingw64, I get this link error:

make[2]: Entering directory '/home/Christian/binutils-gdb/mingw-obj/gdb'
  CXXLD  gdb.exe
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../lib/libncursesw.a(lib_termcap.o):(.bss+0x8):
multiple definition of `UP';
../readline/readline/libreadline.a(terminal.o):terminal.c:(.bss+0x98): first
defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../lib/libncursesw.a(lib_termcap.o):(.bss+0x0):
multiple definition of `BC';
../readline/readline/libreadline.a(terminal.o):terminal.c:(.bss+0xa0): first
defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../lib/libncursesw.a(lib_tputs.o):(.bss+0x6):
multiple definition of `PC';
../readline/readline/libreadline.a(terminal.o):terminal.c:(.bss+0xa8): first
defined here
collect2.exe: error: ld returned 1 exit status
make[2]: *** [Makefile:1881: gdb.exe] Error 1


$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-10.1.0/configure --prefix=/mingw64
--with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
--with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include
--libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64
--with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++
--enable-shared --enable-static --enable-libatomic --enable-threads=posix
--enable-graphite --enable-fully-dynamic-string
--enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes
--disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check
--enable-lto --enable-libgomp --disable-multilib --enable-checking=release
--disable-rpath --disable-win32-registry --disable-nls --disable-werror
--disable-symvers --disable-plugin --with-libiconv --with-system-zlib
--with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64
--with-isl=/mingw64 --with-pkgversion='Rev3, Built by MSYS2 project'
--with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as
--with-gnu-ld
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.1.0 (Rev3, Built by MSYS2 project)

$ ld -v
GNU ld (GNU Binutils) 2.34

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

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

end of thread, other threads:[~2022-03-18 12:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 13:35 [Bug win32/27242] New: multiple definition of `UP'; ../readline/readline/libreadline.a(terminal.o):terminal.c:(.bss+0x98): first defined here cbiesinger at google dot com
2021-10-07 17:28 ` [Bug win32/27242] " cbiesinger at google dot com
2021-10-08 21:33 ` cbiesinger at google dot com
2021-10-08 21:45 ` cbiesinger at google dot com
2021-10-08 21:56 ` cbiesinger at google dot com
2022-03-18 12:41 ` ssbssa at sourceware dot org

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).