public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* The 2.38 branch has been created.
@ 2022-01-22 12:58 Nick Clifton
  2022-01-23 13:15 ` H.J. Lu
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Nick Clifton @ 2022-01-22 12:58 UTC (permalink / raw)
  To: binutils

Hi Everyone, 

  The 2.38 branch has now been created:

     git clone git://sourceware.org/git/binutils-gdb.git -b binutils-2_38-branch

  A snapshot of the sources is also available here:

    https://sourceware.org/pub/binutils/snapshots/binutils-2.37.90.tar.xz

  Please could all patches for the branch be run by me.
  The rules for the branch are:

    * No new features.
    * Target specific bug fixes are OK.
    * Generic bug fixes are OK if they are important and widely tested.
    * Documentation updates/fixes are OK.
    * Translation updates are OK.
    * Fixes for testsuite failures are OK.

  Ideally I would like to make the release happen in two weeks time,
  i.e. Saturday 5th Feb 2022.  Which I hope will be enough time for
  everyone to get their final fixes in.

Cheers
  Nick


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

* Re: The 2.38 branch has been created.
  2022-01-22 12:58 The 2.38 branch has been created Nick Clifton
@ 2022-01-23 13:15 ` H.J. Lu
  2022-01-23 13:32   ` [PATCH] Regenerate configure files with autoconf 2.69 H.J. Lu
  2022-01-24 14:59   ` The 2.38 branch has been created Nick Clifton
  2022-01-25 12:39 ` Matthias Klose
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 19+ messages in thread
From: H.J. Lu @ 2022-01-23 13:15 UTC (permalink / raw)
  To: Nick Clifton; +Cc: Binutils

On Sat, Jan 22, 2022 at 4:59 AM Nick Clifton via Binutils
<binutils@sourceware.org> wrote:
>
> Hi Everyone,
>
>   The 2.38 branch has now been created:
>
>      git clone git://sourceware.org/git/binutils-gdb.git -b binutils-2_38-branch
>
>   A snapshot of the sources is also available here:
>
>     https://sourceware.org/pub/binutils/snapshots/binutils-2.37.90.tar.xz
>
>   Please could all patches for the branch be run by me.
>   The rules for the branch are:
>
>     * No new features.
>     * Target specific bug fixes are OK.
>     * Generic bug fixes are OK if they are important and widely tested.
>     * Documentation updates/fixes are OK.
>     * Translation updates are OK.
>     * Fixes for testsuite failures are OK.
>
>   Ideally I would like to make the release happen in two weeks time,
>   i.e. Saturday 5th Feb 2022.  Which I hope will be enough time for
>   everyone to get their final fixes in.
>

Hi Nick,

All configure files master and 2.38 branches are generated by a modified
autoconf with extra --runstatedir=DIR.  Shouldn't they be generated by
an unmodified autoconf?


-- 
H.J.

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

* [PATCH] Regenerate configure files with autoconf 2.69
  2022-01-23 13:15 ` H.J. Lu
@ 2022-01-23 13:32   ` H.J. Lu
  2022-01-24 14:59   ` The 2.38 branch has been created Nick Clifton
  1 sibling, 0 replies; 19+ messages in thread
From: H.J. Lu @ 2022-01-23 13:32 UTC (permalink / raw)
  To: Nick Clifton; +Cc: Binutils

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

On Sun, Jan 23, 2022 at 5:15 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Sat, Jan 22, 2022 at 4:59 AM Nick Clifton via Binutils
> <binutils@sourceware.org> wrote:
> >
> > Hi Everyone,
> >
> >   The 2.38 branch has now been created:
> >
> >      git clone git://sourceware.org/git/binutils-gdb.git -b binutils-2_38-branch
> >
> >   A snapshot of the sources is also available here:
> >
> >     https://sourceware.org/pub/binutils/snapshots/binutils-2.37.90.tar.xz
> >
> >   Please could all patches for the branch be run by me.
> >   The rules for the branch are:
> >
> >     * No new features.
> >     * Target specific bug fixes are OK.
> >     * Generic bug fixes are OK if they are important and widely tested.
> >     * Documentation updates/fixes are OK.
> >     * Translation updates are OK.
> >     * Fixes for testsuite failures are OK.
> >
> >   Ideally I would like to make the release happen in two weeks time,
> >   i.e. Saturday 5th Feb 2022.  Which I hope will be enough time for
> >   everyone to get their final fixes in.
> >
>
> Hi Nick,
>
> All configure files master and 2.38 branches are generated by a modified
> autoconf with extra --runstatedir=DIR.  Shouldn't they be generated by
> an unmodified autoconf?
>

I am checking in this patch to regenerate configure files.

-- 
H.J.

[-- Attachment #2: 0001-Regenerate-configure-files-with-autoconf-2.69.patch --]
[-- Type: text/x-patch, Size: 18378 bytes --]

From 31b0378d53a66fcf0d4e78526bc2782abe2cf9eb Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Sun, 23 Jan 2022 05:27:01 -0800
Subject: [PATCH] Regenerate configure files with autoconf 2.69

Regenerate configure files with the unmodified autoconf 2.69 to remove

  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]

bfd/

	* configure: Regenerate.

binutils/

	* configure: Regenerate.

gas/

	* configure: Regenerate.

gold/

	* configure: Regenerate.

gprof/

	* configure: Regenerate.

ld/

	* configure: Regenerate.

opcodes/

	* configure: Regenerate.
---
 bfd/configure      | 18 +++---------------
 binutils/configure | 18 +++---------------
 gas/configure      | 18 +++---------------
 gold/configure     | 14 +-------------
 gprof/configure    | 18 +++---------------
 ld/configure       | 18 +++---------------
 opcodes/configure  | 18 +++---------------
 7 files changed, 19 insertions(+), 103 deletions(-)

