[Top][All Lists]

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

Re: [platform-testers] new snapshot available: grep-3.4-almost.19-ff30

From: Paul Eggert
Subject: Re: [platform-testers] new snapshot available: grep-3.4-almost.19-ff30
Date: Thu, 17 Sep 2020 12:22:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 9/17/20 8:30 AM, Nelson H. F. Beebe wrote:
On OpenMandriva Lx 4.1 (Mercury), with /usr/bin/cc == clang version 9.0.1,
I get

   CC       dfa.o
In file included from dfa.c:61:
./xalloc.h:94:7: error: use of unknown builtin '__builtin_mul_overflow_p' 
   if (xalloc_oversized (n, s))
./xalloc-oversized.h:46:4: note: expanded from macro 'xalloc_oversized'
    __builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1)
... long cascade of similar errors ...

Thanks for reporting that. I guess Clang 9.0.1 defines __GNUC__ to be >=7 even though it doesn't implement all GCC 7 features. I installed the attached patch into Gnulib to try to work around this glitch, and this patch should appear in Grep the next time it syncs with Gnulib. cc'ing to bug-gnulib.

Attachment: 0001-intprops-xalloc-avoid-__builtin_mul_overflow_p-with-.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]