public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@cygnus.com>
To: Alexandre Oliva <oliva@dcc.unicamp.br>
Cc: egcs@cygnus.com
Subject: Re: [patch] egcs-ss-1998-05-02 wouldn't build on mips-sgi-irix5.2
Date: Thu, 07 May 1998 21:59:00 -0000	[thread overview]
Message-ID: <199805080220.TAA17891@rtl.cygnus.com> (raw)
In-Reply-To: <oryawgm0sw.fsf@zecarneiro.lsd.dcc.unicamp.br>

I think the bug here is that the irix5 configurations have HAVE_INTTYPES_H
in xm_defines.  <inttypes.h> is not safe to use under Irix5.  If you bootstrap
using the SGI C compiler, you will get type redeclaration errors because
of conflicts between inttypes.h and sys/types.h.

Checking further, I see this is a bug introduced by Kenner's rewrite of the
mips configuration files.  xm-iris5.h originally had in it
	#undef HAVE_INTTYPES_H
Kenner then put this in xm_defines which is wrong, because that will define
it, not undefine it.  What we really need is a xm_undefines, or failing that,
some way to mark things in xm_defines which need to be undefined.  Or we
could just undo Kenner's change, and put the #undef back in xm-iris5.h.

As for the configure.in patch, 
	* configure.in (config.h): #define to `1' instead of nothing
it is harmless and may be otherwise beneficial, so we may as well accept it.

Jim

      reply	other threads:[~1998-05-07 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-06 23:49 Alexandre Oliva
1998-05-07 21:59 ` Jim Wilson [this message]

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=199805080220.TAA17891@rtl.cygnus.com \
    --to=wilson@cygnus.com \
    --cc=egcs@cygnus.com \
    --cc=oliva@dcc.unicamp.br \
    /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).