diff --git a/bfd/configure b/bfd/configure
index 00d356f72f5..4502e52decb 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -796,7 +796,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -894,7 +893,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1147,15 +1145,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1293,7 +1282,7 @@ fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1446,7 +1435,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -11098,7 +11086,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11101 "configure"
+#line 11089 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11204,7 +11192,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11207 "configure"
+#line 11195 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/binutils/configure b/binutils/configure
index eeb2fa25270..19d82badc63 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -785,7 +785,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -889,7 +888,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1142,15 +1140,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1288,7 +1277,7 @@ fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1441,7 +1430,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -10983,7 +10971,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10986 "configure"
+#line 10974 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11089,7 +11077,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11092 "configure"
+#line 11080 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/gas/configure b/gas/configure
index e65761752df..94455667917 100755
--- a/gas/configure
+++ b/gas/configure
@@ -770,7 +770,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -868,7 +867,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1121,15 +1119,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1267,7 +1256,7 @@ fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1420,7 +1409,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -10708,7 +10696,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10711 "configure"
+#line 10699 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10814,7 +10802,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10817 "configure"
+#line 10805 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/gold/configure b/gold/configure
index 30c78a5d762..5f5b8c3602b 100755
--- a/gold/configure
+++ b/gold/configure
@@ -813,7 +813,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -907,7 +906,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1160,15 +1158,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1306,7 +1295,7 @@ fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1459,7 +1448,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
diff --git a/gprof/configure b/gprof/configure
index 6ca7587a5ce..8cb3921c34f 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -752,7 +752,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -837,7 +836,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1090,15 +1088,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1236,7 +1225,7 @@ fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1389,7 +1378,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -10610,7 +10598,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10613 "configure"
+#line 10601 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10716,7 +10704,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10719 "configure"
+#line 10707 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/ld/configure b/ld/configure
index 2e13d482aca..034fe373106 100755
--- a/ld/configure
+++ b/ld/configure
@@ -793,7 +793,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -901,7 +900,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1154,15 +1152,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1300,7 +1289,7 @@ fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1453,7 +1442,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -11466,7 +11454,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11469 "configure"
+#line 11457 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11572,7 +11560,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11575 "configure"
+#line 11563 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/opcodes/configure b/opcodes/configure
index 4f9f5816ac1..7036e708478 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -771,7 +771,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -859,7 +858,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1112,15 +1110,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1258,7 +1247,7 @@ fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1411,7 +1400,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -11047,7 +11035,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11050 "configure"
+#line 11038 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11153,7 +11141,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11156 "configure"
+#line 11144 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
-- 
2.34.1


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

* Re: The 2.38 branch has been created.
  2022-01-23 13:15 ` H.J. Lu
  2022-01-23 13:32   ` [PATCH] Regenerate configure files with autoconf 2.69 H.J. Lu
@ 2022-01-24 14:59   ` Nick Clifton
  1 sibling, 0 replies; 19+ messages in thread
From: Nick Clifton @ 2022-01-24 14:59 UTC (permalink / raw)
  To: H.J. Lu; +Cc: Binutils

Hi H.J.

> All configure files master and 2.38 branches are generated by a modified
> autoconf with extra --runstatedir=DIR.  Shouldn't they be generated by
> an unmodified autoconf?

Yes.  *sigh* I am working on a Fedora 34 box and just used its system
autoconf.  Presumably this is where the extra option comes from.

Thanks for fixing the files. I will look into installing a pure version
of autoconf on my system.

Cheers
   Nick



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

* Re: The 2.38 branch has been created.
  2022-01-22 12:58 The 2.38 branch has been created Nick Clifton
  2022-01-23 13:15 ` H.J. Lu
