From: Dave Platt <dplatt@radagast.org>
To: Jose Ng Lee <jng@psi.net.pa>
Cc: linux-hams@vger.kernel.org
Subject: Re: fbbsrc.704r5 compile error
Date: Thu, 17 Sep 2009 18:21:33 -0700 [thread overview]
Message-ID: <4AB2E09D.5060408@radagast.org> (raw)
In-Reply-To: <19EFA90488264123AF73C3EB1EA74B62@ngj>
> cc1: error: unrecognized command line option "-fstack-protector-all"
> Please, anyone can help me or what I have to change in the Makefile to
> make it compile OK.
I believe that this option is intended to enable an anti-exploit
"stack guard" feature, to detect deliberate stack-overrun data attacks
against a program which could be used to inject malicious code and take
over the functioning of the computer. Such stack-smashing attacks are
not uncommon on the Internet - they are or were a fairly common method of
breaking into network-connected PCs.
My guess is that your current Linux system is using a version of the
GNU C compiler which doesn't have this feature, or one in which the
feature name has been changed. It looks at first Google-glance as
if the stack protector feature is an extension to GCC, not a standard
part of it, and your Fedora Core 4 system apparently doesn't incorporate
this feature. The author/distributor of FBB apparently had it available
and chose to enable it.
The shortest remedy is probably to grep through the Makefile(s) for fbb
and find the options line which invokes this absent feature, and just
edit it out.
A better remedy would be to upgrade your compiler to one which does
have the stack-canary feature. If FBB's author/distributor was concerned
enough to enable it, it may indicate the possibility that FBB might have
some code constructs somewhere in it which are vulnerable to deliberate
buffer overruns, due to insufficient validation of incoming data.
next prev parent reply other threads:[~2009-09-18 1:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-18 0:00 fbbsrc.704r5 compile error Jose Ng Lee
2009-09-18 1:21 ` Dave Platt [this message]
2009-09-18 1:33 ` Ray Wells
2009-09-18 13:17 ` Bernard Pidoux F6BVP
[not found] ` <BC95AC1740034FE796CAA73C11319A31@HOLLYWOOD.HOLLYWOOD.COM>
2009-09-20 10:34 ` Bernard Pidoux F6BVP
2009-09-18 13:38 ` fbbsrc.704r4-5 stack smashing Bernard Pidoux F6BVP
2009-09-18 20:47 ` Ray Wells
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=4AB2E09D.5060408@radagast.org \
--to=dplatt@radagast.org \
--cc=jng@psi.net.pa \
--cc=linux-hams@vger.kernel.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