[Buildroot] [PATCH] package/libgeos: fix build failure due to Gcc Bug 68485

Giulio Benetti giulio.benetti at benettiengineering.com
Sun Feb 14 23:46:35 UTC 2021


Hi Thomas,

On 2/13/21 10:51 PM, Thomas Petazzoni wrote:
> Hello Giulio,
> 
> On Fri, 12 Feb 2021 23:42:38 +0100
> Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:
> 
>> Package libgeos manifests Microblaze Gcc Bug 68485 resulting in a build
>> failure due to an Internal Compiler Error.
>>
>> As done for other packages in Buildroot work around this Gcc Bug by
>> setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/0da/0daa6b259aea5381fad86d01e6dd026b1c8ad073/
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
>> ---
>>   package/libgeos/libgeos.mk | 8 ++++++++
>>   1 file changed, 8 insertions(+)
> 
> Applied to master, thanks. Could you check if this bug still exists
> with gcc 10.x, and if it does, ping on the gcc bug report ?

I've just tried to build with gcc 10.2 and unfortunately it still have 
that bug. So I've just pinged gcc bug report:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485#add_comment

Let's see what they answer.

Best regards
-- 
Giulio Benetti
Benetti Engineering sas


More information about the buildroot mailing list