[[PATCH][GCC13] 0/2] Fix combined tree build of GCC 13 with Binutils 2.41

Indu Bhagat indu.bhagat@oracle.com
Tue Dec 5 23:39:50 GMT 2023


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.bhagat@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.bhagat@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



More information about the Gcc-patches mailing list