public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Nathan Sidwell <nathan@acm.org>
Cc: Hans-Peter Nilsson <hp@bitrange.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>,
	Richard Biener <richard.guenther@gmail.com>
Subject: Re: [00/32] C++ 20 Modules
Date: Wed, 4 Nov 2020 09:15:41 -0500	[thread overview]
Message-ID: <CADzB+2=DhD=UOShmWQu3vPtj4qjRGjh=Gb6QGxBiMhp6oi-cFQ@mail.gmail.com> (raw)
In-Reply-To: <87c205ca-b66c-d5f2-b39f-6f9909499d2d@acm.org>

On Wed, Nov 4, 2020 at 8:50 AM Nathan Sidwell <nathan@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	other threads:[~2020-11-04 14:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 21:12 Nathan Sidwell
2020-11-04  3:14 ` Hans-Peter Nilsson
2020-11-04 12:30   ` Nathan Sidwell
2020-11-04 13:50     ` Nathan Sidwell
2020-11-04 14:15       ` Jason Merrill [this message]
2020-11-04 15:06         ` Nathan Sidwell
2020-11-04 19:24 ` [10/32] config Nathan Sidwell
2020-11-06 17:56   ` Jeff Law
2020-11-06 18:47     ` Nathan Sidwell
2020-11-05  7:08 ` [00/32] C++ 20 Modules Boris Kolpackov
2020-11-05 17:17   ` Nathan Sidwell
2020-11-06 14:26     ` Boris Kolpackov
2020-11-05 13:33 ` Richard Biener
2020-11-05 15:25   ` Nathan Sidwell
2020-11-05 18:45     ` Richard Biener
2020-11-05 14:30 ` David Malcolm
2020-11-13 21:55 ` Mike Stump
2020-11-16  8:50 ` Boris Kolpackov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADzB+2=DhD=UOShmWQu3vPtj4qjRGjh=Gb6QGxBiMhp6oi-cFQ@mail.gmail.com' \
    --to=jason@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hp@bitrange.com \
    --cc=nathan@acm.org \
    --cc=richard.guenther@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).