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

On Thu, Jul 13, 2006 at 06:17:06PM +0200, Marcel Holtmann wrote:
> 
> see my previous email. This patch fixed it for me:
> 
> diff --git a/Makefile b/Makefile
> index 7c010f3..b4a2a80 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -308,7 +308,7 @@ LINUXINCLUDE    := -Iinclude \
>  CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)
>  
>  CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
> -                   -fno-strict-aliasing -fno-common
> +                   -fno-strict-aliasing -fno-common -fno-stack-protector
>  # Force gcc to behave correct even for buggy distributions
>  CFLAGS          += $(call cc-option, -fno-stack-protector-all \
>                                       -fno-stack-protector)
> 
> > Also could you try executing:
> > if gcc -fno-stack-protector-all -S -o /dev/null -xc /dev/null; then \
> >   echo "y"; else echo "n"; fi
> > And see if this gives a "y" or a "n".
> > Try with -fno-stack-protector-all and with -fno-stack-protector.
> 
> With -fno-stack-protector I get a "y" and with -fno-stack-protector-all
> I get an error:
> 
> cc1: error: unrecognized command line option "-fno-stack-protector-all"
OK. I changed it to apply only -fno-stack-protector (not the -all
version).

	Sam

      reply	other threads:[~2006-07-13 18:30 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
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 [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=20060713182947.GA32260@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=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®