[PATCH 0/6] Refactor binutils configure usage

Vineet Gupta vineetg@rivosinc.com
Tue Dec 20 22:01:05 GMT 2022


Hi Adhemerval,

On 12/2/22 11:00, Adhemerval Zanella wrote:
> This patchset fixes a long standing issue where some configure checks
> are no done with the target binutils, remove some old definitions not
> required anymore, remove the AS usage (since it is not used directly),
> and allow all binutils tools to be overriden at configure time.
>
> It should restore the previous behavious while setting OUTPUT_FORMAT
> for multilib toolchains.  If the uses requires a different binutils
> tool as default, it can always override at configure time.

As of upstream today, cross builds are still broken for OUTPUT_FORMAT.

Thx,
-Vineet


>
> Adhemerval Zanella (6):
>    configure: Move locale tools early
>    configure: Remove check if as is GNU
>    configure: Remove check if ld is GNU
>    configure: Remove AS check
>    configure: Allow user override LD, AR, OBJCOPY, and GPROF
>    configure: Move nm, objdump, and readelf to LIBC_PROG_BINUTILS
>
>   aclocal.m4                                |   67 +-
>   configure                                 | 2441 +++++++++------------
>   configure.ac                              |  233 +-
>   scripts/build-many-glibcs.py              |    1 -
>   sysdeps/unix/sysv/linux/powerpc/configure |   28 +-
>   sysdeps/x86/configure                     |    4 +-
>   sysdeps/x86/configure.ac                  |    2 +-
>   7 files changed, 1200 insertions(+), 1576 deletions(-)
>



More information about the Libc-alpha mailing list