public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16830] New: Including <sys/immu.h> with -mabi=n32 causes an error.
@ 2004-07-30 10:37 magnus dot bergman at observer dot net
  2004-07-30 13:23 ` [Bug target/16830] " bangerth at dealii dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: magnus dot bergman at observer dot net @ 2004-07-30 10:37 UTC (permalink / raw)
  To: gcc-bugs

When including <sys/immu.h> (which mozilla likes to do) the compilation halts
with the masseage: parse error before pte_t. <sys/immu.h> contains some very
low-level stuff which is ignored if the exact architecture is unknown (this is
what happens then using the native compiler). The problem is that gcc defines
"R4000" when using -mabi=n32 (not then using -mabi=32), which disables the
excusion of all the low-level stuff, but doesn't include all of it either.
The solution I can think of is either to NOT define "R4000" (which again is what
the native compiler does). Or to also define "IP20", "IP22", "IP28" or
"IPMHSIM", which would make <sys/immu.h> go through the compiler but I have no
idea if it's the correct thing to do.

-- 
           Summary: Including <sys/immu.h> with -mabi=n32 causes an error.
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: magnus dot bergman at observer dot net
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: mips-sgi-irix6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16830


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-06 22:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-30 10:37 [Bug c/16830] New: Including <sys/immu.h> with -mabi=n32 causes an error magnus dot bergman at observer dot net
2004-07-30 13:23 ` [Bug target/16830] " bangerth at dealii dot org
2004-07-30 15:39 ` pinskia at gcc dot gnu dot org
2004-10-26 18:52 ` rsandifo at gcc dot gnu dot org
2004-11-06 22:34 ` cvs-commit at gcc dot gnu dot org
2004-11-06 22:39 ` rsandifo at gcc dot gnu dot org

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).