public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jan Kundrát" <jkt@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PMS] Add RESTRICT="distcc" capability
Date: Sun, 02 Nov 2008 00:28:17 +0100	[thread overview]
Message-ID: <490CE611.2020900@gentoo.org> (raw)
In-Reply-To: <200811011547.09038.gengor@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Gordon Malm wrote:
> It looks to me like you've already made up your mind.  How is hardened doing 
> the entirely wrong thing?

 From the page [1] you mentioned:

"If so, that seems to me like an abuse of the -D option."

The abuse is in changing the compiler behavior based on -D options.

> What do you propose can be done to "fix" the 
> hardened compiler?

 From the same page:

"It would be better for you to remove the patch from gcc where it makes 
-D__KERNEL__ imply -nossp -nopie, and to instead patch the Linux kernel 
build system (Makefiles, etc.) so that it passes "-D__KERNEL__ -nossp 
-nopie" rather than "-D__KERNEL__"."

[1] http://code.google.com/p/distcc/issues/detail?id=25

Cheers,
-jkt

-- 
cd /local/pub && more beer > /dev/mouth


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  parent reply	other threads:[~2008-11-01 23:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-01 20:57 [gentoo-dev] [PMS] Add RESTRICT="distcc" capability Gordon Malm
2008-11-01 21:00 ` Ciaran McCreesh
2008-11-01 21:21   ` Gordon Malm
2008-11-01 21:28     ` Ciaran McCreesh
2008-11-01 21:58       ` Gordon Malm
2008-11-01 22:11         ` Ciaran McCreesh
2008-11-01 22:47           ` Gordon Malm
2008-11-01 22:57             ` Ciaran McCreesh
2008-11-01 23:28             ` Jan Kundrát [this message]
2008-11-02  1:29               ` Gordon Malm
2008-11-02  3:16                 ` Jorge Manuel B. S. Vicetto
2008-11-02 11:26                 ` Ciaran McCreesh
2008-11-02 19:11                   ` Gordon Malm
2008-11-02 19:28                     ` Ciaran McCreesh
2008-11-03  8:18                       ` [gentoo-dev] " Steve Long
2008-11-03 10:22                     ` [gentoo-dev] " Peter Volkov
2008-11-04  3:37                       ` Gordon Malm
2008-11-02  0:11 ` David Leverton

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=490CE611.2020900@gentoo.org \
    --to=jkt@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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