[Bug binutils/27113] libdep not correctly loaded on Windows

2021-05-05 Thread alexey.brodkin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27113

Alexey Brodkin  changed:

   What|Removed |Added

 CC||alexey.brodkin at gmail dot com

--- Comment #4 from Alexey Brodkin  ---
Any chance to get that removal of "libdep.dll.a" implemented?
With this "libdep.dll.a" in place Windows builds of recent Binutils frighten
users :)

See https://github.com/msys2/MINGW-packages/issues/7890 and
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/376.

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


[Bug binutils/27113] libdep not correctly loaded on Windows

2021-05-10 Thread alexey.brodkin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27113

--- Comment #6 from Alexey Brodkin  ---
No, unfortunately proposed patch doesn't change anything when cross-compiling
for Windows. Though the following change does the trick:
>8
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 711a54ac0c4..989d899388d 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -1083,6 +1083,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
done
rm -f $(DESTDIR)$(bfdplugindir)/libdep.la
rm -f $(DESTDIR)$(bfdplugindir)/libdep.a
+   rm -f $(DESTDIR)$(bfdplugindir)/libdep.dll.a

 # Stuff that should be included in a distribution.  The diststuff
 # target is run by the taz target in ../Makefile.in.
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 23e95eb7b7e..87894ea0970 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2682,6 +2682,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
done
rm -f $(DESTDIR)$(bfdplugindir)/libdep.la
rm -f $(DESTDIR)$(bfdplugindir)/libdep.a
+   rm -f $(DESTDIR)$(bfdplugindir)/libdep.dll.a
 diststuff: info $(EXTRA_DIST)

 # Both info (ld.info) and ld.1 depend on configdoc.texi.
>8

Though I'm not sure if that's a legitimate fix for when we build natively on
Linux for Linux (for the record - no build failures happen anyway).

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


[Bug binutils/27113] libdep not correctly loaded on Windows

2021-05-11 Thread alexey.brodkin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27113

--- Comment #9 from Alexey Brodkin  ---
Thanks for submitting the fix. Though it's "libdep", not "libdel" as it is put
in the commit title: "Prevent libdel.dll.a from being installed on Windows
based systems." ;)

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