mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: "Simon König" <simjoko@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>,
	debiandev@gmail.com
Subject: Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
Date: Tue, 26 May 2009 18:59:01 +0200	[thread overview]
Message-ID: <4A1C1FD5.2010106@s5r6.in-berlin.de> (raw)
In-Reply-To: <gvf1ti$77e$1@ger.gmane.org>

Simon König wrote:
> On 05/25/09 18:56, debian developer wrote:
>> Hi all,
>> 
>> I am getting this error when trying to compile the latest rc:
>> 
>> /in/inndesk171/linux-2.6.28/arch/x86/Makefile:82: stack protector
>> enabled but no compiler support
> 
> Hello!
> 
> As the message states, your compiler does not support this kernel feature.
> You may want to disable CC_STACKPROTECTOR or use a gcc >= 4.2.

Isn't this only a notification (warning if you will), not an error?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/x86/Kconfig;h=a6efe0a2e9ae613a81bedec5e4772698d16541cc;hb=HEAD#l1410
"This feature requires gcc version 4.2 or above, or a distribution gcc
with the feature backported. Older versions are automatically detected
and for those versions, this configuration option is ignored. (and a
warning is printed during bootup)"

Actual error messages start at:

>>   CC      init/main.o
>> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h: In
>> function `start_kernel':
>> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
>> warning: asm operand 1 probably doesn't match constraints
[...]
>> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
>> error: impossible constraint in `asm'
[...]

Hard to tell from here where the cause is. Cc'd Jeremy as somebody who
knows paravirt.h.  Thread start:  http://lkml.org/lkml/2009/5/25/303
-- 
Stefan Richter
-=====-==--= -=-= ==-=-
http://arcgraph.de/sr/

  reply	other threads:[~2009-05-26 16:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 16:56 debian developer
2009-05-25 21:17 ` Simon König
2009-05-26 16:59   ` Stefan Richter [this message]
2009-05-25 21:45 ` GeunSik Lim
2009-05-26  5:56   ` debian developer
2009-05-26  7:26     ` GeunSik Lim
2009-05-26  7:41     ` Mikael Pettersson

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=4A1C1FD5.2010106@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=debiandev@gmail.com \
    --cc=jeremy.fitzhardinge@citrix.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simjoko@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

all inboxes | Powered by JetHome®