bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29389] Failed assertions in bfd/cofflink.c and bfd/coff-x8


From: luca.bacci at outlook dot com
Subject: [Bug binutils/29389] Failed assertions in bfd/cofflink.c and bfd/coff-x86_64.c during the linking stage (MSYS2 MinGW64)
Date: Fri, 22 Jul 2022 08:03:46 +0000

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

--- Comment #2 from Luca Bacci <luca.bacci at outlook dot com> ---
Hello, Alan!

I was about to prepare a bundle with all the object files, while a stumbled
upon this message:

$ cp subprojects/gtk/gtk/compose/compose-parse.exe.p/compose-parse.c.obj
"subprojects/gtk/gtk/libgtk.a" "subprojects/gtk/gtk/css/libgtk_css.a"
"subprojects/glib/glib/libglib-2.0.dll.a"
"subprojects/glib/gobject/libgobject-2.0.dll.a"
"subprojects/glib/gio/libgio-2.0.dll.a"
"subprojects/glib/gmodule/libgmodule-2.0.dll.a" "subprojects/gtk/gdk/libgdk.a"
"subprojects/gtk/gdk/win32/libgdk-win32.a" "subprojects/gtk/gsk/libgsk.a"
"subprojects/gtk/gsk/libgsk_f16c.a"
"D:/msys64/mingw64/lib/libpangocairo-1.0.dll.a"
"D:/msys64/mingw64/lib/libpango-1.0.dll.a"
"D:/msys64/mingw64/lib/libgobject-2.0.dll.a"
"D:/msys64/mingw64/lib/libglib-2.0.dll.a" "D:/msys64/mingw64/lib/libintl.dll.a"
"D:/msys64/mingw64/lib/libharfbuzz.dll.a"
"D:/msys64/mingw64/lib/libcairo.dll.a" "D:/msys64/mingw64/lib/libfribidi.dll.a"
"D:/msys64/mingw64/lib/libcairo-gobject.dll.a"
"D:/msys64/mingw64/lib/libgdk_pixbuf-2.0.dll.a"
"D:/msys64/mingw64/lib/libepoxy.dll.a"
"D:/msys64/mingw64/lib/libgraphene-1.0.dll.a"
"D:/msys64/mingw64/lib/libpangowin32-1.0.dll.a"
"D:/msys64/mingw64/lib/libpangoft2-1.0.dll.a"
"D:/msys64/mingw64/lib/libfontconfig.dll.a"
"D:/msys64/mingw64/lib/libfreetype.dll.a"
"D:/msys64/mingw64/lib/libpng16.dll.a" "D:/msys64/mingw64/lib/libz.dll.a"
"D:/msys64/mingw64/lib/libtiff.dll.a" "D:/msys64/mingw64/lib/libjpeg.dll.a"
"D:/msys64/mingw64/lib/libcairo-script-interpreter.dll.a" objs/
cp: will not overwrite just-created 'objs/libgobject-2.0.dll.a' with
'D:/msys64/mingw64/lib/libgobject-2.0.dll.a'
cp: will not overwrite just-created 'objs/libglib-2.0.dll.a' with
'D:/msys64/mingw64/lib/libglib-2.0.dll.a'

Turns out there are repeated input files:
subprojects/glib/gobject/libgobject-2.0.dll.a and
D:/msys64/mingw64/lib/libgobject-2.0.dll.a (and same for libglib-2.0.dll.a)

Removing D:/msys64/mingw64/lib/libgobject-2.0.dll.a and
D:/msys64/mingw64/lib/libglib-2.0.dll.a from the command-line fixed the issue!

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]