Hi Paul,

> Le 20 janv. 2021 à 21:14, Akim Demaille <akim.demai...@gmail.com> a écrit :
> 
> Hi Paul,
> 
>> Le 20 janv. 2021 à 02:50, Paul Eggert <egg...@cs.ucla.edu> a écrit :
>> 
>> On 1/19/21 10:22 AM, Akim Demaille wrote:
>> 
>>> Clang 3.3 and 3.4 cannot compile the new scratch-buffer module.  On Bison's 
>>> CI (Clang 3.4: https://api.travis-ci.org/v3/job/755133481/log.txt), there 
>>> is:
>>>> ...
>>>>  CC       lib/lib_libbison_a-canonicalize.o
>>>> In file included from ../lib/canonicalize.c:31:
>>>> In file included from ../lib/scratch_buffer.h:28:
>>>> ../lib/malloc/scratch_buffer.h:69:11: error: unknown type name 
>>>> 'max_align_t'
>> 
>> Evidently the stddef module is not arranging for the replacement stddef.h to 
>> define max_align_t properly. Could you investigate why that might be? What 
>> does lib/stddef.h look like? What is the output of 'clang -E 
>> lib/lib_libbison_a-canonicalize.c' (with the proper compile-time options)?
> 
> See below for the output:
> 
> - clang 3.4: https://api.travis-ci.org/v3/job/755390946/log.txt
> - clang 3.3: https://api.travis-ci.org/v3/job/755390947/log.txt
> 
> Look for "make spy" in there.
> 
> Both come from this job:
> 
> - https://travis-ci.org/github/akimd/bison/builds/755390943

The problem is solved, the latest builds succeed on these platforms
(https://travis-ci.org/github/akimd/bison/jobs/766644360 and
https://travis-ci.org/github/akimd/bison/jobs/766644361).

Cheers!

Reply via email to