@ 2022-01-25 12:39 ` Matthias Klose
  2022-01-25 15:37   ` Nick Clifton
                     ` (2 more replies)
  2022-02-08  2:07 ` Palmer Dabbelt
                   ` (2 subsequent siblings)
  4 siblings, 3 replies; 19+ messages in thread
From: Matthias Klose @ 2022-01-25 12:39 UTC (permalink / raw)
  To: Nick Clifton, binutils

On 1/22/22 13:58, Nick Clifton via Binutils wrote:
> Hi Everyone, 
> 
>   The 2.38 branch has now been created:
> 
>      git clone git://sourceware.org/git/binutils-gdb.git -b binutils-2_38-branch
> 
>   A snapshot of the sources is also available here:
> 
>     https://sourceware.org/pub/binutils/snapshots/binutils-2.37.90.tar.xz
> 
>   Please could all patches for the branch be run by me.
>   The rules for the branch are:
> 
>     * No new features.
>     * Target specific bug fixes are OK.
>     * Generic bug fixes are OK if they are important and widely tested.
>     * Documentation updates/fixes are OK.
>     * Translation updates are OK.
>     * Fixes for testsuite failures are OK.
> 
>   Ideally I would like to make the release happen in two weeks time,
>   i.e. Saturday 5th Feb 2022.  Which I hope will be enough time for
>   everyone to get their final fixes in.

some issues:

https://sourceware.org/bugzilla/show_bug.cgi?id=28819
has a reproducer to show that a ld change between Jan 06 and Jan 19 builds
binaries without RELRO support on at least some architectures.

this is a build configured with -enable-pgo-build=lto.

on any arch:
make[5]: Entering directory '/<<PKGBUILDDIR>>/builddir-single/libbacktrace'
FAIL: allocfail.sh


libbacktrace seems not to be built during the build, but only when running the
tests. Is this expected?

test results for various architectures:

amd64, ppc64, hppa, powerpc, x32: no test failures


arm64, regression from 2.37:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
FAIL: ld-aarch64/tls-relax-gdesc-le-now

armel, armhf:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/elf.exp ...
FAIL: .noinit sections
FAIL: .persistent sections
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
FAIL: Build pr22263-1
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-ifunc/ifunc.exp ...
FAIL: Run pr18841 with libpr18841b.so
FAIL: Run pr18841 with libpr18841c.so
FAIL: Run pr18841 with libpr18841bn.so (-z now)
FAIL: Run pr18841 with libpr18841cn.so (-z now)
FAIL: Run pr23169a
FAIL: Run pr23169d


i686 (regressions):
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-i386/i386.exp ...
FAIL: Run pr19031
FAIL: Run got1
FAIL: Undefined weak symbol (-fPIE -no-pie)
FAIL: Undefined weak symbol (-fPIE -pie)


ppc64el:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
FAIL: bootstrap
FAIL: bootstrap with strip
FAIL: bootstrap with -Wl,--traditional-format
FAIL: bootstrap with -Wl,--no-keep-memory
FAIL: bootstrap with -Wl,--relax
FAIL: bootstrap with -Wl,--max-cache-size=-1


s390:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/shared.exp ...
FAIL: pr26580-3
FAIL: Run pr21964-4
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
FAIL: Build pr22263-1


ia64:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/elf.exp ...
FAIL: PR ld/22269
FAIL: PR ld/22269 (-z dynamic-undefined-weak)
FAIL: Build pr26391-5.o
FAIL: Build pr26391-6.o
FAIL: Run pr26391-5
FAIL: Run pr26391-6
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/indirect.exp ...
FAIL: Run with libpr18720c.so 1
FAIL: Run with libpr18720c.so 2
FAIL: Run with libpr18720c.so 3
FAIL: Run with libpr18720c.so 4
FAIL: Run with libpr18720c.so 5
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/shared.exp ...
FAIL: DT_TEXTREL map file warning
FAIL: pr22269-1 (static pie undefined weak)
FAIL: Run pr18718
FAIL: Run pr18718 (-z now)
FAIL: Run pr18718 with PIE (1)
FAIL: Run pr18718 with PIE (2)
FAIL: Run pr18718 with PIE (3)
FAIL: Run pr18718 with PIE (4)
FAIL: Run pr18718 with PIC (1)
FAIL: Run pr18718 with PIC (2)
FAIL: Run pr18718 with PIC (3)
FAIL: Run pr18718 with PIC (4)
FAIL: Build pr23162a
FAIL: Build pr23162b
FAIL: Build libpr23161a.so
FAIL: Build pr23161a
FAIL: Build libpr23161b.so
FAIL: Build pr23161b
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
FAIL: Build pr22263-1
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-ifunc/ifunc.exp ...
FAIL: ifunc-using shared library does not contain R_*_IRELATIVE relocation
FAIL: Local ifunc-using executable does not contain R_*_IRELATIVE relocation
FAIL: Static ifunc-using executable does not contain R_*_IRELATIVE relocation


m68k:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/dwarf.exp ...
FAIL: Handle no DWARF information
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/indirect.exp ...
FAIL: Run indirect5 3
FAIL: Run indirect5 4
FAIL: Run indirect6 3
FAIL: Run indirect6 4
FAIL: indirect5c dynsym
FAIL: indirect5d dynsym
FAIL: indirect6c dynsym
FAIL: indirect6d dynsym
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/shared.exp ...
FAIL: DT_TEXTREL map file warning
FAIL: pr20995
FAIL: pr20995-2
FAIL: pr22269-1 (static pie undefined weak)
FAIL: pr26580-4
FAIL: Run pr2404 with PIE
FAIL: Run pr2404 with PIE (-z now)
FAIL: Run pr19719 fun undefined
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
FAIL: Build pr22263-1
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-m68k/m68k.exp ...
FAIL: ld-m68k/tls-gd-2
FAIL: ld-m68k/tls-gd-ie-1
FAIL: ld-m68k/tls-ie-1
FAIL: ld-m68k/tls-ld-1

riscv64:
Test results, compared with installed binutils:
W: [binutils-all/objcopy.exp] REGRESSION (PASS -> UNTESTED): simple objcopy of
executable
W: [binutils-all/objcopy.exp] REGRESSION (PASS -> UNTESTED): run objcopy of
executable
W: [binutils-all/objcopy.exp] REGRESSION (PASS -> UNTESTED): run stripped executable
W: [binutils-all/objcopy.exp] REGRESSION (PASS -> UNTESTED): run stripped
executable with saving a s
ymbol
W: [binutils-all/objcopy.exp] REGRESSION (PASS -> UNTESTED): keep only debug data
W: [binutils-all/objcopy.exp] REGRESSION (PASS -> UNTESTED): simple objcopy of
debug data
W: [binutils-all/objcopy.exp] REGRESSION (PASS -> UNTESTED): NOBITS sections
retain sh_link field
W: [ld-bootstrap/bootstrap.exp] REGRESSION (PASS -> FAIL): bootstrap
W: [ld-bootstrap/bootstrap.exp] REGRESSION (PASS -> FAIL): bootstrap with strip
W: [ld-bootstrap/bootstrap.exp] REGRESSION (PASS -> FAIL): bootstrap with
-Wl,--traditional-format
W: [ld-bootstrap/bootstrap.exp] REGRESSION (PASS -> FAIL): bootstrap with
-Wl,--no-keep-memory
W: [ld-bootstrap/bootstrap.exp] REGRESSION (PASS -> FAIL): bootstrap with
-Wl,--relax
W: [ld-bootstrap/bootstrap.exp] REGRESSION (PASS -> FAIL): bootstrap with
-Wl,--max-cache-size=-1
W: [ld-cdtest/cdtest.exp] REGRESSION (PASS -> FAIL): cdtest
W: [ld-cdtest/cdtest.exp] REGRESSION (PASS -> FAIL): cdtest with -Ur
W: [ld-elfcomm/elfcomm.exp] REGRESSION (PASS -> UNTESTED): size/alignment change
of common symbols (warning 1)
W: [ld-elfcomm/elfcomm.exp] REGRESSION (PASS -> UNTESTED): size/alignment change
of common symbols (warning 2)
W: [ld-elfcomm/elfcomm.exp] REGRESSION (PASS -> UNTESTED): size/alignment change
of common symbols (change 1)
W: [ld-elfcomm/elfcomm.exp] REGRESSION (PASS -> UNTESTED): size/alignment change
of common symbols (change 2)
W: [ld-gc/gc.exp] REGRESSION (PASS -> UNTESTED): Check --gc-section
W: [ld-gc/gc.exp] REGRESSION (PASS -> UNTESTED): Check --gc-section/-q
W: [ld-gc/gc.exp] REGRESSION (PASS -> UNTESTED): Check --gc-section/-r/-e
W: [ld-gc/gc.exp] REGRESSION (PASS -> UNTESTED): Check --gc-section/-r/-u
W: [ld-scripts/crossref.exp] REGRESSION (PASS -> UNTESTED): NOCROSSREFS 1
W: [ld-scripts/crossref.exp] REGRESSION (PASS -> UNTESTED): NOCROSSREFS 2
W: [ld-scripts/crossref.exp] REGRESSION (PASS -> UNTESTED): NOCROSSREFS 3
W: [ld-scripts/crossref.exp] REGRESSION (PASS -> UNTESTED): NOCROSSREFS_TO 1
W: [ld-scripts/crossref.exp] REGRESSION (PASS -> UNTESTED): NOCROSSREFS_TO 2
W: [ld-scripts/crossref.exp] REGRESSION (PASS -> UNTESTED): NOCROSSREFS_TO 3
W: [ld-scripts/crossref.exp] REGRESSION (PASS -> UNTESTED): NOCROSSREFS_TO 4
W: [ld-srec/srec.exp] REGRESSION (XFAIL -> UNTESTED): S-records
W: [ld-srec/srec.exp] REGRESSION (XFAIL -> UNTESTED): S-records with constructors
W: [ld-undefined/undefined.exp] REGRESSION (PASS -> UNTESTED): undefined
W: [ld-undefined/undefined.exp] REGRESSION (PASS -> UNTESTED): undefined function
W: [ld-undefined/undefined.exp] REGRESSION (PASS -> UNTESTED): undefined line
8 REGRESSIONS (0.48%).


sh4:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
WARNING: program timed out
FAIL: bootstrap
WARNING: program timed out
FAIL: bootstrap with strip
WARNING: program timed out
FAIL: bootstrap with -Wl,--traditional-format
WARNING: program timed out
FAIL: bootstrap with -Wl,--no-keep-memory
WARNING: program timed out
FAIL: bootstrap with -Wl,--relax
WARNING: program timed out
FAIL: bootstrap with -Wl,--max-cache-size=-1
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/dwarf.exp ...
FAIL: Handle no DWARF information
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/shared.exp ...
FAIL: pr20995
FAIL: pr20995-2
FAIL: pr22269-1 (static pie undefined weak)
FAIL: Run pr19579
FAIL: Run pr19579 (-z now)
FAIL: Run pr19719 fun undefined
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
FAIL: Build pr22263-1


sparc64:
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
WARNING: program timed out
FAIL: bootstrap
Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/elf.exp ...
FAIL: Run pr26391-5
FAIL: Run pr26391-6



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

* Re: The 2.38 branch has been created.
  2022-01-25 12:39 ` Matthias Klose
