On Wed, Nov 4, 2020 at 8:50 AM Nathan Sidwell <nat...@acm.org> wrote:

> On 11/4/20 7:30 AM, Nathan Sidwell wrote:
>
> > rechecking the compile-farm page, I see gcc45 is a 686 machine, I'll try
> > that.
>
> yeah, that didn't work.  There's compilation errors in
> ../../../src/gcc/config/i386/x86-tune-costs.h about missing
> initializers.  and then ...
>
> In file included from
> /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:34:0,
>                   from
> /usr/lib/gcc/i586-linux-gnu/4.9/include/x86intrin.h:31,
>                   from
> /usr/include/i386-linux-gnu/c++/4.9/bits/opt_random.h:33,
>                   from /usr/include/c++/4.9/random:50,
>                   from /usr/include/c++/4.9/bits/stl_algo.h:66,
>                   from /usr/include/c++/4.9/algorithm:62,
>                   from ../../../src/gcc/cp/mapper-resolver.cc:26:
> ./mm_malloc.h:42:12: error: attempt to use poisoned "malloc"
>       return malloc (__size);
>              ^
> Makefile:1127: recipe for target 'cp/mapper-resolver.o' failed
>
> it's a little unfortunate we can't use the standard library :(  I'll see
> what I can do about avoiding algorithm.
>

We can; apparently the necessary incantation is to

#define INCLUDE_ALGORITHM

before

#include "system.h"

Jason

Reply via email to