emacs-devel
[Top][All Lists]
Advanced

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

Re: Building master on Windows fails with undefined reference to `__buil


From: Paul Eggert
Subject: Re: Building master on Windows fails with undefined reference to `__builtin_assume_aligned'
Date: Sat, 25 Jun 2016 23:40:10 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 06/25/2016 10:17 AM, martin rudalics wrote:
../../src/lisp.h:878:3: warning: implicit declaration of function '__builtin_assume_aligned' [-Wimplicit-function-declaration]

What version of GCC are you using? What are the values of the C macros __GNUC__, __GNUC_MINOR__, and __GNUC_PATCHLEVEL__? Currently, src/conf_post.h has this:

# define __has_builtin___builtin_assume_aligned GNUC_PREREQ (4, 7, 0)

which means the code assumes that GCC 4.7.0 and later support __builtin_assume_aligned (I got this from the GCC NEWS files). Perhaps that "(4, 7, 0)" is too low and needs to be increased a bit?



reply via email to

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