On 12/5/23 13:45, Jakub Jelinek wrote:
On Tue, Dec 05, 2023 at 01:36:30PM -0800, Indu Bhagat wrote:
To resolve the issue of combined Binutils (2.41) + GCC (13) failing to
install (https://sourceware.org/bugzilla/show_bug.cgi?id=31108), we will
need some backports.  This specific issue is with using --enable-shared
in the combined tree build; it arises due to missing install-*
dependencies in the top-level makefiles.

I think it makes sense to bring both of the following two commits (from
the trunk) to the GCC13 branch:

        commit eff0e7a4ae31d1e4e64ae37bbc10d073d8579255
        Author: Indu Bhagat <indu.bha...@oracle.com>
        Date:   Wed Jan 18 23:17:49 2023 -0800
        toplevel: Makefile.def: add install-strip dependency on libsframe
        commit dab58c93634bef06fd289f49109b5c370cd5c380
        Author: Indu Bhagat <indu.bha...@oracle.com>
        Date:   Tue Nov 15 15:07:04 2022 -0800
        bfd: linker: merge .sframe sections

This patch set cherry-picks the above two commits to GCC13 branch.  The
patches apply cleanly with no conflicts.

Won't this break building gcc 13 with in-tree older binutils which don't have
libsframe at all?  I think binutils 2.39 and older don't have it.


I tested with binutils-2_39-branch and releases/gcc-13 as well (with --enable-shared --disable-bootstrap). It builds and installs fine.

Indu

Reply via email to