Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Building binutils with gmake (was: Re: CVS commit: src)



Am 24.09.2025 um 14:49 schrieb Martin Husemann:
> On Wed, Sep 24, 2025 at 02:48:06PM +0700, Robert Elz wrote:
>>     Date:        Wed, 24 Sep 2025 04:43:02 +0000
>>     From:        "Roland Illig" <rillig%netbsd.org@localhost>
>>     Message-ID:  <20250924044302.0FC81FC2E%cvs.NetBSD.org@localhost>
>>
>>   | binutils: build using GNU make instead of BSD make
> 
> This broke all MIPS builds, please revert and discuss the issue
> you are trying to fix.

I reverted the change.

I had tested it on x86_64, and it worked well there.

The issue I was trying to fix is that upstream binutils requires GNU
make to build, and we have local patches to convert the GNU-style
makefiles to BSD-style makefiles. This deviates from what upstream
distributes and thus increases the risk that our local changes break
something. I don't have a specific "something" in mind, its just the
principle to have as few local patches as necessary.

Since both GNU make and BSD make are available in the tools build, I
didn't see a need to have 500 lines of patches just to use BSD make
instead of GNU make.

Roland



Home | Main Index | Thread Index | Old Index