GNU Binutils 2.40 released

Achim Gratz Stromeko@nexgo.de
Sun Jan 15 21:18:29 GMT 2023


Nick Clifton via Binutils writes:
>   We are pleased to announce that version 2.40 of the GNU Binutils project
>   sources have been released and are now available for download at:

Thanks.


This release is slightly broken on systems that already use texinfo 7
due to an error in the libctf configure script.  Patch:

--8<---------------cut here---------------start------------->8---
--- origsrc/binutils-2.40/libctf/configure.ac
+++ src/binutils-2.40/libctf/configure.ac
@@ -184,7 +184,7 @@
     # We require texinfo to be 6.3 or later, for a working synindex
     # and validatemenus: otherwise we fall back to /bin/true.
     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9])' >/dev/null 2>&1; then
+       | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]\.[0-9])' >/dev/null 2>&1; then
       build_info=yes
     else
         build_info=

--8<---------------cut here---------------end--------------->8---


Also, it doesn't build on Cygwin (and when building the cross compilers
to MinGW64) when enabling target x86_64-pep due to doubly defined
symbols when linking ld-new (pep-dll-x86_64 defines the same symbols as
pep-dll).  The following patch seems to fix that particular issue, but
is unlikely to do the right thing when other configure options are used.

--8<---------------cut here---------------start------------->8---
--- origsrc/binutils-2.40/ld/configure.tgt
+++ src/binutils-2.40/ld/configure.tgt
@@ -1051,12 +1051,12 @@
 			;;
 x86_64-*-cygwin)	targ_emul=i386pep ;
 			targ_extra_emuls=i386pe
-			targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o"
+			targ_extra_ofiles="deffilep.o pdb.o pe-dll.o"
 			test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api'
 			;;
 x86_64-*-mingw*)	targ_emul=i386pep ;
 			targ_extra_emuls=i386pe
-			targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o"
+			targ_extra_ofiles="deffilep.o pdb.o pe-dll.o"
 			;;
 x86_64-*-gnu*)		targ_emul=elf_x86_64
 			targ_extra_emuls="elf32_x86_64 elf_iamcu elf_i386"

--8<---------------cut here---------------end--------------->8---


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables


More information about the Binutils mailing list