@ 2022-01-25 15:37   ` Nick Clifton
  2022-01-29  5:29     ` Alan Modra
  2022-01-25 17:22   ` Szabolcs Nagy
  2022-01-30 15:02   ` H.J. Lu
  2 siblings, 1 reply; 19+ messages in thread
From: Nick Clifton @ 2022-01-25 15:37 UTC (permalink / raw)
  To: Matthias Klose, binutils

Hi Matthias,

> some issues:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=28819
> has a reproducer to show that a ld change between Jan 06 and Jan 19 builds
> binaries without RELRO support on at least some architectures.
> 
> this is a build configured with -enable-pgo-build=lto.

Hmm, I had better check this out.  Thanks for raising the issue.


> on any arch:
> make[5]: Entering directory '/<<PKGBUILDDIR>>/builddir-single/libbacktrace'
> FAIL: allocfail.sh
> 
> libbacktrace seems not to be built during the build, but only when running the
> tests. Is this expected?

It was a snafu.  (I accidentally deleted a file in the libbacktrace directory).
This should now be fixed.


> amd64, ppc64, hppa, powerpc, x32: no test failures

That is nice.


> arm64, regression from 2.37:
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
> FAIL: ld-aarch64/tls-relax-gdesc-le-now

Hmm, I will check that one out.


> ppc64el:
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
> FAIL: bootstrap
> FAIL: bootstrap with strip
> FAIL: bootstrap with -Wl,--traditional-format
> FAIL: bootstrap with -Wl,--no-keep-memory
> FAIL: bootstrap with -Wl,--relax
> FAIL: bootstrap with -Wl,--max-cache-size=-1

I think that I will let Alan look into these...


> s390:
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/shared.exp ...
> FAIL: pr26580-3
> FAIL: Run pr21964-4
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
> FAIL: Build pr22263-1

I will have a look into these as well.

Cheers
   Nick


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

