public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Ian Lance Taylor <iant@google.com>
Cc: Arthur Haas <ahaas@impactweather.com>,
	gcc@gcc.gnu.org, aoliva@redhat.com
Subject: Re: Bootstrap failures on solaris
Date: Tue, 09 Jun 2009 22:52:00 -0000	[thread overview]
Message-ID: <4348dea50906091551v461cd7e9x5cdacab7c4a61e23@mail.gmail.com> (raw)
In-Reply-To: <m31vptrtb5.fsf@google.com>

2009/6/9 Ian Lance Taylor:
>
> I believe that POSIX specifices that munmap takes a void * argument.  Is
> there some preprocessor define we can use to direct the Solaris header
> files to compile in POSIX mode?  If so, it should work to add it to
> CFLAGS (using +=) in TOPLEVEL/config/mh-solaris.

I tripped up on the same issue a while ago, this should work:

-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1

See http://www.kayari.org/doc/c++/suncc.html for other options.

Jonathan

  reply	other threads:[~2009-06-09 22:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 14:36 Art Haas
2009-06-09 15:33 ` Revital1 Eres
2009-06-09 15:45   ` Adam Nemet
2009-06-09 18:03     ` Arthur Haas
2009-06-09 21:28       ` Ian Lance Taylor
2009-06-09 22:52         ` Jonathan Wakely [this message]
2009-06-10  7:20       ` Alexandre Oliva
2009-06-09 15:41 ` Kaveh R. GHAZI

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=4348dea50906091551v461cd7e9x5cdacab7c4a61e23@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=ahaas@impactweather.com \
    --cc=aoliva@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.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).