mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: jakub@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Linker error with latest tree on EM64T
Date: Thu, 13 Jul 2006 12:59:47 +0200	[thread overview]
Message-ID: <1152788387.3024.32.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <1152788160.4838.2.camel@localhost>

On Thu, 2006-07-13 at 12:56 +0200, Marcel Holtmann wrote:
> Hi,
> 
> when trying to build the latest tree on an EM64T Dual-Core, I am getting
> this error:
> 
>   LD      .tmp_vmlinux1
> init/built-in.o: In function `try_name':
> do_mounts.c:(.text+0x51d): undefined reference to `__stack_chk_fail'
> init/built-in.o: In function `name_to_dev_t':
> (.text+0x797): undefined reference to `__stack_chk_fail'
> init/built-in.o: In function `mount_block_root':
> (.init.text+0x823): undefined reference to `__stack_chk_fail'
> init/built-in.o: In function `md_run_setup':
> (.init.text+0x1131): undefined reference to `__stack_chk_fail'
> init/built-in.o: In function `do_header':
> initramfs.c:(.init.text+0x24a4): undefined reference to `__stack_chk_fail'
> arch/x86_64/kernel/built-in.o:(.text+0x2f52): more undefined references to `__st
> ack_chk_fail' follow
> make: *** [.tmp_vmlinux1] Error 1

you are using ubuntu which has a compiler that adds -fstack-protector
implicitly to the compiler options, yet you don't have a kernel that
provides this infrastructure ;)
(I have code for that but it's not merged yet, it's pending one gcc
patch to get merged upstream)
in the mean time.. I'm pretty sure Sam sent a patch to Linus that adds
-fno-stack-protector...


  reply	other threads:[~2006-07-13 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 10:56 Marcel Holtmann
2006-07-13 10:59 ` Arjan van de Ven [this message]
2006-07-13 11:58   ` Marcel Holtmann
2006-07-13 13:26     ` Sam Ravnborg
2006-07-13 13:30       ` Marcel Holtmann
2006-07-13 16:10         ` Sam Ravnborg
2006-07-13 16:17           ` Marcel Holtmann
2006-07-13 18:29             ` Sam Ravnborg

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=1152788387.3024.32.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=jakub@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /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®