[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building master on Windows fails with undefined reference to `__buil
Re: Building master on Windows fails with undefined reference to `__builtin_assume_aligned'
Sun, 26 Jun 2016 11:00:42 +0200
>> ../../src/lisp.h:878:3: warning: implicit declaration of function
> What version of GCC are you using?
gcc (GCC) 4.6.2
> What are the values of the C macros __GNUC__,
> and __GNUC_PATCHLEVEL__?
(as expected I believe).
> 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?
Something else must be at work here. Note that I do not get the errors
with CFLAGS='-O0 -g2 -gdwarf-2' (from my debug-build options).