* Re: The 2.38 branch has been created.
  2022-01-25 12:39 ` Matthias Klose
  2022-01-25 15:37   ` Nick Clifton
@ 2022-01-25 17:22   ` Szabolcs Nagy
  2022-01-27 10:18     ` Szabolcs Nagy
  2022-01-30 15:02   ` H.J. Lu
  2 siblings, 1 reply; 19+ messages in thread
From: Szabolcs Nagy @ 2022-01-25 17:22 UTC (permalink / raw)
  To: Matthias Klose; +Cc: Nick Clifton, binutils

The 01/25/2022 13:39, Matthias Klose wrote:
> arm64, regression from 2.37:
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
> FAIL: ld-aarch64/tls-relax-gdesc-le-now

i dont see this with my toolchain.

> armel, armhf:
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/elf.exp ...
> FAIL: .noinit sections
> FAIL: .persistent sections
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
> FAIL: Build pr22263-1
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-ifunc/ifunc.exp ...
> FAIL: Run pr18841 with libpr18841b.so
> FAIL: Run pr18841 with libpr18841c.so
> FAIL: Run pr18841 with libpr18841bn.so (-z now)
> FAIL: Run pr18841 with libpr18841cn.so (-z now)
> FAIL: Run pr23169a
> FAIL: Run pr23169d

with my toolchain i only see the ifunc failures.

they seem to be regressions indeed, i don't know yet what goes wrong.

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

* Re: The 2.38 branch has been created.
  2022-01-25 17:22   ` Szabolcs Nagy
@ 2022-01-27 10:18     ` Szabolcs Nagy
  0 siblings, 0 replies; 19+ messages in thread
From: Szabolcs Nagy @ 2022-01-27 10:18 UTC (permalink / raw)
  To: Matthias Klose, binutils

The 01/25/2022 17:22, Szabolcs Nagy via Binutils wrote:
> The 01/25/2022 13:39, Matthias Klose wrote:
> > arm64, regression from 2.37:
> > Running /<<PKGBUILDDIR>>/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
> > FAIL: ld-aarch64/tls-relax-gdesc-le-now
> 
> i dont see this with my toolchain.
> 
> > armel, armhf:
> > Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/elf.exp ...
> > FAIL: .noinit sections
> > FAIL: .persistent sections
> > Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
> > FAIL: Build pr22263-1
> > Running /<<PKGBUILDDIR>>/ld/testsuite/ld-ifunc/ifunc.exp ...
> > FAIL: Run pr18841 with libpr18841b.so
> > FAIL: Run pr18841 with libpr18841c.so
> > FAIL: Run pr18841 with libpr18841bn.so (-z now)
> > FAIL: Run pr18841 with libpr18841cn.so (-z now)
> > FAIL: Run pr23169a
> > FAIL: Run pr23169d
> 
> with my toolchain i only see the ifunc failures.
> 
> they seem to be regressions indeed, i don't know yet what goes wrong.

sorry i can actually see the same failures on 2.37 so not regressions.

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

* Re: The 2.38 branch has been created.
  2022-01-25 15:37   ` Nick Clifton
@ 2022-01-29  5:29     ` Alan Modra
  2022-01-30 13:32       ` Matthias Klose
  0 siblings, 1 reply; 19+ messages in thread
From: Alan Modra @ 2022-01-29  5:29 UTC (permalink / raw)
  To: Nick Clifton; +Cc: Matthias Klose, binutils

On Tue, Jan 25, 2022 at 03:37:08PM +0000, Nick Clifton via Binutils wrote:
> > ppc64el:
> > Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
> > FAIL: bootstrap
> > FAIL: bootstrap with strip
> > FAIL: bootstrap with -Wl,--traditional-format
> > FAIL: bootstrap with -Wl,--no-keep-memory
> > FAIL: bootstrap with -Wl,--relax
> > FAIL: bootstrap with -Wl,--max-cache-size=-1
> 
> I think that I will let Alan look into these...

I would if I could reproduce it.  My builds are OK.  Matthias,
ld/ld.log might give me a clue, if that is available somewhere.

-- 
Alan Modra
Australia Development Lab, IBM

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

* Re: The 2.38 branch has been created.
  2022-01-29  5:29     ` Alan Modra
@ 2022-01-30 13:32       ` Matthias Klose
  2022-01-30 13:53         ` H.J. Lu
  2022-01-30 22:48         ` Alan Modra
  0 siblings, 2 replies; 19+ messages in thread
From: Matthias Klose @ 2022-01-30 13:32 UTC (permalink / raw)
  To: Alan Modra, Nick Clifton; +Cc: binutils

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

On 1/29/22 06:29, Alan Modra wrote:
> On Tue, Jan 25, 2022 at 03:37:08PM +0000, Nick Clifton via Binutils wrote:
>>> ppc64el:
>>> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
>>> FAIL: bootstrap
>>> FAIL: bootstrap with strip
>>> FAIL: bootstrap with -Wl,--traditional-format
>>> FAIL: bootstrap with -Wl,--no-keep-memory
>>> FAIL: bootstrap with -Wl,--relax
>>> FAIL: bootstrap with -Wl,--max-cache-size=-1
>>
>> I think that I will let Alan look into these...
> 
> I would if I could reproduce it.  My builds are OK.  Matthias,
> ld/ld.log might give me a clue, if that is available somewhere.

Attached. This is triggered by configuring with --enable-pgo-build=lto.  The
tests pass when binutils is configured without that option.

Matthias

