From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 26 Feb 2020 22:15:43 +0100 Subject: [Buildroot] [PATCH 2/2] package/git: fix build failure due to gcc bug 93847 In-Reply-To: <20200220154004.126384-2-giulio.benetti@benettiengineering.com> References: <20200220154004.126384-1-giulio.benetti@benettiengineering.com> <20200220154004.126384-2-giulio.benetti@benettiengineering.com> Message-ID: <20200226221543.53804b74@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Thu, 20 Feb 2020 16:40:04 +0100 Giulio Benetti wrote: > The git package exhibits gcc bug 93847 when built for the Nios2 > architecture with optimization enabled, which causes a build failure. > > As done for other packages in Buildroot work around this gcc bug by > setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_93847=y. > > Fixes: > http://autobuild.buildroot.net/results/e22/e225e62ea2d48660df4110790664f0c3306c1ea9/ > > Signed-off-by: Giulio Benetti > --- > package/git/git.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com