All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhltc@us.ibm.com>
To: "lkml, " <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Subject: 2.6.14-rt13 / minimum gcc  version
Date: Tue, 22 Nov 2005 15:19:44 -0800	[thread overview]
Message-ID: <4383A790.1090208@us.ibm.com> (raw)

rt13 makes use of the gcc extension:
	int __builtin_types_compatible_p (type1, type2)
which from what I can tell was first introduced to gcc in version 3.1.1
	http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Other-Builtins.html

In any case, I am unable to compile rt13 with gcc-2.95.  I have tried various 
-std args as well, but the compiler dies on __builtin_types_compatible_p.

1) Is it acceptable to require >= gcc-3.1.1 to compile a Linux kernel?

2) Would a patch/work-around for gcc-2.95 compatibility be accepted if I provide 
one?  (assuming it is a sane implementation of course :-)

Thanks,


-- 
Darren Hart
IBM Linux Technology Center
Linux Kernel Team

             reply	other threads:[~2005-11-22 23:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22 23:19 Darren Hart [this message]
2005-11-23  8:32 ` 2.6.14-rt13 / minimum gcc version Ingo Molnar

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=4383A790.1090208@us.ibm.com \
    --to=dvhltc@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.