[-- Attachment #2: ld.log.xz --]
[-- Type: application/x-xz, Size: 106744 bytes --]

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

* Re: The 2.38 branch has been created.
  2022-01-30 13:32       ` Matthias Klose
@ 2022-01-30 13:53         ` H.J. Lu
  2022-01-30 13:58           ` Matthias Klose
  2022-01-30 22:48         ` Alan Modra
  1 sibling, 1 reply; 19+ messages in thread
From: H.J. Lu @ 2022-01-30 13:53 UTC (permalink / raw)
  To: Matthias Klose; +Cc: Alan Modra, Nick Clifton, Binutils

On Sun, Jan 30, 2022 at 5:33 AM Matthias Klose <doko@ubuntu.com> wrote:
>
> On 1/29/22 06:29, Alan Modra wrote:
> > On Tue, Jan 25, 2022 at 03:37:08PM +0000, Nick Clifton via Binutils wrote:
> >>> ppc64el:
> >>> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
> >>> FAIL: bootstrap
> >>> FAIL: bootstrap with strip
> >>> FAIL: bootstrap with -Wl,--traditional-format
> >>> FAIL: bootstrap with -Wl,--no-keep-memory
> >>> FAIL: bootstrap with -Wl,--relax
> >>> FAIL: bootstrap with -Wl,--max-cache-size=-1
> >>
> >> I think that I will let Alan look into these...
> >
> > I would if I could reproduce it.  My builds are OK.  Matthias,
> > ld/ld.log might give me a clue, if that is available somewhere.
>
> Attached. This is triggered by configuring with --enable-pgo-build=lto.  The
> tests pass when binutils is configured without that option.

Did you configure binutils with --disable-werror? This may be needed for
 --enable-pgo-build=lto.

-- 
H.J.

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

* Re: The 2.38 branch has been created.
  2022-01-30 13:53         ` H.J. Lu
@ 2022-01-30 13:58           ` Matthias Klose
  0 siblings, 0 replies; 19+ messages in thread
From: Matthias Klose @ 2022-01-30 13:58 UTC (permalink / raw)
  To: H.J. Lu; +Cc: Alan Modra, Nick Clifton, Binutils

On 1/30/22 14:53, H.J. Lu wrote:
> On Sun, Jan 30, 2022 at 5:33 AM Matthias Klose <doko@ubuntu.com> wrote:
>>
>> On 1/29/22 06:29, Alan Modra wrote:
>>> On Tue, Jan 25, 2022 at 03:37:08PM +0000, Nick Clifton via Binutils wrote:
>>>>> ppc64el:
>>>>> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
>>>>> FAIL: bootstrap
>>>>> FAIL: bootstrap with strip
>>>>> FAIL: bootstrap with -Wl,--traditional-format
>>>>> FAIL: bootstrap with -Wl,--no-keep-memory
>>>>> FAIL: bootstrap with -Wl,--relax
>>>>> FAIL: bootstrap with -Wl,--max-cache-size=-1
>>>>
>>>> I think that I will let Alan look into these...
>>>
>>> I would if I could reproduce it.  My builds are OK.  Matthias,
>>> ld/ld.log might give me a clue, if that is available somewhere.
>>
>> Attached. This is triggered by configuring with --enable-pgo-build=lto.  The
>> tests pass when binutils is configured without that option.
> 
> Did you configure binutils with --disable-werror? This may be needed for
>  --enable-pgo-build=lto.

yes

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

* Re: The 2.38 branch has been created.
  2022-01-25 12:39 ` Matthias Klose
  2022-01-25 15:37   ` Nick Clifton
  2022-01-25 17:22   ` Szabolcs Nagy
@ 2022-01-30 15:02   ` H.J. Lu
  2 siblings, 0 replies; 19+ messages in thread
From: H.J. Lu @ 2022-01-30 15:02 UTC (permalink / raw)
  To: Matthias Klose; +Cc: Nick Clifton, Binutils

On Tue, Jan 25, 2022 at 4:39 AM Matthias Klose <doko@ubuntu.com> wrote:
>
> On 1/22/22 13:58, Nick Clifton via Binutils wrote:
> > Hi Everyone,
> >
> >   The 2.38 branch has now been created:
> >
> >      git clone git://sourceware.org/git/binutils-gdb.git -b binutils-2_38-branch
> >
> >   A snapshot of the sources is also available here:
> >
> >     https://sourceware.org/pub/binutils/snapshots/binutils-2.37.90.tar.xz
> >
> >   Please could all patches for the branch be run by me.
> >   The rules for the branch are:
> >
> >     * No new features.
> >     * Target specific bug fixes are OK.
> >     * Generic bug fixes are OK if they are important and widely tested.
> >     * Documentation updates/fixes are OK.
> >     * Translation updates are OK.
> >     * Fixes for testsuite failures are OK.
> >
> >   Ideally I would like to make the release happen in two weeks time,
> >   i.e. Saturday 5th Feb 2022.  Which I hope will be enough time for
> >   everyone to get their final fixes in.
>
> some issues:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=28819
> has a reproducer to show that a ld change between Jan 06 and Jan 19 builds
> binaries without RELRO support on at least some architectures.
>
> this is a build configured with -enable-pgo-build=lto.
>
> on any arch:
> make[5]: Entering directory '/<<PKGBUILDDIR>>/builddir-single/libbacktrace'
> FAIL: allocfail.sh
>
>
> libbacktrace seems not to be built during the build, but only when running the
> tests. Is this expected?
>
> test results for various architectures:
>
> amd64, ppc64, hppa, powerpc, x32: no test failures
>
>
> arm64, regression from 2.37:
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-aarch64/aarch64-elf.exp ...
> FAIL: ld-aarch64/tls-relax-gdesc-le-now
>
> armel, armhf:
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/elf.exp ...
> FAIL: .noinit sections
> FAIL: .persistent sections
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-elf/tls.exp ...
> FAIL: Build pr22263-1
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-ifunc/ifunc.exp ...
> FAIL: Run pr18841 with libpr18841b.so
> FAIL: Run pr18841 with libpr18841c.so
> FAIL: Run pr18841 with libpr18841bn.so (-z now)
> FAIL: Run pr18841 with libpr18841cn.so (-z now)
> FAIL: Run pr23169a
> FAIL: Run pr23169d
>
>
> i686 (regressions):
> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-i386/i386.exp ...
> FAIL: Run pr19031
> FAIL: Run got1
> FAIL: Undefined weak symbol (-fPIE -no-pie)
> FAIL: Undefined weak symbol (-fPIE -pie)
>

I can't reproduce this with --enable-pgo-build=lto using GCC 11.2.
Which GCC are you using? Does it fail without --enable-pgo-build=lto?

-- 
H.J.

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

* Re: The 2.38 branch has been created.
  2022-01-30 13:32       ` Matthias Klose
  2022-01-30 13:53         ` H.J. Lu
@ 2022-01-30 22:48         ` Alan Modra
  1 sibling, 0 replies; 19+ messages in thread
From: Alan Modra @ 2022-01-30 22:48 UTC (permalink / raw)
  To: Matthias Klose; +Cc: Nick Clifton, binutils

On Sun, Jan 30, 2022 at 02:32:11PM +0100, Matthias Klose wrote:
> On 1/29/22 06:29, Alan Modra wrote:
> > On Tue, Jan 25, 2022 at 03:37:08PM +0000, Nick Clifton via Binutils wrote:
> >>> ppc64el:
> >>> Running /<<PKGBUILDDIR>>/ld/testsuite/ld-bootstrap/bootstrap.exp ...
> >>> FAIL: bootstrap
> >>> FAIL: bootstrap with strip
> >>> FAIL: bootstrap with -Wl,--traditional-format
> >>> FAIL: bootstrap with -Wl,--no-keep-memory
> >>> FAIL: bootstrap with -Wl,--relax
> >>> FAIL: bootstrap with -Wl,--max-cache-size=-1
> >>
> >> I think that I will let Alan look into these...
> > 
> > I would if I could reproduce it.  My builds are OK.  Matthias,
> > ld/ld.log might give me a clue, if that is available somewhere.
> 
> Attached. This is triggered by configuring with --enable-pgo-build=lto.  The
> tests pass when binutils is configured without that option.

My --enable-pgo-build=lto was fine, but your compiler was different to
mine.  The log shows failures caused by gcc inform messages like:

../bfd/../../bfd/elfcode.h: In function 'bfd_elf64_swap_symbol_in':
../bfd/../../bfd/elfcode.h:189:16: note: the layout of aggregates containing vectors with 2-byte alignment has changed in GCC 5
  189 |   dst->st_info = H_GET_8 (abfd, src->st_info);

Don't ask me why you're getting that inform message.  There are no
vector fields let alone 2-byte aligned vector fields in either
elf_internal_sym or Elf64_External_Sym.

Anyway, dejagnu fails a test on any unexpected output that isn't
trimmed by prune_warnings.  So not actually a linker failure.

-- 
Alan Modra
Australia Development Lab, IBM

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

* Re: The 2.38 branch has been created.
  2022-01-22 12:58 The 2.38 branch has been created Nick Clifton
  2022-01-23 13:15 ` H.J. Lu
  2022-01-25 12:39 ` Matthias Klose
@ 2022-02-08  2:07 ` Palmer Dabbelt
  2022-02-08 15:43   ` Nick Clifton
  2022-02-09  9:21 ` Fangrui Song
       [not found] ` <MWHPR1201MB0110C2AE8A32FAF1A45EFEE4CB2E9@MWHPR1201MB0110.namprd12.prod.outlook.com>
  4 siblings, 1 reply; 19+ messages in thread
From: Palmer Dabbelt @ 2022-02-08  2:07 UTC (permalink / raw)
  To: binutils, Nick Clifton

On Sat, 22 Jan 2022 04:58:45 PST (-0800), binutils@sourceware.org wrote:
> Hi Everyone,
>
>   The 2.38 branch has now been created:
>
>      git clone git://sourceware.org/git/binutils-gdb.git -b binutils-2_38-branch
>
>   A snapshot of the sources is also available here:
>
>     https://sourceware.org/pub/binutils/snapshots/binutils-2.37.90.tar.xz
>
>   Please could all patches for the branch be run by me.
>   The rules for the branch are:
>
>     * No new features.
>     * Target specific bug fixes are OK.
>     * Generic bug fixes are OK if they are important and widely tested.
>     * Documentation updates/fixes are OK.
>     * Translation updates are OK.
>     * Fixes for testsuite failures are OK.
>
>   Ideally I would like to make the release happen in two weeks time,
>   i.e. Saturday 5th Feb 2022.  Which I hope will be enough time for
>   everyone to get their final fixes in.

Sorry for the extremely late notice, but we just found that we'd missed 
the fix for this version checking issue.  I've posted a patch, as Nelson 
pointed out in that thread 
<https://sourceware.org/pipermail/binutils/2022-February/119684.html> 
we're hoping it's not too late for 2.38 -- no big deal if it is, though.

Thanks!

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

* Re: The 2.38 branch has been created.
  2022-02-08  2:07 ` Palmer Dabbelt
@ 2022-02-08 15:43   ` Nick Clifton
  0 siblings, 0 replies; 19+ messages in thread
From: Nick Clifton @ 2022-02-08 15:43 UTC (permalink / raw)
  To: Palmer Dabbelt, binutils

Hi Palmer,

> Sorry for the extremely late notice, but we just found that we'd missed the fix for this version checking issue.  I've posted a patch, as Nelson pointed out in that thread 
> <https://sourceware.org/pipermail/binutils/2022-February/119684.html> we're hoping it's not too late for 2.38 -- no big deal if it is, though.

Nelson has already pinged me about this.  If you can get the patch in today
(Tue Feb 8) then it should be OK.  I hoping to make the release tomorrow...

Cheers
   Nick



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

* Re: The 2.38 branch has been created.
  2022-01-22 12:58 The 2.38 branch has been created Nick Clifton
                   ` (2 preceding siblings ...)
  2022-02-08  2:07 ` Palmer Dabbelt
@ 2022-02-09  9:21 ` Fangrui Song
       [not found] ` <MWHPR1201MB0110C2AE8A32FAF1A45EFEE4CB2E9@MWHPR1201MB0110.namprd12.prod.outlook.com>
  4 siblings, 0 replies; 19+ messages in thread
From: Fangrui Song @ 2022-02-09  9:21 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

On Sat, Jan 22, 2022 at 4:58 AM Nick Clifton via Binutils
<binutils@sourceware.org> wrote:
>
> Hi Everyone,
>
>   The 2.38 branch has now been created:
>
>      git clone git://sourceware.org/git/binutils-gdb.git -b binutils-2_38-branch
>
>   A snapshot of the sources is also available here:
>
>     https://sourceware.org/pub/binutils/snapshots/binutils-2.37.90.tar.xz
>
>   Please could all patches for the branch be run by me.
>   The rules for the branch are:
>
>     * No new features.
>     * Target specific bug fixes are OK.
>     * Generic bug fixes are OK if they are important and widely tested.
>     * Documentation updates/fixes are OK.
>     * Translation updates are OK.
>     * Fixes for testsuite failures are OK.
>
>   Ideally I would like to make the release happen in two weeks time,
>   i.e. Saturday 5th Feb 2022.  Which I hope will be enough time for
>   everyone to get their final fixes in.
>
> Cheers
>   Nick

Hi Nick, I'd hope that the 2.38 branch has a proper way specifying
output section type...
https://sourceware.org/pipermail/binutils/2022-February/119600.html
which may possibly be used by Fedora.

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

* Re: The 2.38 branch has been created.
       [not found] ` <MWHPR1201MB0110C2AE8A32FAF1A45EFEE4CB2E9@MWHPR1201MB0110.namprd12.prod.outlook.com>
@ 2022-02-09 15:50   ` Nick Clifton
  2022-02-10  4:53     ` Fangrui Song
  0 siblings, 1 reply; 19+ messages in thread
From: Nick Clifton @ 2022-02-09 15:50 UTC (permalink / raw)
  To: Fangrui Song; +Cc: binutils

Hi Fangrui,

> Hi Nick, I'd hope that the 2.38 branch has a proper way specifying
> output section type...
> https://sourceware.org/pipermail/binutils/2022-February/119600.html
> which may possibly be used by Fedora.

Sorry - that feature was too new to get into the 2.38 release.

But... Fedora rawhide binutils only uses the 2.38 release as a starting
point.  So it is entirely possible that output section type patch can
be added on.  Just ask the Fedora binutils maintainer.  Oh, wait, that
is me.  It would help me if you could file a Fedora bugzilla for adding
this feature as that way I can keep track of it.

Cheers
   Nick



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

* Re: The 2.38 branch has been created.
  2022-02-09 15:50   ` Nick Clifton
@ 2022-02-10  4:53     ` Fangrui Song
  0 siblings, 0 replies; 19+ messages in thread
From: Fangrui Song @ 2022-02-10  4:53 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

On 2022-02-09, Nick Clifton wrote:
>Hi Fangrui,
>
>>Hi Nick, I'd hope that the 2.38 branch has a proper way specifying
>>output section type...
>>https://sourceware.org/pipermail/binutils/2022-February/119600.html
>>which may possibly be used by Fedora.
>
>Sorry - that feature was too new to get into the 2.38 release.
>
>But... Fedora rawhide binutils only uses the 2.38 release as a starting
>point.  So it is entirely possible that output section type patch can
>be added on.  Just ask the Fedora binutils maintainer.  Oh, wait, that
>is me.  It would help me if you could file a Fedora bugzilla for adding
>this feature as that way I can keep track of it.
>
>Cheers
>  Nick
>

No worries! Thanks for the help on Fedora side. 
I have filed
https://bugzilla.redhat.com/show_bug.cgi?id=2052801
(Backport TYPE=SHT_NOTE patch to binutils and use it for the .note.package section).

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

end of thread, other threads:[~2022-02-10  4:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 12:58 The 2.38 branch has been created Nick Clifton
2022-01-23 13:15 ` H.J. Lu
2022-01-23 13:32   ` [PATCH] Regenerate configure files with autoconf 2.69 H.J. Lu
2022-01-24 14:59   ` The 2.38 branch has been created Nick Clifton
2022-01-25 12:39 ` Matthias Klose
2022-01-25 15:37   ` Nick Clifton
2022-01-29  5:29     ` Alan Modra
2022-01-30 13:32       ` Matthias Klose
2022-01-30 13:53         ` H.J. Lu
2022-01-30 13:58           ` Matthias Klose
2022-01-30 22:48         ` Alan Modra
2022-01-25 17:22   ` Szabolcs Nagy
2022-01-27 10:18     ` Szabolcs Nagy
2022-01-30 15:02   ` H.J. Lu
2022-02-08  2:07 ` Palmer Dabbelt
2022-02-08 15:43   ` Nick Clifton
2022-02-09  9:21 ` Fangrui Song
     [not found] ` <MWHPR1201MB0110C2AE8A32FAF1A45EFEE4CB2E9@MWHPR1201MB0110.namprd12.prod.outlook.com>
2022-02-09 15:50   ` Nick Clifton
2022-02-10  4:53     ` Fangrui Song

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